-
Notifications
You must be signed in to change notification settings - Fork 0
/
sync.html
106 lines (95 loc) · 3.82 KB
/
sync.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<!-- saved from url=(0109)https://pippio.com/api/sync?pid=1391&ref=http%3A%2F%2Fwww.grida.no%2Fresources%2F5628&it=1&iv=c159phm132dpt58 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><meta name="referrer" content="no-referrer"><script>
var f = function () {
function loadChains(chains, limit, onChainDone) {
function newImageLoader(url) {
return function () {
var e = new Image();
addListeners(e);
e.src = url;
};
}
function newScriptLoader(url) {
return function () {
var e = document.createElement('script');
e.type = 'text/javascript';
e.async = true;
addListeners(e);
e.src = url;
document.head.appendChild(e);
};
}
function newIframeLoader(url) {
return function () {
var e = document.createElement('iframe');
e.style.display = 'none';
e.width = 1;
e.height = 1;
addListeners(e);
e.src = url;
document.body.appendChild(e);
};
}
function addListeners(e) {
addLoadErrorListeners(e, loadNext);
if (typeof onChainDone === 'function') {
addLoadErrorListeners(e, onChainDone);
}
}
function addLoadErrorListeners(e, listener) {
if (typeof e.addEventListener === 'function') {
e.addEventListener('load', listener, false);
e.addEventListener('error', listener, false);
} else if (typeof e.attachEvent === 'function') {
e.attachEvent('onload', listener);
e.attachEvent('onerror', listener);
}
}
function loadNext() {
var next = loaders.shift();
if (typeof next === "function") {
setTimeout(next);
}
}
var loaders = chains.reduce(function (acc, value) {
var mode = value[0];
var url = value[1];
switch (mode) {
case 'image':
acc.push(newImageLoader(url));
break;
case 'script':
acc.push(newScriptLoader(url));
break;
case 'iframe':
acc.push(newIframeLoader(url));
break;
}
return acc;
}, []);
for (var i = 0; i < limit; i++) {
loadNext();
}
}
var chains = [];
chains.push(['image', 'https://idsync.rlcdn.com/462246.gif?partner_uid=c159phm132dpt58']);
chains.push(['image', 'https://ei.rlcdn.com/448046.gif?n=1']);
chains.push(['image', 'https://pixel.sojern.com/idSync/sync?pid=arbor']);
chains.push(['image', 'https://ib.adnxs.com/getuid?https%3A%2F%2Fs.cpx.to%2Fca.png%3Fref%3Dhttp%253A%252F%252Fwww.grida.no%252Fresources%252F5628%26pid%3D11718%26url%3Dhttp%253A%252F%252Fwww.grida.no%252Fresources%252F5628%26adnxs_uid%3D%24UID']);
chains.push(['image', 'https://tag.apxlv.com/tag/partner/222?pixel_mode=pixel']);
chains.push(['image', 'https://p.adsymptotic.com/d/px?_pid=13553&_psign=9e62e5c043ecadc9479a0ccac401dd7d']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=5']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=7']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=11']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=10']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=8']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=2']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=4']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=3']);
chains.push(['image', 'https://rc.rlcdn.com/456809.gif?n=6']);
loadChains(chains, 10, (typeof onDone === "function") ? onDone : null);
};
if (document.body) { f(); } else { document.addEventListener('DOMContentLoaded', f); }
</script>
</head><body></body></html>