uBlock icon indicating copy to clipboard operation
uBlock copied to clipboard

unresponsive script loop gmail freezing firefox

Open DiabSoule opened this issue 11 years ago • 6 comments

Having trouble adding screenshot to this message for some reason. Gmail has become impossible to check with message unresponsive script:

Script: chrome://ublock0/content/js/contentscript-end.js:835

I looked but didn't see anything else relating to this issue.

Thanks

DiabSoule avatar Nov 06 '15 20:11 DiabSoule

Browser/version/custom filters/filter lists/etc. (CONTRIBUTING)

gorhill avatar Nov 06 '15 20:11 gorhill

chrome://ublock0/content/js/contentscript-end.js:835

This is the mutation handler, i.e. it's not uBO being in a loop[1], it's uBO being told the DOM changed. What other extensions do you have installed?

[1] actually it depends of uBO's version (info not provided).

gorhill avatar Nov 06 '15 20:11 gorhill

i have several extensions. What particular nature of the extension would be most helpful? I don't always have everything enabled. Just listing them. Ghostery No Script Pure URL Click and Clean Https Everywhere Clean Links Redirect Cleaner Sea onkies ....oops GREASEmonkey (joke from yesteryear) SSleuth Google Privacy World IP uBlock Origin version 1.3.4 uMatrix-----stays disabled most of the time Zenmate

Sorry about that I didn't know what to call it but a loop. If more nfo needed lemme know.

DiabSoule avatar Nov 07 '15 16:11 DiabSoule

Disable all extensions except uBlock Origin, restart browser. See if problem persist. If not re-enable the other extensions one at a time.

Most likely another extension is causing DOM changes at a breakneck pace for whatever reasons (including bugs), and this is what is causing the freeze.

uBO listens to DOM changes, so this may affect it indirectly, but the code listening to those changes is very polite, i.e. it does so asynchronously.

In the reported line above, uBO does almost nothing except to store the mutated nodes for later examination (hence asynchronous), so that it was reported leads me to believe there is something else in there causing massive number DOM mutation changes -- you have to find out the culprit.

If you find Greasemonkey is the culpri, your next step will be to find which user script is the culprit. Code quality varies widely with user scripts.

gorhill avatar Nov 07 '15 16:11 gorhill

Still unable to pin it down. When enabling/disabling it will pick a different extension.

Examples: Script: chrome://gprivacy/content/gprivacy.js:271 Script: resource://gre/modules/commonj…etpack/pure-url/data/inject.js:161

If uBlock is enabled it will always be the one named over anything else. If uBlock is disabled then it starts to become more random.

DiabSoule avatar Nov 11 '15 01:11 DiabSoule

When enabling/disabling it will pick a different extension

It's why I suggest you disable all extensions and see if the problem occurs. If not, enable extensions one at a time until you find the one causing the issue.

gorhill avatar Nov 11 '15 04:11 gorhill