up vote 6 down vote favorite
share [g+] share [fb]

Is there a GreaseMonkey script to disable the JavaScript-disabling of copy-paste in Firefox (3.0)? Or should I just run NoScript or some other extension on any site that attempts this (other things might break...)?

[rant] Absolutely the worst "clever" use of JavaScript. Fortunately Safari is more usable and ignores the JavaScript hack that disables copy-paste. Who at Mozilla thought that was acceptable whatsoever? For shame. By the way, which browser added this "feature" first, IE? [/rant]

link|improve this question

2  
you better not be copying and pasting any of this content, mister! – Jeff Atwood Aug 14 '09 at 23:58
1  
Sadly the people who do this probably don't have content anyone would want to steal any way. – Jared Updike Aug 15 '09 at 0:07
If it's pictures you're trying to copy, a nice print screen does the job. Sometimes, I'll copy a web page window to clipboard, crop the image I want in Photoshop, and then email it to the webmaster =D. For text, though, I guess you might need something else. – oscilatingcretin Aug 18 '11 at 18:55
feedback

4 Answers

up vote 2 down vote accepted

The Anti-Disabler script on diveintogreasemonkey.org works if you replace document. with document.wrappedJSObject.

link|improve this answer
feedback

Just disable the following option in Firefox's Javascript settings (it won't disable the warnings, as they are Javascript messages, but the context menu cannot be disabled by the web pages anymore):

enter image description here

link|improve this answer
1  
There are some web-app sites where I want to have the their custom context menus. It's annoying to have to turn this on and off. A per-site way of blacklisting sites is needed. – Sam Hasler Aug 15 '09 at 13:40
feedback

Haven't tried it:

Taking Back the Browser: Re-enable Context Menus on Sites That Disable Them

but it's a possible lead.

link|improve this answer
The Greasemonkey script on that page didn't work on the one site I tried it on. – Sam Hasler Aug 15 '09 at 13:38
To be specific, it won't defeat the script on this page: jsbin.com/icozi – Sam Hasler Aug 15 '09 at 14:02
feedback

How about the good-old NoScript option with firefox?
I tried the site on the your answer and was allowed to right-click and save.
Then, I opened javascript block for the site and was blocked right-click!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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