Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
Similar to noiewarning
The nobadbrowser is the spiritual successor to plugin:noiewarning. It shows a special warning when the visitor is using a bad web browser, but this warning is not only limited to Internet Explorer - now it also includes Google Chrome, Chrome expies or “reskins” like the post-Presto Opera Browser, Microsoft Edge and Safari.
Prerequisites: Pre-release versions required browscap support in PHP. If you are unsure if your current PHP installation supports browscap, you can check the output of
phpinfo(). Enabling browscap support in VPS providers that don't have it is outside the scope of this document. It is recommended you upgrade the plugin.
You don't need to do anything else after installing the plugin.
In order to check that it works, you need to visit your dokuwiki installation using a browser recognized as a “bad browser”, or fake one via a mechanism such as an user agent switcher extension.
Public Demo: See the plugin in action at my DokuWiki demos (of course, visit with a bad browser or fake one).
As of present, no configuration options are available.
For final release it is intended to reuse the config options already available in plugin:noiewarning, meaning it will be possible for the wiki administrator to recommend a good web browser (which by default will be Mozilla Firefox).
The plugin will warn about usage of the following browsers, and offer a redirect to this page where it is explained why these browsers are bad.
Other browsers might be added to the warning list in the future.
At present the plugin does not show information about why a browser is dangerous, instead only directing to this page. This may change in the future if it can be done in a non-invasive way.
The plugin warns against Internet Explorer for versions
10 and below.
The plugin warns against usage of Google Chrome any and all versions.
The plugin also warns in case the browser is detected to be a “Chrome expy” or “Chrome reskin” - that is, Google Chrome but with some cosmetic touches for branding. Because these touches are limited merely to branding, in as much as the plugin can detect, these browsers are still Google on the inside and thus considered bad or dangerous for the same reasons.
These reskins include browsers such as Opera (see below), Microsoft Edge, Avast Secure Browser, Android WebView, Brave Browser, etc.
The plugin warns against usage of the Opera browser for versions later than (not lower than)
Starting Nov 2020, the plugin warns against usage of the Safari web browser, and in general against any browser that identifies itself as having been built for Apple Inc.