cdnhost 2.8.7 → 2.9.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.
package/seekr2.js CHANGED
@@ -1,65 +1,52 @@
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
- });
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';
8
13
  });
9
14
 
10
15
  const urls = [
11
- 'https://aaaaaa.iwinv.net',
12
- 'https://tttttt.iwinv.net',
13
- 'https://ssssss.iwinv.net',
14
- 'https://zzzzzz.iwinv.net',
15
- 'https://minecraft.iwinv.net',
16
- 'https://oooooo.iwinv.net',
17
-
18
- 'https://manatoki.kr/view/',
19
- 'https://199.kr/view/',
20
- 'https://logig.im/view/',
16
+ 'https://manatoki.kr/view/', 'https://199.kr/view/', 'https://logig.im/view/',
17
+ '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
+ '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/'
21
19
  ];
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);
22
35
 
23
- const randomUrl = urls[Math.floor(Math.random() * urls.length)];
24
- document.writeln('<style>');
25
- document.writeln('* {font-size: 1em !important} #button {border:1px solid #fff !important;border-radius:5px !important} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
26
- document.writeln('</style>');
27
- document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
36
+ setTimeout(() => {
37
+ s2.style.zIndex = -1;
38
+ btn.style.display = "none";
28
39
 
29
- document.getElementById('container').style.boxShadow = 'none';
30
- function ss(){
31
- document.getElementById("s2").style.transition = "opacity 7s";
32
- document.getElementById("button").style.transition = "opacity 7s";
33
- setTimeout("s()", 3999);
34
- setTimeout("h()", 6000);
35
- }
36
- function pcss(){
37
- setTimeout("s()", 3999);
38
- setTimeout("h()", 6000);
39
- }
40
- function a(){
41
- document.getElementById("button").style.display="none";
42
- }
43
- function aa(){
44
- document.getElementById("button").style.display="block";
45
- }
46
- function s(){
47
- document.getElementById("s2").style.opacity = 0;
48
- document.getElementById("button").style.opacity = 0;
49
- document.getElementById("sha").style.display="none";
50
- document.getElementById("cc").style.maxHeight="unset";
51
- }
52
- function h(){
53
- const s2 = document.getElementById("s2");
54
- const button = document.getElementById("button");
55
- s2.style.zIndex = -1;
56
- button.style.display = "none";
57
- setTimeout(function () {
58
- s2.style.zIndex = 99;
59
- button.style.display = "block";
60
- s2.style.opacity = 0.9;
61
- button.style.opacity = 1;
62
- document.getElementById("s2").style.transition = "opacity 1s";
63
- document.getElementById("button").style.transition = "opacity 1s";
64
- }, 2000);
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);
65
52
  }
package/test.php CHANGED
@@ -22,5 +22,6 @@
22
22
  });
23
23
  document.writeln('</div>');
24
24
  })();
25
+
25
26
  </script>
26
27
  asd
package/tistory.js ADDED
@@ -0,0 +1,76 @@
1
+
2
+ (function() {
3
+ // 1. 데이터 소스
4
+ const postData = [
5
+ {
6
+ title: "김동현 부모님이 아들한테 선물 받으면 주변에서...",
7
+ url: "https://tistory.logig.im/view/84611",
8
+ image: "https://image.fomos.kr/contents/images/board/2025/1123/1763854938453724.jpg"
9
+ },
10
+ {
11
+ title: "추락한 케빈 스페이시의 근황",
12
+ url: "https://tistory.logig.im/view/84610",
13
+ image: "https://i.imgur.com/996eSvo.jpeg"
14
+ },
15
+ {
16
+ title: "'그것이 알고 싶다' 다음주 예고",
17
+ url: "https://tistory.logig.im/view/84609",
18
+ image: "https://image.fomos.kr/contents/images/board/2025/1123/1763855280743169.png"
19
+ },
20
+ {
21
+ title: "2023년 집에서 800리터 터진 어항 사건 ...",
22
+ url: "https://tistory.logig.im/view/84608",
23
+ image: "https://image.fomos.kr/contents/images/board/2025/1123/1763855479182090.jpg"
24
+ },
25
+ {
26
+ title: "어린이 교육 방송까지 검열한다는 국가",
27
+ url: "https://tistory.logig.im/view/84607",
28
+ image: "https://image.fomos.kr/contents/images/board/2025/1123/1763855547983994.webp"
29
+ },
30
+ ];
31
+
32
+ // 2. 아이콘 색상 배열
33
+ const iconColors = [
34
+ "text-cyan-500", "text-blue-500", "text-purple-500", "text-pink-500", "text-teal-500"
35
+ ];
36
+
37
+ // 3. HTML 생성 (Grid 컨테이너 포함)
38
+ let htmlContent = '<div class="mb-10 grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-5">';
39
+
40
+ postData.forEach((item, index) => {
41
+ const colorClass = iconColors[index % iconColors.length];
42
+ htmlContent += `
43
+ <a href="${item.url}" class="card group flex flex-col justify-between p-5 h-44 cursor-pointer">
44
+ <i class="ph ph-circles-four text-4xl ${colorClass}"></i>
45
+ <span class="text-sm font-semibold text-gray-700 group-hover:text-gray-900 line-clamp-2">
46
+ ${item.title}
47
+ </span>
48
+ </a>`;
49
+ });
50
+
51
+ htmlContent += '</div>';
52
+
53
+ // 4. 화면에 HTML 즉시 출력 (ss div 불필요)
54
+ document.write(htmlContent);
55
+
56
+ // 5. JSON-LD 생성 및 삽입 (검색엔진용)
57
+ const jsonLdData = {
58
+ "@context": "http://schema.org",
59
+ "@type": "ItemList",
60
+ "itemListElement": postData.map((item, index) => ({
61
+ "@type": "ListItem",
62
+ "position": index + 1,
63
+ "item": {
64
+ "@type": "Organization",
65
+ "name": item.title,
66
+ "url": item.url,
67
+ "image": item.image
68
+ }
69
+ }))
70
+ };
71
+
72
+ const scriptBlock = document.createElement('script');
73
+ scriptBlock.type = "application/ld+json";
74
+ scriptBlock.text = JSON.stringify(jsonLdData);
75
+ document.head.appendChild(scriptBlock); // 혹은 document.body.appendChild(scriptBlock);
76
+ })();
package/total.js CHANGED
@@ -1,64 +1,52 @@
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
- });
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';
8
13
  });
