07-29-2007, 01:39 AM
· #1 Senior Member
Location: In my heart, New Zealand, In reality, New Zealand
Join Date: Jan 2005
Posts: 3,704
NP$: 158.92 (
Donate )
how to edit a random site (clientside)
type in your address bar
Code:
javascript :document.body.contentEditable='true';do cument.designMode='on';void 0
and press enter
then u can edit pages
Last edited by majinbuu1023 : 07-29-2007 at 08:48 PM .
07-29-2007, 08:12 PM
· #2 NamePros Regular
Location: WebmasterGround.com
Join Date: May 2006
I did and nothing happened.
07-29-2007, 08:48 PM
· #3 Senior Member
Location: In my heart, New Zealand, In reality, New Zealand
Join Date: Jan 2005
Posts: 3,704
NP$: 158.92 (
Donate )
I spelt it wrong sorry
type
Quote:
javascript :document.body.contentEditable='true';do cument.designMode='on';void 0
07-29-2007, 09:52 PM
· #4 Adsung.com <<
Location: England
Join Date: May 2006
Posts: 1,608
NP$: 27.29 (
Donate )
I used the new code and still nothing happened for me.
07-30-2007, 07:22 AM
· #5 Danltn.com
Name: Daniel Neville
Location: Danltn.com / Nottingham, UK
Join Date: May 2007
Posts: 1,164
NP$: 642.56 (
Donate )
08-13-2007, 08:20 PM
· #6 NamePros Elite™
Name: Zentha
Location: Washington
Join Date: Feb 2006
Posts: 813
NP$: 500.50 (
Donate )
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.....
08-13-2007, 11:13 PM
· #7 I'll do it
Name: Keral. Patel.
Location: India
Join Date: Dec 2005
Posts: 4,642
NP$: 14180.40 (
Donate )
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.
08-13-2007, 11:24 PM
· #8 NamePros Member
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.
08-14-2007, 12:04 AM
· #9 I'll do it
Name: Keral. Patel.
Location: India
Join Date: Dec 2005
Posts: 4,642
NP$: 14180.40 (
Donate )
Originally Posted by cheerio 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.
08-15-2007, 03:34 AM
· #10 Murphy
Name: knivesforapro
Location: Australia
Join Date: Feb 2007
Posts: 2,096
NP$: 595.20 (
Donate )
didn't work in firefox for me
__________________
Need help? I'm always here to help - Just send me a PM
12-18-2007, 10:07 PM
· #11 NamePros Elite™
Name: Zentha
Location: Washington
Join Date: Feb 2006
Posts: 813
NP$: 500.50 (
Donate )
Originally Posted by majinbuu1023 I spelt it wrong sorry
type
Quote:
javascript :document.body.contentEditable='true';do cument.designMode='on';void 0
You still spelled it wrong, here is a working TESTED code that works on all supported browsers with javascript
:
PHP Code:
javascript : document . body . contentEditable = 'true' ; document . designMode = 'on' ; void 0
01-03-2008, 12:58 AM
· #12 First Time Poster!
lol :P
but how to save it ?
01-03-2008, 05:03 AM
· #13 Senior Member
Location: In my heart, New Zealand, In reality, New Zealand
Join Date: Jan 2005
Posts: 3,704
NP$: 158.92 (
Donate )
Originally Posted by niels lol :P
but how to save it ?
haha you cant
if you could the internet would be catastrophic
01-03-2008, 02:44 PM
· #14 NamePros Member
Name: pSyChO mOnkee
Join Date: Sep 2007
Posts: 97
NP$: 623.00 (
Donate )
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
01-03-2008, 02:46 PM
· #15 NamePros Regular
Join Date: Nov 2007
You can also get opera web browser and it lets you edit the source.
01-05-2008, 06:08 AM
· #16 DNOA Member
Name: Shane
Location: West Sussex - England
Join Date: Aug 2007
Posts: 685
NP$: 645.00 (
Donate )
Originally Posted by unclewalter You can also get opera web browser and it lets you edit the source.
So does firefox.. well with the Web Developer add on.
03-26-2008, 04:23 AM
· #17 New Member
I'm using IE7 with this code and it doesn't work.
03-26-2008, 01:15 PM
· #18 NamePros Regular
Join Date: Jun 2007
Posts: 452
NP$: 240.00 (
Donate )
Originally Posted by Donkey I'm using IE7 with this code and it doesn't work.
That's true, IE7 doesn't work.
__________________ Gele.com Befa.com Fafu.com Pezu.com Uuue.com G-e-o.com h-i-t.com l-i-p.com z-i-n.com b-s-d.com p-l-z.com b-r-b.com f-r-y.com l-y-e.com o-d-e.com p-i-t.com j-u-g.com f-a-g.com b-j-s.com f-i-v.com f-s-m.com
03-27-2008, 06:17 AM
· #19 New Member
I actually quite like IE7.
05-04-2008, 12:00 AM
· #20 NamePros Regular
Join Date: Jan 2007
Posts: 205
NP$: 75.00 (
Donate )
This is client side. No big deal. And definitely it isnt defacing.. Else all our sites would have been defaced LOONG ago :P
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off