and has 0 comments
Check out this interesting piece of code:

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

Pasted into the address bar of browsers like IE6, IE7, FF2 (haven't tested on others, but I think it should work on most) it allows the editing of HTML directly on the page. You can expand and shrink HTML elements, you can edit text, etc.

While on Internet Explorer the changes are not saved if you save the page, on FireFox you get spell checking while editing (with red underlines for unrecognized words) and you can save the changes with save page.

It's really weird, check it out.

Comments

Be the first to post a comment

Post a comment