Just saw an interesting bit of JavaScript that allows anyone to edit the content of a web page from IE or Firefox.

This is a JavaScript trick that runs on the client side and does not have any effects on the actual file on the server. With this, you can change the text of a web page to your heart’s content.

Once you visit a page you are interested in modifying, enter the following JavaScript in the address or location bar all in one line.

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

This should turn the web page into a editor. Try it out.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.