Super User Asked by marioosh on December 21, 2021
Is a way to unblock blocked (by JS) text selecting on some website ? I’m using Chrome. UPDATE: Blocking JS code is in page source (… blocking code here …)
If your using Firefox, get the noscript addon.
Answered by bryan on December 21, 2021
I've found solution in Chrome -> my own extension.
contentscript.js:
document.oncopy= function(){
return true;
}
document.ondragstart= function(){
return true;
}
document.onselectstart= function(){
return true;
}
Answered by marioosh on December 21, 2021
If you want to unblock it permanently, Right click > View source
and copy the link to JavaScript file that's preventing the highlight. Add it to your adblock/blacklist extension, or even your hosts file (list of locations for each OS) like this.
127.0.0.1
http://incriminating.file/url.js
This will prevent the JavaScript file from being downloaded when you reload the page after clearing your cache. Bare in mind that your experience with the site might be handicapped with this method.
Answered by Jin on December 21, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP