For those who don't know what a bookmarklet is: http://en.wikipedia.org/wiki/Bookmarklet
To my knowledge, there's no "automatic" way to achieve this but doing it manually shouldn't be too hard.
If the script doesn't depend on the GreaseMonkey API then it should be as simple as copy n' paste, perhaps with some minification to get it all on one line.
You'll probably want to wrap it all in the following code too:
javascript: (function(){ /* Your code here */ })();
Also, be aware of the limits (you can't have an infinitely long bookmarklet): https://www.squarefree.com/bookmarklets/limits.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With