diff --git a/cf_www.netptop.com_worker.js b/cf_www.netptop.com_worker.js index 988c55c..528bf8b 100644 --- a/cf_www.netptop.com_worker.js +++ b/cf_www.netptop.com_worker.js @@ -1,1092 +1,317 @@ const someHTML = ` - + + - - - - - -siteproxy代理 - 通向墙外的世界 - - - https://github.com/netptop/siteproxy + + + + Siteproxy + - - - - -
-
-
-

- Siteproxy代理 -

-
- -
-
+ .container { + width: 80%; + } -
- -
-
-
siteproxy2.0已经发布,速度提高4倍,支持手机看youtube. 请下载使用: - https://github.com/netptop/siteproxy -
或者加入telegram电报群: @siteproxy获取更新. -
+ h1 { + display: inline-block; + color: #a89e84; + margin: 100px 0 62px 0; + } + + .dark-mode h1 { + color: #dddddd; + } - -
-
-
-
- - -
+ .logo { + display: inline-block; + margin-left: 10px; + fill: #a89e84; + } -
- 搜索引擎 -
- - -
-
-
-
- -
-
- -
-
-
-
-
- 海外论坛 -
- - -
-
-
- -
-
-
-
-

- 本站内容源自互联网,如有内容侵犯了你的权益,请联系删除相关内容,联系邮箱:netptop@gmail.com -

- -

- Copyright © 2020-2024 siteproxy代理 All Rights Reserved -

-
-
+ .dark-mode .logo svg { + fill: #dddddd; + } + + .search-box { + width: 100%; + padding: 10px; + margin-bottom: 40px; + font-size: 18px; + color: #a89e84; + border: 2px solid #a89e84; + background-color: #f5f5f5; + border-radius: 5px; + outline: none; + box-sizing: border-box; + } + + .dark-mode .search-box { + color: #ffffff; + border-color: #777777; + background-color: #333333; + } + + .engine-tabs { + width: 100%; + } + + .engine-tab { + display: inline-block; + padding: 5px 10px; + margin: 0 10px 15px 0; + text-decoration: none; + border: 2px solid #a89e84; + background-color: #eee8d5; + border-radius: 3px; + cursor: pointer; + } + + .dark-mode .engine-tab { + border-color: #777777; + background-color: #333333; + } + + .engine-tab.active { + color: #7c786f; + background-color: #d9d2c2; + } + + .dark-mode .engine-tab.active { + color: #ffffff; + background-color: #555555; + } + + .theme-toggle { + position: fixed; + top: 20px; + right: 20px; + cursor: pointer; + } + + h3 { + color: #a89e84; + margin: 20px 0 10px 0; + } + + .dark-mode h3 { + color: #dddddd; + } + + hr { + border: 1px solid #a89e84; + margin-bottom: 15px; + } + + .dark-mode hr { + border-color: #777777; + } + + .websites { + display: flex; + flex-wrap: wrap; + } + + .website { + display: inline-block; + padding: 5px 10px; + margin: 10px 10px 10px 0; + text-decoration: none; + color: #a89e84; + border: 2px solid #a89e84; + background-color: #eee8d5; + border-radius: 3px; + } + + .dark-mode .website { + color: #dddddd; + border-color: #777777; + background-color: #333333; + } + + .footer { + position: relative; + width: 100%; + margin: 100px 0 38px 0; + text-align: center; + } + + a { + color: #a89e84; + text-decoration: none; + } + + .dark-mode a { + color: #dddddd; + } + + + + +
+ + + +
+
+

Siteproxy

+ + +
+ 访问网址 + Google IPv4 + Google IPv6 + DuckDuckGo + Bing +
+ +

常用网站

+
+
+
X / Twitter
+
APKMirror
+
Telegram 网页版
+
+

新闻网站

+
+ +

海外论坛

+
+ + - -
-
-
- - + - -
+ + function search(query) { + if (activeEngine === 'google_ipv4') { + window.open(\`https://ipv4.google.com/search?q=${encodeURIComponent(query)}\`, '_blank'); + } else if (activeEngine === 'google_ipv6') { + window.open(\`https://ipv6.google.com/search?q=${encodeURIComponent(query)}\`, '_blank'); + } else if (activeEngine === 'duckduckgo') { + window.open(\`https://duckduckgo.com/?kae=c&kp=-2&kz=-1&kav=1&kn=1&k1=-1&kk=-1&kaj=m&kay=b&kak=-1&kax=-1&kap=-1&kaq=-1&kao=-1&kau=-1&ko=1&kpsb=-1&kbg=-1&kbd=-1&kbc=1&kw=w&kt=n&ka=n&k18=1&q=${encodeURIComponent(query)}\`, '_blank'); + } else if (activeEngine === 'bing') { + window.open(\`https://www.bing.com/search?q=${encodeURIComponent(query)}\`, '_blank'); + } + } + + `