Details
-
Bug
-
Resolution: Fixed
-
Critical
-
10.2
-
None
-
Firefox 59.0.2 (64-bit)
uBlock Origin 1.15.24
XWiki 10.3-SNAPSHOT (xwiki-platform-distribution-flavor-jetty-hsqldb-10.3-20180416.124646-31.zip)
-
Unknown
-
N/A
-
N/A
-
Description
Using the uBlock Origin Firefox adblocker addon, keyboard shortcuts do not work and you get the following in the JS console:
Loading failed for the <script> with source "http://localhost:9090/xwiki/webjars/wiki%3Axwiki/Keypress/2.1.5/keypress.js?r=1". Sandbox:1 Error: Script error for "/xwiki/webjars/wiki%3Axwiki/Keypress/2.1.5/keypress.js?r=1" http://requirejs.org/docs/errors.html#scripterror require.min.js:7:290
Checking the adblocker's blocking log, I get:
17:14:41 /keypress.js$script -- script http://localhost:9090/xwiki/webjars/wiki%3Axwiki/Keypress/2.1.5/keypress.js?r=1
Getting more details, I get:
Static filter /keypress.js$script found in: EasyPrivacy
So the official EasyPrivacy (an optional list, part of the most popular adblocking rules, EasyList) blocks keypress.js.
This means that it's not necessarily only about Firefox or about a particular adblocker (replicated on Chrome with AdBlock, once I enabled the EasyPrivacy list).