You have JavaScript. You need a bookmarklet. This does that.
Pull request Compare This branch is 57 commits behind chriszarate:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
bookmarkleter.js
index.html
readme.md

readme.md

Bookmarkleter

You have JavaScript. You need a bookmarklet. This does that.

Features

  • Removes newlines, tabs, optional spaces, and comments
  • 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)

License

This is free software. It is released to the public domain without warranty.