This is a friendly fork of chriszarate's original bookmarkleter with some additional features:
- Preserve %s for Chrome site search
- Allow use of single quotes (which don't need to be URL-encoded) instead of double quotes.
You have JavaScript. You need a bookmarklet. This does that.
Create bookmarklets in your browser with a simple copy and paste.
https://wolfpeyton.github.io/super-bookmarkleter/
All options are Boolean flags.
-
urlencode(defaulttrue): URL-encode reserved characters: [space], %, ", <, >, #, @, &, ?preserveSiteSearch(defaulttrue): Don't url encode the sequence%s.
-
iife(defaultfalse): Wrap in an IIFE (anonymizing function) to prevent exposing variables to the page on which the bookmarklet is running. -
mangleVars(defaulttrue): Mangle variable names and other tokens to further reduce size. -
useSingleQuotes(defaulttrue): Use single quotes instead of double. -
transpile(defaultfalse): Transpile for browsers using Babel. -
jQuery(defaultfalse): Make sure a modern version (>= 1.7) of jQuery is available for your code.
This is free software. It is released to the public domain without warranty.