-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (54 loc) · 1.89 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
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ads</title>
<meta charset="UTF-8">
<style>
#adblock{
display: none;
background-color:rgba(0, 0, 0, 0.8);
position:fixed;
width:100%;
height:100%;
top:0px;
left:0px;
z-index:1000;
text-align: center;
color: #fff;
}
body, html {
background-color: transparent;
}
a {
color: #00afe4;
}
</style>
</head>
<body style="margin:0">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8832864985153925" crossorigin="anonymous"></script>
<!-- Demo Ad -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8832864985153925"
data-ad-slot="3710527255"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<div id="adblock">
<h1>Hi Adblock User!</h1>
<p>Ads on this page may come and go depending on how many people are funding this project.<br>You can help fund this project on <a href="https://patreon.com/EmulatorJS">patreon</a></p>
</div>
<script>
if(new URL(window.location.href).searchParams.get("blocked") !== null){
document.getElementById("adblock").style.display = "block";
console.error("ad blocked!");
}else{
(adsbygoogle = window.adsbygoogle || []).push({});
window.onload = function(){
if (!adsbygoogle.loaded) {
document.getElementById("adblock").style.display = "block";
}
};
}
</script>
</body>
</html>