Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Paul Buchheit
javascript:void(document.body.contentEditable=(document.body.contentEditable!='true'))
WHOA! Cool! - AJ Batac
awesome! - siniradam
you just made my color blind self cry tears of joy - I can now click that to discover all of the links that some crazy color mad designer has "hidden" from me by their color choices - bear (aka Mike Taylor)
wow neat trick - Onur Gündüz
is there a bookmarklet to make hackernews look good on the iphone? - Ivan Kirigin
Add this to FriendFeed and you've got Wave :-) - Jesse Stay
Reminds me somewhat of ClutterMe http://www.clutterme.com/ - they figured out how to make a whole page in-place-editable (javascript of course) - just click anywhere and start typing: http://www.clutterme.com/pages... - Christopher Galtenberg
Nice, discover links obscured by CSS - Orlando Pozo
Cute trick. Not being familiar with java script (at all) what is the void%200 statement there for? - Eric Borisch
Without the void 0, the browser will navigate to a page showing the result of the computation. - Paul Buchheit
Not grasping the %200, though - Rahsheen ™, Coach "Red"
But that's not the case when I just execute it in the (safari) address bar. I take it that's expected? - Eric Borisch
%20 is a space. I'm not sure about safari -- I use ff. - Paul Buchheit
Cool. This + FB + malcontents + screenshots = ??? - Eric Borisch
What is this supposed to do again ?-- it does nothing that I can discern in IE, FF or Chrome (on Vista). - Brian Sullivan
OK I see what it does on FF. - Brian Sullivan
But only in FireFox presumably? - Brian Sullivan
It works on IE - AJ Batac
So it does -- first time I tried IE8 crashed. - Brian Sullivan
Works in Chrome, too - Jan Ole Peek
It doesn't seem to work in 4.0.223.11 - Brian Sullivan
I'm still on Chrome 3.0.195.27 but it says no update detected... this is in Win7. Pretty sure my OSX Chrome is 4.0.223.11 though. - Jan Ole Peek
4.0.223.11 is the latest in the dev stream. - Brian Sullivan
Works on Chrome Mac version here. I added the script as a new bookmark in the menu. - Jesper Lind
Try this instead to avoid the %20 weirdness: javascript:void(document.body.contentEditable=(document.body.contentEditable!='true')) - Matt Mastracci
Doesn't seem to work either -- maybe a bug in the dev version? - Brian Sullivan
World's coolest bookmarklet, especially those who are creating demo apps. - Mike Reynolds
Wow, this is awesome (works perfectly for me in Firefox 3.5). Simple Bookmarklet code that makes Web pages "editable". Now if only there were save + back buttons or something = Instant Wiki. - Alex Schleber
I realized after playing for a while, some of the keyboard events stop working, like submitting form by hitting Enter .. (FF 3.5.3) - Onur Gündüz
this is the fundamental line of every wysiwyg editor you use. for IE use allowEdit - Tzury Bar Yochay
Clicking it a second time makes it un-editable (and therefore it should respond to events and such). - Paul Buchheit
So how do you discover 'hidden' links.? - 'Like' robot (frɐnc)
Cool, worked for me (the box is Windows Chrome 3.0.195.27) - ǝuǝƃnǝ
I mean in all open tabs and windows, not just in editable mode. It stayed that way, still no keyboard events (not restarted ff yet) :) - Onur Gündüz
Figured how to make it but what's it good for - pretending to rip other people's stuff to sh*t? - Michael Slattery
Michael - I'm thinking about possible use as a minor webdesign tool. Of course other tools are more powerful, but this is a nice simple one. - Deborah Fitchett
Ok, I finally get it - Michael Slattery
this is the worlds best website - Grant Rhoades