Skip to content

wolfpeyton/super-bookmarkleter

 
 

Repository files navigation

Super Bookmarkleter

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.

Bookmarkleter

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

Browser tool

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

https://wolfpeyton.github.io/super-bookmarkleter/

Options

All options are Boolean flags.

  • urlencode (default true): URL-encode reserved characters: [space], %, ", <, >, #, @, &, ?

    • preserveSiteSearch (default true): Don't url encode the sequence %s.
  • iife (default false): Wrap in an IIFE (anonymizing function) to prevent exposing variables to the page on which the bookmarklet is running.

  • mangleVars (default true): Mangle variable names and other tokens to further reduce size.

  • useSingleQuotes (default true): Use single quotes instead of double.

  • transpile (default false): Transpile for browsers using Babel.

  • jQuery (default false): 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.

About

Friendly fork of chriszarate's original bookmarkleter with some additional features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 57.9%
  • HTML 42.1%