r/GreaseMonkey • u/misteralexander • Feb 10 '22
TamperMonkey script does not run ...
My TamperMonkey script doesn't run ... but when you take the code and run it in the Chrome Dev Console -- it runs fine, and does exactly what I need ... any idea why it is not running in the browser plugin?
I made a StackOverFlow post with a lot more details, code views, and screenshots, but no responses :
https://stackoverflow.com/questions/70993495/tampermonkey-script
Maybe this community can help. Thanks!
1
u/King_Joker360 Nov 21 '22
Hi. My tampermonkey is saying no scrips is running, Please help me fix this.
1
u/misteralexander Nov 21 '22
For me, the issue ended up being the site whitelist that fixed it. Check that out.
1
2
u/toby-martin Oct 05 '23
In case this helps someone I stumbled across another reason scripts don't run - I accidentally deleted the (); that ends every Tampermonkey script in a random act of editing vandalism. There were no errors from Tampermonkey, nor from the site where the script was injected but nothing worked.
1
1
u/jcunews1 Feb 10 '22
What code?
Make sure the script's @match or @include metadata is properly set.
1
1
1
u/Smorfty Jun 20 '24
On my match I had written "https://example.com/*" but the sites actual adress was "https://www.example.com/".
Chrome had hidden the "www." part in the address bar.
1
u/893hf89ehf Aug 09 '24
in opera i have to always go to "manage extension" and turn off "Allow access to search page results" and turn it on again. then it works for current open window. if i close opera and reopen it, i have to repeat the turn off and turn on step again. any idea why? in chrome it works fine. just in opera. thanks
1
u/Fabulous-Spread3511 Dec 17 '24
Script isnt working in the site where it is supposed to
1
u/Fabulous-Spread3511 Dec 17 '24
Dk whats wrong, anybody help?
1
u/Ok-Tea-2218 Oct 20 '25
click gauche sur l'extension tampermonkey clic gauche et active: Autoriser les scripts utilisateur
L'extension pourra exécuter du code qui n'a pas été examiné par Google. Cette option pouvant être dangereuse, ne l'activez que si vous êtes sûr de vous.
1
u/Ok-Tea-2218 Oct 20 '25
click gauche sur l'extension tampermonkey clic gauche et active: Autoriser les scripts utilisateur
L'extension pourra exécuter du code qui n'a pas été examiné par Google. Cette option pouvant être dangereuse, ne l'activez que si vous êtes sûr de vous.
1
u/Black_boy_Ants Apr 01 '25
check if developer mode is enabled
1
u/Ok-Tea-2218 Oct 20 '25
g trouvé c du a un controle de securité opera non present chez chrome ou autres
1
u/Ok-Tea-2218 Oct 20 '25
click gauche sur l'extension tampermonkey clic gauche et active: Autoriser les scripts utilisateur
L'extension pourra exécuter du code qui n'a pas été examiné par Google. Cette option pouvant être dangereuse, ne l'activez que si vous êtes sûr de vous.
voilà
1
u/KULKING Nov 26 '25
If someone faces this issue in the future, this is what fixed it for me in Chromium based browsers.
Go to manage extensions -> tampermonkey -> Enable Allow user scripts
1
1
1
1
1
2
u/AyrA_ch Feb 10 '22
Visit the page where the script is supposed to run, then click on the tampermonkey icon next to the address bar. Is the script listed in the drop down and marked as enabled?