-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (35 loc) · 1.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!-- <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta http-equiv="X-UA-Compatible" content="ie=edge"/><meta name="theme-color" content="#2F3BA2"/><meta name="description" content="A simple, scalable, and complete boilerplate"/><link rel="apple-touch-icon" href="/images/app-icon-192x192.png"/><link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"/><link rel="manifest" href="/manifest.json"/><title>React Boilerplate</title><noscript>Please enable JavaScript to access this app!</noscript><script>if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker
.register("/sw.js?cache_version=1.0.0&env=production")
.then((reg) => {
console.log("SW registration successful!!", reg, reg.active);
reg.addEventListener("updatefound", function() {
// If updatefound is fired, it means that there's
// a new service worker being installed.
var installingWorker = reg.installing;
console.log("installingWorker",installingWorker);
window.location.reload();
});
})
.catch((e) => {
console.log("SW registration failed:", e);
});
});
}</script></head><body><section id="index"></section><script type="text/javascript" src="/bundle.js"></script></body></html> -->
<!DOCTYPE html>
<html>
<body>
<script>
function myFunction() {
if(window.opener) {
window.opener.focus();
}
}
</script>
<h1>The iframe element</h1>
<iframe width="100%" height="500px" allow="camera *;microphone *;geolocation *;" src="https://india-vcip-customer-demo.hyperverge.co/waiting-room/?params=NqI4NKm" title="W3Schools Free Online Web Tutorials">
</iframe>
<button onclick="myFunction()">Close Tab</button>
</body>
</html>