replacement:
Code: Select all
window.addEventListener('contextmenu',function(ev){ev.stopPropagation();ev.stopImmediatePropagation();},true);
Code: Select all
@*
I thought WebExtensions were supposed to be more privileged than web content. And NoScript surrogates don't apply to privileged content.
So why would this surrogate even interfere with WebExtensions APIs?
Is there another way to write the surrogate that still works just as effectively but doesn't kill WebExtensions?
(Browser is Waterfox 56.2.2, NoScript version is 5.1.8.7rc3.)