This plugin can be used on: .js files and even on .coffee and .ts files after using the right plugin
Purpose
Allow to create bookmarklets from javascript code
Options :
- button : if set tue true
creates even a second bookmarklet which injects on the uper left corner of the page a "run me" button to run the code.
Sample usage:
malta app/source/bm.js public/js -plugins=malta-js-bookmarklet
or in the .json build file :
"app/source/bm.js" : "public/js -plugins=malta-js-bookmarklet"
or in a script :
var Malta = ;Maltastart {var s = this;consoleconsole;'plugin' in o && console;console;};