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.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <meta charset="utf-8"> |
michael@0 | 4 | <script> |
michael@0 | 5 | function pingWorker() { |
michael@0 | 6 | var port = navigator.mozSocial.getWorker().port; |
michael@0 | 7 | port.postMessage({topic: "panel-message", |
michael@0 | 8 | result: "ok", |
michael@0 | 9 | location: window.location.href}); |
michael@0 | 10 | } |
michael@0 | 11 | window.addEventListener("socialFrameShow", function(e) { |
michael@0 | 12 | var port = navigator.mozSocial.getWorker().port; |
michael@0 | 13 | port.postMessage({topic: "status-panel-visibility", result: "shown"}); |
michael@0 | 14 | }, false); |
michael@0 | 15 | window.addEventListener("socialFrameHide", function(e) { |
michael@0 | 16 | var port = navigator.mozSocial.getWorker().port; |
michael@0 | 17 | port.postMessage({topic: "status-panel-visibility", result: "hidden"}); |
michael@0 | 18 | }, false); |
michael@0 | 19 | </script> |
michael@0 | 20 | </head> |
michael@0 | 21 | <body onload="pingWorker();"> |
michael@0 | 22 | <p>This is a test social panel.</p> |
michael@0 | 23 | </body> |
michael@0 | 24 | </html> |