Skip to content

Instantly share code, notes, and snippets.

@taneltm
Last active July 21, 2016 07:54
Show Gist options
  • Save taneltm/31b14412dd72f378d1cdfb2040a2bdcb to your computer and use it in GitHub Desktop.
Save taneltm/31b14412dd72f378d1cdfb2040a2bdcb to your computer and use it in GitHub Desktop.
Reload CSS
javascript:(function(){var queryString='?reload='+new Date().getTime();$('link[rel="stylesheet"]').each(function(){this.href=this.href.replace(/\?.*|$/, queryString);})})();
var queryString = '?reload=' + new Date().getTime();
$('link[rel="stylesheet"]').each(function () {
this.href = this.href.replace(/\?.*|$/, queryString);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment