Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /*
2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/publicdomain/zero/1.0/
4 */
6 window.addEventListener("load", function () {
7 var ws1 = new WebSocket("ws://0.0.0.0:81");
8 ws1.onopen = function() {
9 ws1.send("test 1");
10 ws1.close();
11 };
13 var ws2 = new window.frames[0].WebSocket("ws://0.0.0.0:82");
14 ws2.onopen = function() {
15 ws2.send("test 2");
16 ws2.close();
17 };
18 }, false);