Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In HTML5 you can do this by keeping a script in LocalStorage, then executing it on-demand. It could also have a fallback mechanism for network loading (and lazy initialization).

The implementation of this is left as an exercise for the reader.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: