Use Firefox/Safari? Try this.

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
Copy/Paste this code into your address bar:
Code:
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
Next, try clicking on some text and typing. See what happens!
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
ya i'm not quite understanding how the heck to do this...so can someone explain to me a little bit simpler, i pasted that code into the address bar and clicked the go button, it didn't do anything at all
 

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
billybob bo buck said:
ya i'm not quite understanding how the heck to do this...so can someone explain to me a little bit simpler, i pasted that code into the address bar and clicked the go button, it didn't do anything at all

Once you click go ... then click on the webpage. All the graphics are now able to be edited ( it seems )
It does work ... just nothing jumps out at ya. :)
 

ƒorte

New Member
Messages
980
Reaction score
0
Points
0
wow.. this is freakin' weird.. O_0

Nice find.. I'm not sure it's of any use to me though lol
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Thats cool, so if your a web designer then you can move stuff around in firefox to see how you can make it look better.:rant2:

Still who makes this type of stuff????
 

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
Javascript... Maybe then javascript code works too... Something like this:
HTML:
<script language='JavaScript' type='text/javascript'>
document.body.contentEditable = 'true';
document.designMode='on';
void 0
</script>
ps. I dont know js so im not sure if it works
 

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
Alecto said:
yeah, it works on Maxthon to
Maxthon is an IE shell, so it'll work, yeah.

And that inline JavaScript does work. Be warned: sometimes, on Firefox 2 Beta 2 (not sure about 1.5), it will break hyperlinks. Simple solution: Restart your session.

Oh, as for possible uses: Faking screenshots, perhaps? ;)
 
Last edited:

jaint

Member
Messages
174
Reaction score
0
Points
16
it only takes the browser into design mode, your changes will not affect the actual page and only you will see it!
 

azntechguy

Member
Messages
500
Reaction score
0
Points
16
Hmm, out of curiousity, is there a code to disable editing after you edited your heart out? :D

I do have a good practical joke I can do with this script actually LOL.
 

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
All the editing is made client side, not server side. Nothing is changed in real page.
 

jaint

Member
Messages
174
Reaction score
0
Points
16
<script type="text/JavaScript">
document.body.contentEditable = "False"';
document.designMode="off";
</script>
that will disable it
 

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
Has it dawned on you that they probably use this to make WYSIWYG editors (like the one on Gmail, etc)?

With a bit of AJAX/PHP magic, you can create a web-based authoring environment (that only you can access, of course ;))
 

verdefuego

New Member
Messages
26
Reaction score
0
Points
0
I try that a few days ago! and then couldnt post anymore! but thats a nice trick
 
Top