Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
You have JavaScript. You need a bookmarklet. This does that.
branch: master

readme.md

Bookmarkleter

Build Status NPM version

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

Browser tool

Create bookmarklets in your browser with a simple copy and paste.

http://chriszarate.github.io/bookmarkleter

NPM module

npm install bookmarkleter
var bookmarkleter = require('./bookmarkleter');
var bookmarklet = bookmarkleter(code, options);

Options

All options are Boolean flags.

urlencode: URL-encode reserved characters: [space], %, ", <, >, #, @, &, ?

anonymize: Wrap in an IIFE (anonymizing function).

mangleVars: Minify using UglifyJS.

jQuery: Make sure a modern version (>= 1.7) of jQuery is available for your code.

License

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

Thanks

Thanks to @jpillora for updates and contributions.

Something went wrong with that request. Please try again.