External Publication
Visit Post

Add-ons • Re: Working on a Greasemonkey fork for Pale Moon

Pale Moon forum - Forum index [Unofficial] July 2, 2026
Source

Put:

CODE:

alert('Hello');

BEFORE:

CODE:

(function() { //...

in your script, then you'll see the the issue.

But even without that, the script logs "[BFCache Test] Script injected. Waiting for pageshow event..." every time on GreaseMonkey for UXP while on Tampermoney and Violentmonkey, it's only logged on fresh load.

By your extension's logic, browser should run all JavaScript files and inline scripts included on the page again from the beginning, line by line. But that's not how it works when restoring cached state, think of it like restoring virtual machine state from the snapshot taken earlier.


Discussion in the ATmosphere

Loading comments...