Search This Blog

Sunday, 20 February 2011

Hack websites? (javascript)

Ok the title may be a bit misleading lol but if it attracts attention its done its job. This was the first trick i learned on a pc and it has come in useful in more ways than one.

javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0

The above code is a javascript injection. if you copy and paste this into the url box you can edit everything on that page you're looking at. (Give it a try on this blog). Its a simple edit rather than a full hack and there are better ways of achieving the same results. as soon as you refresh your browser all the edits disappear but you could always take a pic lol. i have included a couple of before and after shots from my youtube account http://www.youtube.com/user/FuckingMudaFucker (as good a time as any to plug my account lol). give it a go and see what results you can come up with. this trick works on almost any website as most sites use javascript as their code.

Before

After

No comments:

Post a Comment