mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-07 21:54:29 +00:00
13 lines
363 B
HTML
13 lines
363 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
navigator.serviceWorker.getRegistration(".").then(function(registration) {
|
|
registration.unregister().then(function(success) {
|
|
if (success) {
|
|
window.parent.postMessage({status: "unregistrationdone"}, "*");
|
|
}
|
|
}, function(e) {
|
|
dump("Unregistering the SW failed with " + e + "\n");
|
|
});
|
|
});
|
|
</script>
|