JSBin a super sweet online HTML and JavaScript editor
jsbin.com
jsbin.com
Interesting feedback in the comments here, just wanted to address some of them:
"where it contains infinite loops" - v3 now strips JavaScript by default, and binds ctrl+enter to run the output with JS. You can optionally enable live JS rendering now too.
"cmd+1/2/3" - v3 has 5 panels now so it takes over even more keys, and although I coded it up, I'm kinda with you that I don't like that I'm expecting to get to a tab rather than a paenl - yet sometimes I like being able to control which panels. I'm considering other shortcuts - maybe optionally disable panel shortcuts (or opt-in?) - but equally open to feedback: http://github.com/remy/jsbin/issues
"tabs" + "stupid auto-formatting" - that's down to CodeMirror being used - and a long while ago I wrote a textarea version of the editor (which kicks in if you're viewing on Android, iPad, etc) - again, this might be a opt-in preference, but I use CM to ensure far reaching IE support because JSBin is primarily a teaching tool, and if a developer is stuck in IE7/8 they need to replicate the bug in that version of IE in jsbin (which is why I can't use ACE, et al).
"ubuntu bugs" - I need to get an Ubuntu virtual machine and check this out - I've heard of a few people having problems in similar environments so I should really check it out.
Anyway, cheers for the feedback (albeit inadvertently :)
Now, if you could use JS.js¹ to sandbox the javascript in a webworker so that it never blocks the editor, and kill+reload every time you enter a key, well that would be cool.
That said, its easy customization and lack of script bloat means that it's more portable (Opera on Mint kills any bloated script).
Ace Editor is much worse, in that it overrides the Cmd+L key, on sites that have merely embedded it. https://github.com/ajaxorg/ace/issues/210 At least with JSBin, you might be able to get used to its overriding by noticing that you're on JSBin.
However, I don't know about others, but at the moment jsbin.com doesn't work at all for me (chrome beta, ubuntu) - can't see any text I type, just blank white on the bottom 90% of the screen. It does work in firefox.