2
   

A javascript which lets you change content to pages

 
 
Reply Thu 9 Mar, 2006 09:06 am
Just thought I'd share this little trick with you, it allows you to change pretty much anything on a website without going into the source etc..

Put:

javascript:void(document.body.contentEditable=true)

into your address bar and get editing!

To relock the page, just change "true" at the end of the code to "false".

When you refresh the page, the original content will be there, the effects from this code are not perminent! Just good for a laugh!

If you want to Boldify some text highlight it and press CTRL and B
same with underline and italics, just change the B to I or U.
 
  1  
Reply Thu 9 Mar, 2006 09:51 am
I'm only just getting into javascript--although into webpages via HTML and CSS for several years...

I tried what you said--but nothing happened. So forgive my dumb questions, please:

Any browser? I use firefox. I opened Explorer and did the same, but had no web page previously loaded so nothing happened (I guess that's why).

Thanks for the help in advance.
0 Replies
 
  1  
Reply Thu 9 Mar, 2006 01:44 pm
Well I'm not amazing at javascript, i just know a few tricks!

I know this code works on IE (v.6), i dont think it does on Firefox thought as i think i may have tried it before.

Follow these instructions and hopefully itll work:
On this page copy and paste the code i wrote previously, here it is again:
javascript:void(document.body.contentEditable=true).
(You may notice the page jump abit on some sites)

Move your cursor over to where it says "A javascript which lets you change content to pages" and click the mouse. There should be a flashing type curser there, begin to type and it should write it to the page!

Has this helped?
0 Replies
 
View Profile jespah
 
  1  
Reply Thu 9 Mar, 2006 01:57 pm
Heh, wacky.
0 Replies
 
  1  
Reply Thu 9 Mar, 2006 02:55 pm
DarkJohn wrote:
Has this helped?


Yes! I did it. Cool. Thanks
0 Replies
 
 

Related Topics

I'm the developer - Discussion by Nick Ashley
how to earn money in internet - Discussion by rizwanaraj
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
mod rewrite for a different theme? - Discussion by etali
 
  1. able2know
  2. » A javascript which lets you change content to pages
Copyright © 2009 Horizontal Verticals :: Page generated in 0.38 seconds on 11/24/2009 at 01:56:58 Top End