Skip to content
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

Smoothly works on Chrome, but not works on Safari #1

Closed
CalvertDXie opened this issue Mar 25, 2020 · 6 comments
Closed

Smoothly works on Chrome, but not works on Safari #1

CalvertDXie opened this issue Mar 25, 2020 · 6 comments

Comments

@CalvertDXie
Copy link

The Tampermonkey displays the script is enabled and working on, but there's no button on the likers' page.
Mac OS version: 10.15.4
Tampermonkey version: 4.10.6108 (from Mac App Store)

@CalvertDXie
Copy link
Author

CalvertDXie commented Mar 25, 2020

It also not works on Firefox with same situation.
Firefox version: 74.0

@E011011101001
Copy link
Owner

It works with Greasemonkey on Firefox 74.0, macOS Catalina 10.15.3.
However, using the same browser and OS with Tampermonkey, I could not even alert or log anything on the console. I'm trying to figure out what the problem is.

For now, you can just use Chrome or use Greasemonkey with Firefox on macOS.

@CalvertDXie
Copy link
Author

Yes, that's a weird issue, and I just confirmed it's worked with Greasemonkey. Anyway, thank you for your time and your life-saving script.

@E011011101001
Copy link
Owner

Thanks XD

@E011011101001
Copy link
Owner

It turns out that this problem is caused by some CSP policies on Twitter. Tampermonkey just does not work on Twitter with Firefox.
So in all, if you want to use this userscript on Firefox, you'd better choose Greasemonkey instead of Tampermonkey. But if you do insist on Tampermonkey with Firefox, you have to turn security.csp.enalbe to false to make it work on Twitter.
You can refer to this comment for details.

@E011011101001
Copy link
Owner

Finally! Tampermonkey's update v4.11.6114 fixed this problem!
Now you can keep csp true by default and use Tampermonkey at twitter.com~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants