Beware Broken Bookmarklets
Several popular bookmarklet generators (including this one) fail to url encode the modulus operator (%), so the following trivial script:
alert(1 % 10);
Incorrectly generates:
javascript:(function(){alert(1%10);})();
Instead of:
javascript:(function(){alert(1%2510);})();
Use one of these bookmarklet generators that work!
Written by Raine
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Bookmarklet
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#