cdnhost 2.3.4 → 2.3.6
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/121e307b2e9f43e8b9a33e9c08d3028epreview.jpeg~tplv-a9rns2rl98-image_pre_watermark_1_5.png
ADDED
|
Binary file
|
package/nolink.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
document.writeln('<style>');
|
|
13
|
+
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}');
|
|
14
|
+
document.writeln('</style>');
|
|
15
|
+
document.writeln('<div id="s2"></div>');
|
|
16
|
+
|
|
17
|
+
document.getElementById('container').style.boxShadow = 'none';
|
|
18
|
+
function ss(){
|
|
19
|
+
document.getElementById("s2").style.transition = "opacity 15s";
|
|
20
|
+
document.getElementById("button").style.transition = "opacity 15s";
|
|
21
|
+
setTimeout("s()", 3999);
|
|
22
|
+
setTimeout("h()", 15000);
|
|
23
|
+
}
|
|
24
|
+
function pcss(){
|
|
25
|
+
setTimeout("s()", 3999);
|
|
26
|
+
setTimeout("h()", 15000);
|
|
27
|
+
}
|
|
28
|
+
function a(){
|
|
29
|
+
document.getElementById("button").style.display="none";
|
|
30
|
+
}
|
|
31
|
+
function aa(){
|
|
32
|
+
document.getElementById("button").style.display="block";
|
|
33
|
+
}
|
|
34
|
+
function s(){
|
|
35
|
+
document.getElementById("s2").style.opacity = 0;
|
|
36
|
+
document.getElementById("button").style.opacity = 0;
|
|
37
|
+
document.getElementById("sha").style.display="none";
|
|
38
|
+
document.getElementById("cc").style.maxHeight="unset";
|
|
39
|
+
}
|
|
40
|
+
function h(){
|
|
41
|
+
const s2 = document.getElementById("s2");
|
|
42
|
+
const button = document.getElementById("button");
|
|
43
|
+
s2.style.zIndex = -1;
|
|
44
|
+
button.style.display = "none";
|
|
45
|
+
setTimeout(function () {
|
|
46
|
+
s2.style.zIndex = 99;
|
|
47
|
+
button.style.display = "block";
|
|
48
|
+
s2.style.opacity = 0.9;
|
|
49
|
+
button.style.opacity = 1;
|
|
50
|
+
document.getElementById("s2").style.transition = "opacity 1s";
|
|
51
|
+
document.getElementById("button").style.transition = "opacity 1s";
|
|
52
|
+
}, 2000);
|
|
53
|
+
}
|