I am retiring this website. Please visit my new blog here for all things tech-related: goo.gl/d7D1J

Friday, May 29, 2009

Edit Webpage

Editing a web page using a JavaScript is very easy. All you have to do is enter it in the URL of the site you are viewing and you can now edit anything on the page. This could be used to see what a site would look like after it's been changed, or just to mess around. Either way, here is the code:


javascript:document.body.contentEditable='true';%
20document.designMode='on';%20void%200


Once you hit enter to start editing, there may be a very little change in the way the site appears. Some text may be bolded, underlined, or marked as not being spelled right. There is no way to change this.

No comments:

Post a Comment

Web Analytics