Reload CSS bookmarklet - speed up theming

While working on just CSS changes on your Drupal website, it can sometime take ages to reload on performance heavy pages.
Here is a bookmarklet I've found by Erik A. Hanson and improved by Josh L that allows you to just refresh the CSS files without reloading the whole website (hitting the server). Just grab the link below to your bookmarks and click it whenever you want to refresh the styles.

CSS Reload [Grab me to your bookmarks]

It does save me a lot of time now, since the site I am working on now was more about waiting for a page to refresh, rather than writing code. ;)
Also there is a module that allows you to save changes made through firebug in your css files. (http://drupal.org/sandbox/roni_kantis/1076982 - not tested)

var links = document.querySelectorAll('link[rel="stylesheet"], link[href*="css"]');
for( var i = 0; i < links.length; i++ ){
  if( links[i].href.indexOf('?') === -1 ){
    links[i].href += '?';
  }
  links[i].href += '&reloadcss=' + Math.random();
}



Need Drupal Theming? Hire us