mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
10 lines
232 B
JavaScript
10 lines
232 B
JavaScript
onmessage = function() {
|
|
importScripts(['referrer.sjs?import']);
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open('GET', 'referrer.sjs?result', true);
|
|
xhr.onload = function() {
|
|
postMessage(xhr.responseText);
|
|
}
|
|
xhr.send();
|
|
}
|