userChrome.js icon indicating copy to clipboard operation
userChrome.js copied to clipboard

Replace "eval" method

Open Speravir opened this issue 6 years ago • 2 comments

Starting with Firefox 70 every script with "eval" will by default cause Firefox do not work at all (there is a config setting for developers, but this really should be used only when testing). Some of your scripts do use this.

A tip in a forum was to insert the eval code part into the browser console and copying the output (with some cleanup). Using this approach I was successful with some other scripts, but not with your scripts, especially in UndoListInTabmenuToo.uc.js where eval is caling a variable inside this variable.

Speravir avatar Oct 15 '19 19:10 Speravir

UndoListInTabmenuToo.uc.js case, use JSON.parse

alice0775 avatar Nov 13 '19 18:11 alice0775

Thanks for your updates I noted only now. I do not close this issue because I do not know whether you fixed all scripts. As the repo owner feel free do close it yourself.

Speravir avatar Jan 12 '20 20:01 Speravir