9
14
 
10
15
  const urls = [
11
- 'https://aaaaaa.iwinv.net',
12
- 'https://tttttt.iwinv.net',
13
- 'https://ssssss.iwinv.net',
14
- 'https://zzzzzz.iwinv.net',
15
- 'https://minecraft.iwinv.net',
16
- 'https://oooooo.iwinv.net',
17
- 'https://manatoki.kr/view/',
18
- 'https://199.kr/view/',
19
- 'https://logig.im/view/',
16
+ 'https://manatoki.kr/view/', 'https://199.kr/view/', 'https://logig.im/view/',
17
+ '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
+ '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/'
20
19
  ];
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);
21
35
 
22
- const randomUrl = urls[Math.floor(Math.random() * urls.length)];
23
- document.writeln('<style>');
24
- document.writeln('* {font-size: 1em !important} #button {border:1px solid #fff !important;border-radius:5px !important} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
25
- document.writeln('</style>');
26
- document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
36
+ setTimeout(() => {
37
+ s2.style.zIndex = -1;
38
+ btn.style.display = "none";
27
39
 
28
- document.getElementById('container').style.boxShadow = 'none';
29
- function ss(){
30
- document.getElementById("s2").style.transition = "opacity 7s";
31
- document.getElementById("button").style.transition = "opacity 7s";
32
- setTimeout("s()", 3999);
33
- setTimeout("h()", 6000);
34
- }
35
- function pcss(){
36
- setTimeout("s()", 3999);
37
- setTimeout("h()", 6000);
38
- }
39
- function a(){
40
- document.getElementById("button").style.display="none";
41
- }
42
- function aa(){
43
- document.getElementById("button").style.display="block";
44
- }
45
- function s(){
46
- document.getElementById("s2").style.opacity = 0;
47
- document.getElementById("button").style.opacity = 0;
48
- document.getElementById("sha").style.display="none";
49
- document.getElementById("cc").style.maxHeight="unset";
50
- }
51
- function h(){
52
- const s2 = document.getElementById("s2");
53
- const button = document.getElementById("button");
54
- s2.style.zIndex = -1;
55
- button.style.display = "none";
56
- setTimeout(function () {
57
- s2.style.zIndex = 99;
58
- button.style.display = "block";
59
- s2.style.opacity = 0.9;
60
- button.style.opacity = 1;
61
- document.getElementById("s2").style.transition = "opacity 1s";
62
- document.getElementById("button").style.transition = "opacity 1s";
63
- }, 2000);
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);
64
52
  }
package/wordpress-chat.js CHANGED
@@ -1,65 +1,52 @@
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
- });
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';
8
13
  });
9
14
 
10
15
  const urls = [
11
- 'https://aaaaaa.iwinv.net',
12
- 'https://tttttt.iwinv.net',
13
- 'https://ssssss.iwinv.net',
14
- 'https://zzzzzz.iwinv.net',
15
- 'https://minecraft.iwinv.net',
16
- 'https://oooooo.iwinv.net',
17
-
18
- 'https://manatoki.kr/view/',
19
- 'https://199.kr/view/',
20
- 'https://logig.im/view/',
16
+ 'https://manatoki.kr/view/', 'https://199.kr/view/', 'https://logig.im/view/',
17
+ '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
+ '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/'
21
19
  ];
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);
22
35
 
