I use a lot of bookmarklets for all kinds of purposes. This is the editor I wrote to write the code easily and convert it back and forth between bookmarklet and clean code.
I do all my long-form writing in this simple distraction free writing tool. I fine-tuned it exactly to my liking. I hit F11 and boom! I am in distraction free writing heaven.