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

Select link script don't work correctly #232

Closed
birykvlad opened this issue Oct 5, 2017 · 3 comments
Closed

Select link script don't work correctly #232

birykvlad opened this issue Oct 5, 2017 · 3 comments

Comments

@birykvlad
Copy link

I am use this script for select link (from any place). In Greasemonkey his work fine. But in Violentmonkey script don't work. Example: https://news.yandex.ru .

vm.zip

  • Browser: Mozilla Firefox
  • Browser version: 56.0
  • Violentmonkey version: 2.8.10f
  • OS: Windows 10 x64
@gera2ld
Copy link
Member

gera2ld commented Oct 6, 2017

What does this script do? Please fill the issue template.

I guess this issue might be related to CSP, maybe duplicate of #173 .

@birykvlad
Copy link
Author

This script selects links as plain text from anywhere, for example, from the middle of a word.

@gera2ld
Copy link
Member

gera2ld commented Oct 6, 2017

For me it works on Firefox and sites without CSP limitations. And it won't work on Chrome.
In your case it is because https://news.yandex.ru has a strict CSP header, which is a known issue. Closing this on duplicate of #173 .

PS: Please provide a minimal reproduction as described in the issue template. I don't want to take time to find out what a script does every time.

@gera2ld gera2ld closed this as completed Oct 6, 2017
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