[mdlug] Cute javascript hack

Wojtak, Greg GregWojtak at quickenloans.com
Mon Oct 5 14:46:48 EDT 2009


On that particular page, letting the page load and then unchecking the 'Enable JavaScript Support' allowed me to copy and paste in Firefox.

-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf Of Raymond McLaughlin
Sent: Monday, October 05, 2009 2:41 PM
To: MDLUG's Main discussion list
Subject: Re: [mdlug] Cute javascript hack

Nice try Ray, but it doesn't seem to work on this page:
<http://www.metrolyrics.com/too-rolling-stoned-lyrics-robin-trower.html>

I could copy the text I wanted from the page source view, though. Any
other suggestions?

Raymond McLaughlin

Ingles, Raymond wrote:
>  Some websites use javascript to disallow using the right mouse button
> as a context menu. Snopes.com is the first one I've seen disallowing the
> *left* mouse button so you can't cut and paste. Fortunately, it's
> relatively easy to bypass this. I have a couple of bookmarks:
> 
> Name: Give me my left mouse button back!
> Location: javascript:void(document.onmousedown=null)
> 
> Name: Give me my right mouse button back!
> Location: javascript:void(document.oncontextmenu=null)
> 
>  Just select the bookmark and, voila, your mouse works the way it's
> supposed to. I thought others might appreciate knowing this.
> 
>  Sincerely,
> 
>  Ray Ingles                                                  (313)
> 227-2317
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list