Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ...)

share|improve this question
1  
Open the page source and copy it from there –  slhck Sep 28 '11 at 10:43

3 Answers 3

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;
}   
share|improve this answer

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.

share|improve this answer
    
Blocking js is inside <body/>, not in separate file –  marioosh Sep 28 '11 at 12:01

If your using Firefox, get the noscript addon.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.