I’ve often found, when developing front-end applications, that there are some useful little Javascript bookmarklets that make my life so much easier. In order to not have to keep tracking them down, I figured I’d create a little repository of these bookmarklets that I’ve found. The fact that it might help other developers is an added bonus :)

If you have any more, please send them my way, and I’ll add them to the page.

Bookmarklets

Radio button unchecking:
Unchecks all radio buttons on a page (very useful for testing validation scripts):

javascript:(function(){var%20inputs%20=%20document.getElementsByTagName(%27input%27);for(var%20i%20=%20inputs.length-1;i>=0;i--){if(inputs[i].getAttribute(%27type%27)===%27radio%27)inputs[i].checked=false}})()

ReCSS:
Reloads all the CSS on the page, on the fly – means you don’t need to reload the entire page to view CSS changes.

javascript:void(function(){var%20i,a,s;a=document.getElementsByTagName('link');for(i=0;i=0&&s.href)%20{var%20h=s.href.replace(/(&|%5C?)forceReload=d+/,'');s.href=h+(h.indexOf('?')>=0?'&':'?')+'forceReload='+(new%20Date().valueOf())}}})();

ReclaimPrivacy.org’s Facebook Privacy checker
Checks your privacy settings for your Facebook profile, and alerts you if some of your settings are too public.

javascript:(function(){var%20script=document.createElement('script');script.src='http://static.reclaimprivacy.org/javascripts/privacyscanner.js';document.getElementsByTagName('head')[0].appendChild(script);})();

Wearepandr’s Colour Bookmark
Determines the colour palette of the web page you’re on.

javascript:location.href='http://wearepandr.com/labs/colour_bookmark?website='+encodeURIComponent(location.href)+'#palette';