With this ridiculously easy online tool, you can do just that.
Bookmarkleter is totally free, and totally awesome.
Here’s Bookmarkleter’s features:
- Removes newlines, tabs, and optional spaces
- URL-encodes special ASCII characters: [space], %, “, <, >, #, @, &, ?
- Places code in a wrapper function (if not done already)
- Does not hex-encode non-ASCII characters (you should probably use String.fromCharCode for that)
See how easy it is to use:
French Press coffee is more complicated.