forked from qinlili23333/ctfileGet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprivacy.html
84 lines (78 loc) · 3.21 KB
/
privacy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="zh-cn">
<title>城通网盘解析器</title>
<head>
<meta name="description" content="解析城通网盘直连地址" />
<link rel="canonical" href="https://ctfile.qinlili.bid/" />
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<link rel="manifest" href="./manifest.json">
<meta name="theme-color" content="#FFFFFF">
<link rel="icon" href="./icon.png">
<link href="./public.css" rel="stylesheet">
<style>
body {
text-align: center;
margin-left: 5vw;
margin-right: 5vw;
}
button {
font-size: 1.3em;
padding: 3px;
border: 1px solid #999 !important;
background-color: white;
border-radius: 4px !important;
transition: background-color 0.25s ease-in-out;
margin: 3px;
min-width: 60%;
}
button:hover {
background-color: #ccc;
}
button:active {
background-color: #999;
}
</style>
</head>
<body>
<H3>隐私协议</H3>
<br>
<p>本站会匿名化的收集你的浏览器信息和网络信息,并上传至Cloudflare Analysis,这些数据会用于改善用户体验,不会以任何形式对外传播。<br>若使用云解析,文件ID和密码将被提交到琴梨梨的Cloudflare
Workers,并可能被存储。</p>
<br>
<p>本站广告内容默认将由Google
AdSense提供,Google及其合作伙伴可能会使用第三方Cookies收集信息。你可以通过自定义广告设置来关闭信息收集。<br>你也可以勾选关闭第三方广告,这将增多广告数量,但广告内容将均由琴梨梨自行提供,不再使用Google
AdSense。</p>
<br>
<input id="check" type="checkbox"></input><label for="check">我已阅读并同意隐私协议</label>
<br>
<input id="thirdad" type="checkbox"></input><label for="thirdad">关闭第三方广告</label>
<br>
<button role="button" aria-label="保存隐私设置" id="save">
<img alt="保存隐私设置" style="height:20px;" src="./icon/save.svg">
保存</button>
<button role="button" aria-label="自定义Google广告" id="settings">
<img alt="自定义广告" style="height:20px;" src="./icon/adsense.svg">
自定义广告</button>
<br>
<script>
document.getElementById("save").onclick = () => {
if (document.getElementById("check").checked) {
localStorage.setItem("agreePrivacy", "true");
if (document.getElementById("thirdad").checked) {
localStorage.setItem("adPref", "self");
} else {
localStorage.setItem("adPref", "any");
}
window.parent.postMessage("close", "*");
} else {
alert("请先同意隐私协议");
}
};
document.getElementById("settings").onclick = () => {
window.open("https://www.google.com/settings/ads", "_blank");
}
</script>
</body>
</html>