Closed jeffbyrnes closed 1 month ago
i've had the same issue too!!! glad to see the code now cuz i wouldn't be able to figure that out lol
@EricE549X good to know it’s not just me!
TypeError: undefined is not an object (evaluating 'lo.userScripts')
This error is only a cosmetic issue and can't cause script injection errors. :-/ It will be fixed at the next version, though.
@derjanb ok, that’s good to know! Now to puzzle out why my scripts are only sometimes working…
Safari Version 17.6 (19618.3.11.11.5) TM 5.2.6199
My scripts do not load at all. Everything is dead in the water. TM says it ran my script, but the first thing I do is console.log and it is not hitting. I have two different scripts that just stopped working altogether.
Happy to provide any info needed.
@marcpage
1) Do you see errors at the console when opening the dev tools (cmd+option+c) 2) Are Tampermonkey's content scripts listed when this happens?
Also, please to to Safari "Settings" -> "Advanced" and enable "Show features for web developers". Then inspect Tampermonkey's background page. Do you see errors being logged at this console?
I'm having the same reliability issues with Safari. @derjanb , here are the logs I'm getting from background.html
@marcpage
- Do you see errors at the console when opening the dev tools (cmd+option+c)
- Are Tampermonkey's content scripts listed when this happens?
I had several errors, but none from my script or TamperMonkey (all from the site I am on or their ads networks).
I disabled TamperMonkey for a while and just reenabled it and now it is working again.
@mlb5000 Thanks a lot for the logs!
A new version 5.3.6210 was released to the App Store which should fix this issue. 😅
Tampermonkey, since the most recent update, v5.2.6199, has been exhibiting inconsistent behavior & often failing to load at all on a page. I’ve seen this behavior across multiple sites, and have even tried resetting TM to factory defaults, and even uninstalling & reinstalling it from the Mac App Store. No dice.
Here is the error it spits out to the console:
Specifications