Greasy Fork is available in English.

Selection and Copying Restorer (Universal)

Deblocați clic dreapta, eliminați restricțiile de copiere, tăiere, selectare text, meniu clic dreapta, copiere text, selectare text, clic dreapta pe imagine, etc. Îmbunătățirea funcționalității: Selectați textul unui hyperlink cu tasta Alt.

< Părere la script-ul Selection and Copying Restorer (Universal)

Întrebare/comentariu

§
Postat în: 10-05-2023

I testing your script...

1 - On your example [Unselectable text using css and js hack]:
https://jsfiddle.net/dgj5es6m/

How to copy the text/link ?

2 - Your example (Copy give "good bye":
https://jsfiddle.net/7agxytLp/
Is terrific :-)
and your script work well

3 - for example [This section can be selected or copied...Apple2] :
https://jsfiddle.net/xLcv3o9z/1/
I don't see any difference with/without your script
I can always select/copy text.

4 - for example [Unselectable text]:
https://jsfiddle.net/dgj5es6m/
It's really unselectable.
And i don't see, with your script, how to do...
:-)

5 - for this site CSS Formatter:
Work well !
But i don't understand why they prevent copy ?
And their results is not so beautiful.

Waterfox Classic
Greasemonkey 3.16

Hi. It's really long time no see.

After testing, I found that my script might not work with Firefox very well.
Might be I did not consider those Firefox css rules before.

Might some days fix them for Firefox.

§
Postat în: 10-05-2023
Editat în: 10-05-2023

I would suggest you to test it on the real websites.


Sample URLs for your testing:

https://amigurumi.today/large-ami-cat-crochet-pattern/
https://www.peekme.cc/post/1220893
https://read.qidian.com/chapter/ORlSeSgZ6E_MQzCecGvf7A2/fpUeEW2LD3fwrjbX3WA1AA2
http://www.bimiacg.net/bangumi/bi/3486/
https://www.uta-net.com/
https://boke112.com/post/2281.html (refer to jsFiddle#dgj5es6m)
https://www.uemeds.cn/ (enhanced feature - force enable Alt text selection)
https://www.flickr.com/photos/peste76/51260328730/in/explore-2021-06-20/ (right click on flickr image) *Hover on Image
https://votetw.com/wiki/%E6%9E%97%E6%99%BA%E5%A0%85 (alt text selection) *Enhanced build-in Alt Text Selection


I think those testing links I created in jsfiddle are too unrealistic. Just ignore them.

§
Postat în: 10-05-2023

I have tested them before posting:
:-)
Its a a good idea to put test links.
After testing them, i don't see very well if the actions of your script
is very different from other like your.
So i tested your example...
Anyway i keep it in case i need copy or react with something i need ...

Fixed some compatibility issues with Firefox.

It would be better if you find a browser that prevents your copying and you want this script works for that website.

§
Postat în: 11-05-2023

Thanks!

Postează un raspuns

Autentifică-te pentru a posta un răspuns.