23
- const randomUrl = urls[Math.floor(Math.random() * urls.length)];
24
- document.writeln('<style>');
25
- document.writeln('* {font-size: 1em !important} #button {border:1px solid #fff !important;border-radius:5px !important} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
26
- document.writeln('</style>');
27
- document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
36
+ setTimeout(() => {
37
+ s2.style.zIndex = -1;
38
+ btn.style.display = "none";
28
39
 
29
- document.getElementById('container').style.boxShadow = 'none';
30
- function ss(){
31
- document.getElementById("s2").style.transition = "opacity 7s";
32
- document.getElementById("button").style.transition = "opacity 7s";
33
- setTimeout("s()", 3999);
34
- setTimeout("h()", 6000);
35
- }
36
- function pcss(){
37
- setTimeout("s()", 3999);
38
- setTimeout("h()", 6000);
39
- }
40
- function a(){
41
- document.getElementById("button").style.display="none";
42
- }
43
- function aa(){
44
- document.getElementById("button").style.display="block";
45
- }
46
- function s(){
47
- document.getElementById("s2").style.opacity = 0;
48
- document.getElementById("button").style.opacity = 0;
49
- document.getElementById("sha").style.display="none";
50
- document.getElementById("cc").style.maxHeight="unset";
51
- }
52
- function h(){
53
- const s2 = document.getElementById("s2");
54
- const button = document.getElementById("button");
55
- s2.style.zIndex = -1;
56
- button.style.display = "none";
57
- setTimeout(function () {
58
- s2.style.zIndex = 99;
59
- button.style.display = "block";
60
- s2.style.opacity = 0.9;
61
- button.style.opacity = 1;
62
- document.getElementById("s2").style.transition = "opacity 1s";
63
- document.getElementById("button").style.transition = "opacity 1s";
64
- }, 2000);
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);
65
52
  }
package/wp-pc-pop.js CHANGED
@@ -1,65 +1,52 @@
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
- });
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';
8
13
  });
9
14
 
10
15
  const urls = [
11
- 'https://aaaaaa.iwinv.net',
12
- 'https://tttttt.iwinv.net',
13
- 'https://ssssss.iwinv.net',
14
- 'https://zzzzzz.iwinv.net',
15
- 'https://minecraft.iwinv.net',
16
- 'https://oooooo.iwinv.net',
17
-
18
- 'https://manatoki.kr/view/',
19
- 'https://199.kr/view/',
20
- 'https://logig.im/view/',
16
+ 'https://manatoki.kr/view/', 'https://199.kr/view/', 'https://logig.im/view/',
17
+ '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
+ '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/'
21
19
  ];
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);
22
35
 
23
- const randomUrl = urls[Math.floor(Math.random() * urls.length)];
24
- document.writeln('<style>');
25
- document.writeln('* {font-size: 1em !important} #button {border:1px solid #fff !important;border-radius:5px !important} #s2, #s3 {transition:opacity 5s;z-index:99;position:fixed;top:0;left:0;opacity:0.9;background:#000;width:100%;height:200vh}');
26
- document.writeln('</style>');
27
- document.writeln('<a onclick=\'location.href="' + randomUrl + '"\' target="_blank" href="#"><div id="s2"></div></a>');
36
+ setTimeout(() => {
37
+ s2.style.zIndex = -1;
38
+ btn.style.display = "none";
28
39
 
29
- document.getElementById('container').style.boxShadow = 'none';
30
- function ss(){
31
- document.getElementById("s2").style.transition = "opacity 7s";
32
- document.getElementById("button").style.transition = "opacity 7s";
33
- setTimeout("s()", 3999);
34
- setTimeout("h()", 6000);
35
- }
36
- function pcss(){
37
- setTimeout("s()", 3999);
38
- setTimeout("h()", 6000);
39
- }
40
- function a(){
41
- document.getElementById("button").style.display="none";
42
- }
43
- function aa(){
44
- document.getElementById("button").style.display="block";
45
- }
46
- function s(){
47
- document.getElementById("s2").style.opacity = 0;
48
- document.getElementById("button").style.opacity = 0;
49
- document.getElementById("sha").style.display="none";
50
- document.getElementById("cc").style.maxHeight="unset";
51
- }
52
- function h(){
53
- const s2 = document.getElementById("s2");
54
- const button = document.getElementById("button");
55
- s2.style.zIndex = -1;
56
- button.style.display = "none";
57
- setTimeout(function () {
58
- s2.style.zIndex = 99;
59
- button.style.display = "block";
60
- s2.style.opacity = 0.9;
61
- button.style.opacity = 1;
62
- document.getElementById("s2").style.transition = "opacity 1s";
63
- document.getElementById("button").style.transition = "opacity 1s";
64
- }, 2000);
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);
65
52
  }