Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<script type="text/javascript">
page_id = window.location.hash.substring(1);
try {
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register(
'file_child-src_service_worker.js',
{ scope: './' + page_id + '/' }
).then(function(reg)
{
// registration worked
reg.unregister().then(function() {
});
}).catch(function(error) {
// registration failed
});
};
} catch(ex) {
}
</script>
</body>
</html>