chriszarate/bookmarkleter
概要
You have JavaScript. You need a bookmarklet. This does that.
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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://chriszarate.github.io/bookmarkleter/
NPM module
npm install --save bookmarkleter
const bookmarkleter = require( 'bookmarkleter' );
const bookmarklet = bookmarkleter( code, options );
Options
All options are Boolean flags.
urlencode(defaulttrue): URL-encode reserved characters: [space], %, ", <, >, #, @, &, ?iife(defaultfalse): Wrap in an IIFE (anonymizing function) to prevent exposing variables to the page on which the bookmarklet is running.mangleVars(defaultfalse): Mangle variable names and other tokens to further reduce size.transpile(defaultfalse): Transpile for browsers using Babel.jQuery(defaultfalse): Make sure a modern version (>= 1.7) of jQuery is available for your code.
Deprecated options
minify: Code is always minified (with comments removed) using babel-minify. Bookmarklets require minification to function correctly. UsemangleVarsoption for additional compactness.
License
This is free software. It is released to the public domain without warranty.
Thanks
Thanks to @jpillora and @alanhogan for updates and contributions.
関連プロジェクトを探す
読み込み中…