News for hackers. Stuff that matters.
Re:G-WAN - Web Application Server by wh-uws on Thursday June 14, 2012 @01:12AM (#4109891)
Slightly off topic but a hobby I've picked up recently is breaking web based "no copy/paste" schemes.

Usually people map onmousedown,click,oncontextmenu, etc. events or some permutation there of to return false and have an alert that say's something to the effect of "no copying!"

You can easily defeat those by mapping whichever function to null on your javascript console. ie:

  document.oncontextmenu = null
The Gwan guy's solution threw me off a bit because I was looking for another javascript version to no avail.

In an interesting twist they've actually used css. That is every vendor permutation of.

  user-select: none;
To disable that use your favorite developer tools and remove those styles from whichever element you want to copy..
Re:G-WAN - Web Application Server by pokoleo on Thursday June 14, 2012 @01:15AM (#4109906)
Build + Release a browser extension - I'd download it.
Re:G-WAN - Web Application Server by loungin on Thursday June 14, 2012 @01:55AM (#4110015)
Do you have Firebug for Firefox (press F12 to bring it up) or the Developer Tools (Ctrl-J) for Chrome? They make it trivial to toggle/edit CSS attributes on webpages.

In GWAN's case (using Firefox) the rule was:

p, h1, h2, h3, h4, ul, ol, legend, label { -moz-user-select: -moz-none; }

Re:G-WAN - Web Application Server by chc on Thursday June 14, 2012 @02:03AM (#4110043)
There are already quite a few out there. Search your favorite browser's extension archive for something along the lines of "enable right click." (For example, Firefox has RightToClick.)