mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-08-01 12:29:07 +00:00
12 lines
285 B
HTML
12 lines
285 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
function done() {
|
|
parent.callback();
|
|
}
|
|
|
|
navigator.serviceWorker.ready.then(done);
|
|
navigator.serviceWorker.register("../notification_get_sw.js", {scope: "."}).catch(function(e) {
|
|
dump("Registration failure " + e.message + "\n");
|
|
});
|
|
</script>
|