public
Description: DBScriptCache automatically caches script files in the browser's HTML5 client-side database.
Homepage:
Clone URL: git://github.com/3n/db-script-cache.git
db-script-cache / scriiip.js
100644 7 lines (6 sloc) 0.484 kb
1
2
3
4
5
6
7
// Just some random javascript to make sure some character (I'm looking at you '<') does't bust any balls.
1 < 3;
var scripts = '<blah';
var replaced = "<hello world".replace(/<h/gi,'x');
document.body.innerHTML = "THIS TEXT BROUGHT TO YOU BY JAVASCRIPT<br/><br/>If you can see this, then scriiip.js was loaded properly - WORD.";
document.body.innerHTML += "<br/>Mootools says your browser engine is: " + Browser.Engine.name + " - looks like Mootools was loaded as well - NICE.";