Dynadot

How to edit a random site (Clientside)

Spaceship Spaceship
Watch
type in your address bar
Code:
javascript:document.body.contentEditable='true';document.designMode='on';void 0
and press enter
then u can edit pages
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
I did and nothing happened.
 
0
•••
I spelt it wrong sorry
type
javascript:document.body.contentEditable='true';document.designMode='on';void 0
 
0
•••
I used the new code and still nothing happened for me.
 
0
•••
0
•••
works, it also called DEFACING websites, which is a term used by hackers for editing pages (not client side). But the code above provided is a example how haker's can deface a website. Not really a webmaster tutorial.....
 
0
•••
It is just for fun. Try to edit this page itself. I will edit it but when you again visit the same page it will again show the original one. Logically editing the pages would not be that easy.

Moreover I don't think this is going to hurt any website owner if people want to play on their own PC's with the webpages. The thing is that this is not a webmaster tutorial it is just a fun thing.

Thanks.
 
0
•••
I remember there being this neat javascript snipped that made all the images on a page float around in circles. It was quite entertaining, actually.
 
0
•••
cheerio said:
I remember there being this neat javascript snipped that made all the images on a page float around in circles. It was quite entertaining, actually.
Yes it is still in Breakroom of Namepros. :)

Thanks.
 
0
•••
didn't work in firefox for me :|
 
0
•••
majinbuu1023 said:
I spelt it wrong sorry
type
javascript:document.body.contentEditable='true';document.designMode='on';void 0

You still spelled it wrong, here is a working TESTED code that works on all supported browsers with javascript:

PHP:
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
 
0
•••
lol :P

but how to save it ?
 
0
•••
niels said:
lol :P

but how to save it ?
haha you cant :( if you could the internet would be catastrophic
 
0
•••
You can save it locally if you wish (as a html file on your computer), or if you want to save the javascript code you can create a bookmarklet and save it that way
 
0
•••
You can also get opera web browser and it lets you edit the source.
 
0
•••
unclewalter said:
You can also get opera web browser and it lets you edit the source.

So does firefox.. well with the Web Developer add on.
 
0
•••
I'm using IE7 with this code and it doesn't work.
 
0
•••
Donkey said:
I'm using IE7 with this code and it doesn't work.

That's true, IE7 doesn't work.
 
0
•••
I actually quite like IE7.
 
0
•••
This is client side. No big deal. And definitely it isnt defacing.. Else all our sites would have been defaced LOONG ago :P
 
0
•••
Shane said:
So does firefox.. well with the Web Developer add on.
SeaMonkey from Mozilla.org is basically firefox with edit
 
0
•••
0
•••
not wrking for me ...i m using chrome
 
0
•••
Back