-
Notifications
You must be signed in to change notification settings - Fork 435
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
[Firefox] Scripts randomly stop working #477
Comments
I can not reproduce this issue. For me scripts are working fine after Tampermonkey is enabled again. |
Yes. of course. So: I tried the following test with a fresh FF 57.0.2 x64 profile profile
Now, I tried exporting (ZIP) my scripts and importing them to the fresh profile:
But, I tried opening another URL (I'd prefer to send this to you privately) in that fresh profile, |
Sure. You can also send an email to support<ät>tampermonkey.net (since I'm the only one behind TM it will reach only me :) |
I just sent you an email. Thank you. |
|
Unfortunately, I spoke too soon: The above happens to me in my everyday profile - I couldn't recreate it in the fresh profile with only TM and my ZIP, like in the issue I described here. This might be because, with the new version, the scripts stop working, not in a consistent, reproducible manner, but it seems to happen randomly. For reference, with the new version, I noticed that the scripts stopped working in the URL I sent you, as well as :
|
I have a similar issue, I have tested both the latest TM and beta in Firefox and a clean profile. If I add 3 scripts for IMDB, they work when I install TM. When I close FF and then restart and go back to IMDB, TM says 3 scripts running, but no changes are injected into IMDB web page. I am trying to look at debugging and will attach when I find anything. Update: Tested on Version 63.0.3239.108 (Official Build) (64-bit) and Tampermonkey BETA 4.5.5663. I had no issues. Exported to Google Drive and tried on a new ff 57.0.2 profile with Tampermonkey BETA 4.5.5663, the scripts run fine, if I then close FF and then restart the scripts no longer work, even though the badge says they are running. Update 2 (20171228): I'll try debugging next. |
Hmm, this sounds like it could be related to #485 I have problems to reporduce this problem. Are the scripts working again after a refresh? |
No, reloading the page (F5) doesn't help - restarting Firefox helped, though. Using FF 58 and latest TM beta 4.6.5694) with my everyday FF profile. What has happened three times so far since yesterday is that the scripts may be working in a tab in a normal window (even after a reload/F5 on the page) Also at the same time, no script would run in the tabs with these URLs Restarting Firefox fixed the issue. Unfortunately there is no relevant entry in the Browser Console when this happens. |
(Using FF 58 and latest TM beta 4.6.5694) I'd like to add that restarting Firefox fixes the problem indeed, but not necessarily on the first restart: |
The issue still occurs (scripts randomly stop working) in latest TM beta 4.6.5703 (using FF58), |
Also, a thing I notice very frequently: |
I get the following same error in Firefox Browser Console whenever scripts stop working in a tab -although scripts might still work in the other tabs- :
Using TM 4.6.5709 in FF 59. |
In order to rule out the possibility that the cause the issue was caused because the TM userscript database in Firefox had might become corrupted for some reason, I still get the same error in Browser Console when this happens:
Using TM 4.6 in FF 60. |
I can confirm this happens on Chrome as well- been having this issue for months (but not for the maybe two years prior to then, with the same scripts). My assumption is that at some point an update to TamperMonkey introduced an element that, under certain conditions, causes the program to improperly configure or process. |
TL;DR Details: From the ZIP I've sent you, @derjanb, here are the active scripts for the above URL: When all scripts would randomly stop working for the above tab/URL , no matter how many times I would reload the page, the problem wouldn't get fixed. Of all the 14 scripts (in the screenshot) running, only 1 was running at I found that if I disabled it, then when I reloaded the page, all scripts would work ok, again. I tried it multiple times (in other URLs too, where Greasebox was the only I'm positive that this issue is a duplicate of #211. FWIW I was getting these two errors in Firefox's Browser Console,
|
In addition to the above post, I've noticed that, even with GreaseBox is disabled, In other words, I believe that the issue is additionally related to #485, as you have already suggested. |
Found another issue, on restart in FF 64/beta/nightly Tampermonkey BETA or normal does not always start on browser startup. I eventually narrowed it down to this script Turn the script off and Tampemonkey starts every time. On chrome with the same scripts and settings this does not cause an issue. How can I help debug the startup issue? |
It's quite unfortunate that this 4-year-old bug is still not yet solved. But looks like it only appears on Windows. I've never seen the same issue in Firefox for mac |
I experience it on linux. |
Closing in favor of #1016 |
Tried TM 4.5.5633 stable and 4.5.5648beta in FF 57.0.1 x64 in win10.
The issue I have is this:
I either disable+re-enable TM the toolbar button,
or I disable+re-enable TM via about:addons,
they don't run in the page anymore.
to close+re-open FF (at that time, the scripts will still not be working), and disable+re-enable TM via the toolbar button. <-- but even this, it doesn't fix the problem every time, I may have to disable+re-enable TM multiple times and/or restart FF in order to fix this .
And, If I try to disable it then, the issue re-occurs (almost) every single time.
I haven't managed to recreate this with a fresh FF profile.
Here is a log from Browser Console (TM 4.5.5633 stable)
as I disable TM via the toolbar button (having only TM enabled):
and, as I re-enable TM via the toolbar button:
I don't have any special TM settings enabled
(especially, in Settings | General, the "Auto reload pages" setting remains disabled, as by default)
If there's anything more I can provide to help, please ask.
I have ~200 userscripts installed.
For reference, with the same number of scripts in Greasemonkey 4.0 or 4.1beta6
I didn't have such an issue.
My other addons are uBlock Origin 1.14.20, Reddit Enhancement Suite 5.9.3beta and Stylus, but even if I disable them, the issue still occurs.
The text was updated successfully, but these errors were encountered: