mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
12 lines
170 B
JavaScript
12 lines
170 B
JavaScript
var active = true;
|
|
onmessage = function(e) {
|
|
if (e.data == 'finish') {
|
|
active = false;
|
|
return;
|
|
}
|
|
|
|
if (active) {
|
|
postMessage(navigator.languages);
|
|
}
|
|
}
|