Skip to content

Fix windows navigator

Florian Müllner requested to merge wip/fmuellner/fix-windows-navigator into master

The extension is currently implemented by injecting code into various methods of various classes, including _init().

After porting to ES6, those classes:

  • no longer have an _init() method, but a standard JS constructor
  • constructors aren't regular methods and cannot be easily swapped out (at all?)

Solve this by rather than injecting into the existing classes, subclass them and replace the original ones with the subclasses.

Fixes #143 (closed)

Merge request reports