github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/static/libs/sockjs-client-1.1.0/tests/html/sockjs-in-head.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 <script> 7 document.domain = document.domain; 8 </script> 9 <script src="/__zuul/test-bundle.js?no=cache"></script> 10 <script> 11 c = parent._sockjs_global; 12 window_id = window.location.hash.slice(1); 13 hook = c(window_id); 14 hook.callback = function(code) {eval(code);}; 15 hook.open(); 16 </script> 17 <script src="slow-script.js?yes=nocache"></script> 18 </head> 19 <body> 20 <h2>Don't panic!</h2> 21 </body>