Skip to content

Instantly share code, notes, and snippets.

@joevandyk
Created October 12, 2011 00:10
Show Gist options
  • Save joevandyk/1279847 to your computer and use it in GitHub Desktop.
Save joevandyk/1279847 to your computer and use it in GitHub Desktop.
javascript:(function(){var img = document.createElement('img'); img.src = "/css-refresh?" + Date.now(); var h,a,f;a=document.getElementsByTagName('link');for(h=0;h<a.length;h++){f=a[h];if(f.rel.toLowerCase().match(/stylesheet/)&&f.href){var g=f.href.replace(/(&|%5C?)forceReload=\d+/,'');f.href=g+(g.match(/\?/)?'&':'?')+'forceReload='+(new Date().valueOf())}};})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment