DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nobadbrowser

nobadbrowser Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes

plugin Displays a warning when the visitor uses a bad web browser.

Last updated on
2020-07-11
Provides
Action
Repository
Source

Similar to noiewarning

Tagged with !experimental, maintenance

Now updated to prerelease_03.

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, and it will eventually include some “Chrome reskins” like the newer versions of Opera Browser.

:!: As of this last update the plugin is in prerelease status and should not yet be considered for production use.

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Prerequisites: For the plugin to function correctly, your PHP installation requires browscap support. 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.

Usage

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).

Configuration and Settings

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 (by default Mozilla Firefox).

Bad Browsers

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.

Internet Explorer

Warned against for versions 10 and below.

Reasons include:

  • Low security and high exploitability (ActiveX, example) in general
  • Bad overall performance
  • Severe lack of standards compliance, for years breaking web sites and forcing providers and developers to use code specifically for this browser
  • Abuse of advantageous market position (back in its time)
  • Creator was involved in antitrust lawsuits (eg.: United States v. Microsoft Corp.
  • As of 2020 too old and superseded by Microsoft Edge

Google Chrome

Warned against for any and all versions.

Reasons include:

  • Heavy use of private or monopolistic web APIs to impose use of its parent company's own services (eg.: Google Docs)
  • Promotion and use of anti-consumer measures (eg.: DRM) as well as user tracking and profiling
  • Overall bad memory performance
  • Abuse of advantageous market position to benefit its parent company
  • Creator was involved in antitrust lawsuits, consumer privacy lawsuits

Opera Browser

Warned against for versions later than 12.

Reasons include:

  • Versions later than 12 (dropping the “Presto” engine) are simply a Google Chrome reskin, subjects to al the other issues of that particular browser
  • Owner involved in security breaches and scandals.

Discussion

plugin/nobadbrowser.txt · Last modified: 2020-07-27 16:35 by ryan-chappelle