-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
28 lines (24 loc) · 844 Bytes
/
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Loading...</title>
<meta name="keywords" content="Blocking websites, blocking proxies" />
<meta name="author" content="xdevman1" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<script>
function aboutblank() {
var win = window.open('about:blank');
var url = 'home.html';
var iframe = win.document.createElement('iframe');
iframe.style = "position:fixed;width:100vw;height:100vh;top:0px;left:0px;right:0px;bottom:0px;z-index:2147483647;background-color:white;border:none;";
iframe.src = url;
win.document.body.appendChild(iframe);
window.location.href = 'https://www.google.com';
}
window.onload = aboutblank;
</script>
</body>
</html>