Re: Retrieving a webpages shows a blank screen when a 4xx HTTP status is returned. Not helpfull.
Dave Royal<[email protected]> Sat, 23 Jan 2021 14:08:56 -0600
| Newsgroups | gmane.comp.mozilla.general |
|---|---|
| Message-ID | <[email protected]> |
On 23 Jan 2021 19:46:02 +0100 R.Wieser wrote: >Dave, > >> Greasemonkey has background scripts. Does it work in 52? > >I'm not at all sure what you mean there. It does allow me to set certain >event listners, but those get set in GMs equivalent to "content_scripts". >I've not seen anything mentioned about scripts that run at add-on start. > A GM userscript is exactly the same as an addon content script. It runs in a webpage, as if it were included with a <script> tag. (Except, it seems, it will run even with js tuned off, according to that bug, which I think is odd.) But Greasemonkey itself, the addon, has background scripts. These allow it to insert the userscripts into matching pages. But if background scripts don't work with js turned off (which is that bug, and is why the http respinse addon fails) then GM ought to fail too. You said you have GM. Does it work it v52? (In fact, does any WX addon work in v52?). -- (Remove numerics from email address)