-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (31 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<title>AdJS - Example</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body style="font-size: 150%;">
<h1>AdJS project by Passawit Kaovilai (Tiger)</h1>
<h2>Contribute to source at <a href="https://github.com/kaovilai/adJS">github.com/kaovilai/adJS</a></h2>
<img style="height: auto; width:auto" src="https://github.com/kaovilai/AdJS/workflows/CI/badge.svg?branch=master">
<h3>Originally developed for use at <a href="https://blog.tig.pw">blog.tig.pw</a>, <a href="https://with.in.th">with.in.th</a>, and <a href="https://ใน.ไทย">ใน.ไทย</a></h3>
<p>Side bar ads appear below</p>
<p>May not work with AdBlock enabled.</p>
<div style="float: left; display: flex; width:100%">
<div id="sidebar_bottom_ad" style="width: 20%; padding: 1%;"></div>
<div id="content-body" style="width:80%; border: solid; padding: 2%;">
Nice to meet you. May I know your name? <br>
Please feel free to use my affiliate links shown here.
<br>
<br>
Niche usecase - locale (en-us) speific ad list sidebar example
<div id="niche-sidebar" style="width: 30%"></div>
</div>
</div>
</body>
<footer>
<p>Footer ads appear below</p>
<div id="footer"></div>
<script src="./ad.js" onload="populateKeys(['sidebar_bottom_ad','footer']); populateKey('niche-sidebar','sidebar_bottom_ad','https://asjs.tig.pw/locale/en-us/ad.json');" defer></script>
</footer>
</html>