Open theesfeld opened 8 months ago
Not surprising this happens in Safari...(Too many peculiar "idiosyncrasies"
I'm sorry, but I really don't know what's going on, so I can't help.
The one suggestion would be to refer to #409 see if there are any logs when the problem occurs, even if it's not an error message.
If you are unable to add more valid information, we will close the issue in a few days as it cannot be reproduced and investigated.
I am running into the exact same issue; disabling and re-enabling the extension seems to fix it.
One potential clue I noticed is that, when this is happening, the toolbar count and the extension popover will disagree. So for example, clicking the toolbar icon will show that a script has matched:
but the toolbar icon itself will not show any matches:
Adding alerts
to my Userscripts confirms that they're just not getting run at all even though the extension seems to know there is a match. Upon toggling the extension on and off, the toolbar icon again shows the match count:
And the script runs as normal.
Will try to see if there's anything interesting in the logs next time it happens.
Could you describe which extension and Safari versions you use?
When the issue occurs, try checking the background page
in "Develop" menu.
Does it have an unload
flag? Just like background page (unloaded)
.
Try installing the latest beta version to see if you can reproduce the same issue.
Safari Version 17.3 (19617.2.4.11.8) Userscripts Version 4.4.5 from the App Store.
I haven't figured out a deterministic way to make the issue occur but next time it does I'll make sure to take a look at the background page and see.
I'll go ahead and try out the beta version as well, thanks!
almost every time I load safari, my scripts don't run. I have to go to settings - extensions - and uncheck and recheck the user scripts extension, then reload the page and everything works.