Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've come across a lot of sites that block the right click (context) menu and prevent selection of text by dragging.

I found a Chrome extension, Allow Right Click, which solves the first problem, but what about the text selection? Does anyone know if there is an extension available?

share|improve this question

2 Answers

up vote 2 down vote accepted

No script is built into Chrome:

Options>Under the Hood tab>Content settings>JavaScript tab-Tick "do not allow any site to run javascript.

If you need to enable it on a site, either add the site to the exceptions list, or visit the site, then click the javascript icon in the address bar and select "always allow JS on www.xxxx", this will add it to the exceptions list, then refresh the webpage to allow JS to run.

share|improve this answer
1  
Ah yes, very useful. I basically did the opposite of what you suggested - blacklisted sites instead of whitelisting them. The only problem will be if a site has other useful javascript in addition to the click/select annoyances. – DisgruntledGoat Jun 30 '10 at 11:07

This affront to web users is created using Javascript. Try using NoScript for Chrome, or blocking the offending Javascript files using AdBlock. You can find the adblock extension in the Chrome Extensions Gallery. Then look at the source of the page that you want to copy from. You should see something like

<script src="weDontLikeUsers.js"></script>

in the header of the website, although they may have hidden it somewhere else. Anyway, block the SRC's URL and you should be good.

share|improve this answer
One site where I noticed it has events attached to the body, eg: <body ondragstart="return false"> – DisgruntledGoat Jun 30 '10 at 11:02

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.