1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script>
document.domain = document.domain;
</script>
<script src="/sockjs-test/lib/sockjs.js"></script>
</head>
<body>
<h2>Don't panic!</h2>
<script>
c = parent._sockjs_global;
window_id = window.location.hash.slice(1);
hook = c(window_id);
hook.callback = function(code) {eval(code);};
hook.open();
</script>
</body>
|