BenV's notes


by on Jul.22, 2011, under Fun, Morons

This just made my day.

First I read on slashdot that their insurer sues them, and personally I hope they win because of Sony’s incompetence regarding their ‘security’. Not that I like insurance companies much, so they can burn as well… which makes this almost perfect. In a lawsuit only the lawyers win, so once those lawyers die in a fire this will be perfect.

Anyhow, someone on the discussion points out how Sony implements a captcha.
Here’s an image in case you’re too lazy to look up that link (or when they remove it):

Sony's Captcha implementation

Sony's Captcha implementation

Yes, that’s right, it’s a captcha implemented in HTML. Some brilliant snippets from the source:

* Text Selection script- Disable

function disableMouseSelection(target){
if (typeof target.onselectstart!="undefined") // for IE
target.onselectstart=function(){return false}
else if (typeof!="undefined") // for Firefox"none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false} = "default"


//Mouse Right click disable
var message="";
function clickinIE() {if (document.all) {(message);return false;}}
function clickinNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)

document.oncontextmenu=new Function("return false")

They didn’t even bother to disable shortcuts like ctrl-a, it still selects everything 🙂


Leave a Reply

You must be logged in to post a comment.