Last Updated: February 25, 2016
·
755
· metaraine

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!