Page MenuHomePhabricator

JavaScript sometimes fails to load completely in Firefox (due to Ublock Origin)
Closed, InvalidPublic

Description

Sometimes at least in the span of latest 3 weeks JavaScript fails to load entirely for me in Russian Wikipedia (maybe the error persists in other projects, I can’t say) using latest Firefox, with only this in console log:

Loading failed for the <script> with source “https://ru.wikipedia.org/w/load.php?debug=false&lang=ru&modules=startup&only=scripts&skin=vector”.

I can reproduce this (right now) even with safemode=1. There’s nothing in network tab of DevTools that could indicate why this happens, and disabling or clearing the cache also doesn’t help. The problem concerns all JavaScript and not just sitewide scripts.

Event Timeline

Please provide a URL to reproduce and browser information.

stjn closed this task as Invalid.EditedSep 11 2018, 10:27 PM

Sorry for bothering, I’ve rooted out the source of the problem: I use Ublock Origin and one of the lists contains a line ||wikipedia.org/w/load.php?*startup$script blocking all of the scripts from Wikipedias (Fanboy’s Annoyance List, probably due to that fullscreen banner about EU copyright law). No engineering effort is needed.

Aklapper renamed this task from JavaScript sometimes fails to load completely in Firefox to JavaScript sometimes fails to load completely in Firefox (due to Ublock Origin).Sep 11 2018, 10:28 PM

Issue on Github about EU copyright law banner causing this problem, for future reference:
https://github.com/ryanbr/fanboy-adblock/issues/551