gitbook-plugin-browser-check-fox
v0.0.7
Published
GitBook plugin to alert message when not using specified version of Chrome to view GitBook pages
Readme
gitbook-plugin-browser-check-fox
Check if the current browser is Chrome and if it version meets demand, so that some features of GitBook can working fine(such as menu tree on the left)
This plugin is enabled by default,but we can add custom control to it via configuration below:
pluginsConfig: {
'browser-check-fox': {
'enabled': true,
'chrome-required-version': 126,
'chrome-required-message': 'Only Chrome is supported to access this website',
'chrome-required-version-message': 'The version of your chrome brower is ${currentVersion},upgrade to ${requiredVersion},please'
}
}| properties | |
| --------------------------------- | ------------------------------------------------------------ |
| enabled | enable or disable browser check function |
| chrome-required-message | When current browser is not Chrome,render this message |
| chrome-required-version | Required Chrome version |
| chrome-required-version-message | If Chromeversion is lower then chrome-required-version,render this message |
