Bookmarklet for Reloading just CSS on a page (gist.github.com) 39 points by mikelikespie 15y ago ↗ HN
[–] jashkenas 15y ago ↗ For a bit of a different flavor, here's the one I've been using that accomplishes the same aims:http://gist.github.com/649724It's a good bit more compact, recursively refreshes the CSS in all frames in the window, and uses a timestamp instead of a long random number.
[–] LoonyPandora 15y ago ↗ I've been using this one for many many years. Is your version better / more efficient in any way?http://david.dojotoolkit.org/recss.html [–] mikelikespie 15y ago ↗ Nah, don't think so. I wasn't aware of any existing so I just wrote one. Apologies for lack of novel idea :P [–] sudont 15y ago ↗ Both are new to me. Your link compares against a string, and his looks for the type in the DOM? Not sure which is better.Could a better mind please explain which is more appropriate?
[–] mikelikespie 15y ago ↗ Nah, don't think so. I wasn't aware of any existing so I just wrote one. Apologies for lack of novel idea :P
[–] sudont 15y ago ↗ Both are new to me. Your link compares against a string, and his looks for the type in the DOM? Not sure which is better.Could a better mind please explain which is more appropriate?
[–] Encosia 15y ago ↗ If you're using Firefox, the CSS Reloader addon is nice because it gives you a hotkey.https://addons.mozilla.org/en-US/firefox/addon/46211/
[–] spicyj 15y ago ↗ Forgive me for asking, but what's wrong with just reloading? [–] seiji 15y ago ↗ Maybe you are six levels deep into a JS-heavy webapp? If you reload, you would have to re-navigate to what you want to fix.
[–] seiji 15y ago ↗ Maybe you are six levels deep into a JS-heavy webapp? If you reload, you would have to re-navigate to what you want to fix.
7 comments
[ 4.8 ms ] story [ 32.6 ms ] threadhttp://gist.github.com/649724
It's a good bit more compact, recursively refreshes the CSS in all frames in the window, and uses a timestamp instead of a long random number.
http://david.dojotoolkit.org/recss.html
Could a better mind please explain which is more appropriate?
https://addons.mozilla.org/en-US/firefox/addon/46211/