{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigktyk46ulvwxdaktmni2g6oemr652dgrdapge4gokse2s5nl7lvm",
"uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mpmytfp7eas2"
},
"path": "/viewtopic.php?t=33298&p=276170#p276170",
"publishedAt": "2026-07-02T02:34:09.000Z",
"site": "http://forum.palemoon.org",
"tags": [
"old.reddit.com login form redirection fix",
"it's an intended feature on his extension"
],
"textContent": "> I think I found a bug (or is it a feature?). Say I have a user script that executes for a particular URL, then I navigate to another page and then right back with the back button so that the browser loads old page from the cache. In this case, the script is executed again.\n>\n> In case of old.reddit.com login form redirection fix, this results in another login form being added on the page you're returning to.\n>\n> Also works with simple script that just calls alert(), alert is then shown again when navigating back.\n>\n> If I'm not mistaken, back-forward cache is meant to restore JavaScript state as well, so such script should be considered already executed and not run again.\n\nThat's a feature, not a bug. It was also added in Violentmonkey version 2.12.8 and in Tampermonkey, albeit I don't exactly know the version that it was added in Tampermonkey, but he commented that it's an intended feature on his extension.\n\nWouldn't it make more sense for a userscript to still work, when you navigate to a website that a particular userscript should work in it, even when it's navigated through the browser cache?!\n\n* * *",
"title": "Add-ons • Re: Working on a Greasemonkey fork for Pale Moon",
"updatedAt": "2026-07-02T02:34:09.000Z"
}