Files
ICApp/index.html
T
2019-05-14 15:17:31 +00:00

28 lines
914 B
HTML

<html>
<head>
<title>Infinite Campus</title>
<link rel="manifest" href="https://lax18.github.io/ICApp/manifest.json">
<script src="script.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('service-worker.js').then(function(registration) {
// Registration was successful
console.log('Registered!');
}, function(err) {
// registration failed :(
console.log('ServiceWorker registration failed: ', err);
}).catch(function(err) {
console.log(err);
});
});
} else {
console.log('service worker is not supported');
}
</script>
</head>
<body>
<iframe src="https://maine.infinitecampus.org/campus/nav-wrapper" style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;"></iframe>
</body>
</html>