mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
(new BroadcastChannel('foobar')).postMessage('READY');
|
|
|
|
(new BroadcastChannel('foobar')).addEventListener('message', function(event) {
|
|
if (event.data != 'READY') {
|
|
event.target.postMessage(event.data);
|
|
}
|
|
}, false);
|
|
|