New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should scripts be re-running when going backwards and forwards though history? #2705
Comments
Not able to reproduce with FF 59.0a1 + Latest master. |
Man I should really test things out before I write bug reports. I found the bug on another site and tried to write simple case for google.com but checking that out now it doesn't appear to work there. I have updated the steps to reproduce it. |
Cool. Was able to reproduce. I believe I know a fix. Will submit shortly. |
This is probably complicated by fastback, which if it applies then the answer is no, but if it does not then the answer is yes. |
In response to the comment on the pull (I think it's better to respond here then a commit comment). With the change performing a back / forward on google does not see the script executed. No |
I had a thought and just tested with #2635 and it looks like that also solves the forward/backward button issue. |
At the moment with Firefox 87 the behaviour is like this:
|
I don't know if this is a greasemonkey or firefox bug but after the new updates I noticed some unusual behavior from my scripts.
Scripts are running again on pages where they already ran when using the back and forward arrows. I checked with the old versions of gm and firefox and that's not how they used to work. In the old version of firefox I guess pages would completely rerender and therefore when scripts reran they would run on unmodified pages.
In gm 3.17 this script would never print
Previous test div detected
but in gm 4.0 going forwards and back multiple times just keeps adding more and more divs.Is this an intended change?
The text was updated successfully, but these errors were encountered: