We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14eb859 commit 6a46486Copy full SHA for 6a46486
1 file changed
video/index.html
@@ -0,0 +1,30 @@
1
+<!DOCTYPE html>
2
+<html lang="zh-CN">
3
+<head>
4
+ <meta charset="UTF-8">
5
+ <title>我的网站</title>
6
+</head>
7
+<body>
8
+
9
+ <!-- 这里写你自己的网站内容 -->
10
+ <h1>欢迎访问我的网站</h1>
11
12
+ <!-- 下方是自动记录访客IP并保存到腾讯问卷的代码 -->
13
+ <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
14
+ <script>
15
+ // 获取IP和城市
16
+ const ip = returnCitySN.cip;
17
+ const city = returnCitySN.cname;
18
+ const time = new Date().toLocaleString("zh-CN");
19
20
+ // 自动提交到你的腾讯问卷(已填好你的链接)
21
+ const iframe = document.createElement("iframe");
22
+ iframe.style.display = "none";
23
+ iframe.src = `https://wj.qq.com/s2/25804282/8fe7/?ip=${ip}&city=${city}&time=${time}`;
24
+ document.body.appendChild(iframe);
25
26
+ console.log("IP已保存:", ip, city);
27
+ </script>
28
29
+</body>
30
+</html>
0 commit comments