-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.html
37 lines (28 loc) · 987 Bytes
/
test.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
<!DOCTYPE html>
<html>
<head>
<title>ZSE Test Page</title>
</head>
<body>
Link Count : <span id="link-count">0</span><br/><br/>
This link will be converted : <a target="_blank" href="http://www.facebook.com/zerostechnology">Zeros Technology Center</a>
<br/><br/>
This link will NOT be converted : <a target="_blank" href="http://www.zeros.co.id">Zeros Dev</a>
<br/><br/>
*Inspect element to see the source
<script src="ZSE.min.js"></script>
<script>
// initialize ZSE with your safelink url
ZSE.safelink("http://your-safelink.com/out?to=")
// add some domains that should NOT be converted (array)
.except(['zeros.co.id'])
// 0 to disable delay, you can put 1, 5, 10 or other (in minute)
.delay(0)
// add repetition (count, interval in minute)
.repeat(2, 60)
// Run engine
.run();
document.getElementById("link-count").innerHTML = ZSE.linkCount();
</script>
</body>
</html>