Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Open the page source and copy it from there – slhck Sep 28 '11 at 10:43

I've found solution in Chrome -> my own extension.


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .