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.

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
add comment

4 Answers 4

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
add comment

I don't think either of those answers are helpful. There is now CSS code to block text selection so turning off or blocking javascript is not a help.

So far I have not found an extension for Chrome to help with this, but I did find a bookmarklet:

I have noticed at least one lyrics website has started preventing users from copying lyrics. (As if the lyrics website has a copyright on someone else’s song lyrics!) While there are some good user-experience reasons to disable text selection for certain parts of a web app, but clearly entire the point of a lyrics website is to look up lyrics — and selecting lines can make it easier to read in your browser, or perhaps you want to paste the lyrics into an MP3’s ID3 data (“Get Info” in iTunes).

So screw that.

Here’s a bookmarklet that should allow you to select anything on a web page. It’s not an ultimate solution, but it works for me. Just click it on an offending page.

Reference: http://alanhogan.com/code/text-selection-bookmarklet

share|improve this answer
add comment

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
1  
One site where I noticed it has events attached to the body, eg: <body ondragstart="return false"> –  DisgruntledGoat Jun 30 '10 at 11:02
add comment

There is a chrome extension that lets you select text called Selectable. It works on websites like FanFiction, which is what I needed it for.

share|improve this answer
add comment

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.