b0o / surfingkeys-conf

🏄 A SurfingKeys config which adds 180+ key mappings & 50+ search engines
MIT License
395 stars 67 forks source link

[Bug] Broken with the latest version of SurfingKeys #88

Closed blacklight closed 2 weeks ago

blacklight commented 2 weeks ago

Details

In earlier versions no errors were shown in the console.

Now I get the following:

TypeError: r is undefined[api.js:3:34082](moz-extension://f8ff33d1-3b73-4d6c-bc62-dd1f6f23e9c3/api.js)

A look at the minified file seems to point to that r variable being undefined somewhere around the mapkey definition.

As a result, the features of the extensions are only half-loaded - for instance search engines are loaded, but custom mappings are not.

Note that:

I see that Surfingkeys has recently made sweeping changes to support both MV2/MV3 on Firefox - could this be due to a related breaking change?

blacklight commented 2 weeks ago

Thanks for the quick fix!