Skip to content

Instantly share code, notes, and snippets.

@elvisciotti elvisciotti/cssReload.js
Last active Dec 29, 2015

Embed
What would you like to do?
browser toolbar link to reload CSS using JavaScript
javascript:var links=document.getElementsByTagName("link"); for (var i = 0; i < links.length;i++) { var link = links[i]; if (link.rel === "stylesheet") {link.href += "?"; }}; return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.