From ac3c78e97873228f1a3c32e70de40e462ac43732 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 26 Jul 2022 17:05:35 +0800 Subject: [PATCH 001/722] rebuilding site Tue Jul 26 05:05:34 PM CST 2022 --- en/searchurl/cmds.html | 25 +++++--- en/searchurl/search.html | 10 ++++ en/searchurl/txt/cmds.cfg | 2 + zh/adblock_domain/index.html | 2 +- zh/searchurl/default.hosts | 31 ++++++++++ zh/searchurl/search.html | 5 +- zh/searchurl/txt/mdict.html | 110 +++-------------------------------- 7 files changed, 72 insertions(+), 113 deletions(-) create mode 100644 en/searchurl/txt/cmds.cfg create mode 100644 zh/searchurl/default.hosts diff --git a/en/searchurl/cmds.html b/en/searchurl/cmds.html index 3de9601b..09e1b659 100644 --- a/en/searchurl/cmds.html +++ b/en/searchurl/cmds.html @@ -10,17 +10,24 @@ Click the following links to install commands with uweb Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh). Clipboard broadcast needs socat(apt install socat)。 Clipboard2QR needs libqrencode.

+

More commands (click to install)

+

mdme: Show local markdown file

+

texme: Show local tex+markdown file

+

markdeep: Show local markdown+tex+diagrams file

+

remark slide: slide show for local markdown file

+

Code editor, open url in clipboard etc.

".cmds" file format

-

Each line has the following format: -[Name]:[mimetype]:[command line]

+

Each line has the following format:
[Name]:[mimetype]:[command line]

[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title). -[mimetype] have the following formats: -- regular mimetype such as "text/html" to indicate the content type of the command output. -- "clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard. -- "/clip": copy the command output to clipboard. -- "clip/text/html" : clipboard as input, and the command output is processed as "text/html". -- "termux/*": command line is executed under termux. -- "/uweb": the command output is processed as links.

+[mimetype] have the following formats:

+ diff --git a/en/searchurl/search.html b/en/searchurl/search.html index 2442d383..b73a9e74 100644 --- a/en/searchurl/search.html +++ b/en/searchurl/search.html @@ -95,6 +95,16 @@ Engines that can use as documentation:

yandex:https://yandex.com/search/?text=

searx:https://searchx.mobi/?q=

+Medical:
+

merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=

+

openmd:https://openmd.com/search?q=

+

medical-dict:https://medical-dictionary.com/results.php?term=

+

ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=

+

healio:https://journals.healio.com/action/doSearch?AllField=

+

pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=

+

pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=

+

Tabers:https://www.tabers.com/tabersonline/search?st=OSS&q=

+

Cloud storage:

Scholar:
diff --git a/en/searchurl/txt/cmds.cfg b/en/searchurl/txt/cmds.cfg new file mode 100644 index 00000000..c9d14517 --- /dev/null +++ b/en/searchurl/txt/cmds.cfg @@ -0,0 +1,2 @@ +open clipboard link:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+' +code editor:text/html:printf "

Run

+                
+            
+
+        
+        
+
+ + +
+
+
+

chat with bing

+
+
+
+

More

+

Creative

+
+
+

More

+

Balanced

+
+
+

More

+

Precise

+
+
+
+
+
+
+ I am ready to chat +
+
+ 0 / 0 +
+
+
+
+
+
+ + + + + + + + + + + + diff --git a/en/searchurl/bingAI/css/bing.css b/en/searchurl/bingAI/css/bing.css new file mode 100644 index 00000000..8fce3247 --- /dev/null +++ b/en/searchurl/bingAI/css/bing.css @@ -0,0 +1,595 @@ +/* 头部分 */ + +#head { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 4rem; + display: flex; + align-items: center; + justify-content: space-between; + backdrop-filter: blur(10px); + background-color: #ffffff78; + z-index: 99; +} + +#head-img-div { + height: 100%; + display: flex; + justify-content: flex-start; + align-items: center; +} + +#head-img-div>img { + height: 100%; +} + +#head-img-div-h2-img>* { + margin: 0; +} + +#head-li-div { + margin-right: 2rem; +} + + +/* 背景*/ + +#background { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -1; + background: repeating-linear-gradient(359deg, rgb(182 196 255) 0%, rgb(207 225 255 / 78%) 100%); + transition: filter 1s; +} + +#background.a { + filter: hue-rotate(10deg); +} + +#background.b { + filter: hue-rotate(-5deg); +} + +#background.c { + filter: hue-rotate(-20deg); +} + + +/* 尾部分 */ + +#tail { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + height: 7rem; + display: flex; + justify-content: center; + backdrop-filter: blur(10px); + background-color: #ffffff78; + flex-direction: column-reverse; + align-items: center; + z-index: 99; +} + +#SearchSuggestions { + position: fixed; + top: -3rem; + display: flex; + flex-wrap: nowrap; + flex-direction: row; + justify-content: center; + align-items: center; + width: 100%; + transition: opacity 0.2s +} + +#SearchSuggestions>a { + backdrop-filter: blur(10px); + background-color: #ffffff82; + border-radius: 2rem; + padding: 0.5rem; + font-size: 0.9rem; + margin: 0.2rem; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + transition: flex 0.5s; +} + +#SearchSuggestions>a:hover { + cursor: pointer; + background-color: #ffffff; + flex: none; +} + +#tail-in { + display: flex; + width: 80%; + align-items: center; + justify-content: center; + height: 80%; +} + + +#restart:hover , +#restartNewChat:hover +{ + background-color: #ffffff; + cursor: pointer; +} + +#restart , +#restartNewChat +{ + border: 0; + border-radius: 1.5rem; + background-color: #ffffff9e; + height: 100%; + font-size: 0.8rem; + transition: all 0.5s; + overflow: hidden; + white-space: normal; +} + +#restart { + width: 0; + margin: 0; + padding: 0; + opacity: 0; +} + +body:has(.my) #restart { + width: 5rem; + margin-right: 0.5rem; + padding: 0; + opacity: 1; +} + +#restartNewChat{ + width: 5rem; + margin-right: 0.5rem; +} + +#restartNewChat.onShow{ + width: 0; + margin: 0; + padding: 0; + opacity: 0; +} + +#send { + border: 0; + margin: 0 1rem 1rem 0; + border-radius: 2rem; + background-color: #005fff38; + height: 1.8rem; + font-size: 0.8rem; + cursor: pointer; + min-width: 3rem; + transition: all 0.5s; +} + +#send:hover { + background-color: #005fff80; +} + +#input { + border: none; + resize: none; + outline: none; + width: 100%; + background-color: #ffffff00; + margin: 1rem 0 1rem 1rem; + height: -webkit-fill-available; +} + +#input:focus-visible { + border: 0; +} + +#input-div { + border-radius: 1.5rem; + flex: 1; + height: 100%; + background-color: #ffffff; + margin: 0 0; + display: flex; + flex-direction: row; + align-items: flex-end; + transition: all 0.5s; +} + + +/* 页面部分 */ +body { + overflow-x: hidden; +} + +#body-top { + height: 20vh; + width: 100%; +} + +#body-bottom { + height: 15rem; + width: 100%; +} + + +/* 聊天选项部分 */ + +#chatTypeDiv { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + flex-wrap: nowrap; + margin-bottom: 7rem; + transition: all 0.5s; +} + +#chatTypeDiv>.chatTypeChose { + background-color: #ffffffcc; + border-radius: 2rem; + width: 9rem; + height: 4rem; + margin: 1rem 0.3rem; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border: 0.5rem solid #ffffffcc; + cursor: pointer; +} + +#chatTypeDiv>.chatTypeChose>p { + margin: 0; + text-align: center; +} + +#chatTypeDiv>.chatTypeChose>h3 { + margin: 0; + text-align: center; +} + +#chatTypeChoseCreate.Chose { + background-color: #904887; + color: white; + cursor: default; +} + +#chatTypeChoseBalance.Chose { + background-color: #2870EA; + color: white; + cursor: default; +} + +#chatTypeChoseAccurate.Chose { + background-color: #006880; + color: white; + cursor: default; +} + + +/* 聊天部分,在页面内 */ +@keyframes acceptMeaaage { + from { + margin-top: 1em; + margin-left: -4em; + opacity: 0; + } + + to {} +} + +@keyframes sendMeaaage { + from { + margin-top: 1em; + margin-right: -4em; + opacity: 0; + } + + to {} +} + +.bing, +.my { + margin-bottom: 2rem; +} + +.bing { + display: grid; + justify-items: start; +} + +.bing>* { + animation: acceptMeaaage 0.5s; +} + +.my>* { + animation: sendMeaaage 0.5s; +} + +.my { + text-align: right; + font-size: 1.3rem; +} + +.InternalSearchQuery, +.InternalLoaderMessage { + margin-left: 1rem; + font-size: 1rem; +} + +.InternalSearchQuery>p, +.InternalLoaderMessage>p { + margin: 0; + margin-bottom: 1rem; +} + +.adaptiveCardsFatherDIV, +.my>.bobo { + display: inline-block; + background-color: #ffffff; + border-radius: 1rem; + padding: 1rem 1rem; + max-width: 85vw; + margin-bottom: 1rem; + text-align: left; +} + +.adaptiveCardsFatherDIV .throttling { + text-align: end; + font-size: 0.4rem; + margin-top: 0.5rem; + margin-bottom: -0.8rem; + border-top: 1px solid #0000005c; +} + +.bing>.sourceAttributions { + font-size: 0.9rem; + max-width: 85vw; + margin: 0; + margin-bottom: 1rem; + display: inline-flex; + flex-direction: row; + flex-wrap: nowrap; + align-items: center; + background-color: #ffffff57; + border-radius: 2rem; + padding: 0.5rem; +} + +.bing:has(.sourceAttributions) .adaptiveCardsFatherDIV { + margin-bottom: 1em; +} + + +.bing>.sourceAttributions>a { + display: inline-block; + background-color: #ffffff73; + border-radius: 1rem; + padding: 0.5rem; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + margin: 0.1rem; + color: #000000; + text-decoration: none; + transition: flex 0.5s; +} + +.bing>.sourceAttributions>a:hover { + background-color: #ffffffb3; + flex: none; +} + + +/* 上标 */ + +#chat .superscript { + display: inline-block; + vertical-align: super; + border: 0.1rem solid #0969da; + border-radius: 1em; + min-width: 1em; + text-align: center; + line-height: 1em; + font-size: small; + color: #0969da; +} + +#chat .superscript:hover { + background-color: #00000024; +} + +/*暂时不知道如何解析的渲染卡片请求*/ +.RenderCardRequest { + border-radius: 1em; + background-color: white; + overflow: auto; + padding: 1em; + width: 85vw; + max-width: 1100px; +} + +.RenderCardRequest>iframe { + min-width: 768px; + width: 100%; + height: 602px; + border: 0; +} + + + +/* 画图部分 */ + +.GenerateContentQuery { + background-color: #ffffff; + border-radius: 1rem; + max-width: 85%; + margin-bottom: 1rem; + text-align: center; + font-size: 1rem; + padding: 1rem; + overflow: hidden; + display: inline-table; +} + +.GenerateContentQuery>img { + max-width: 24%; + margin: 0.5%; + transition: all 0.8s; + cursor: pointer; +} + +.GenerateContentQuery>img:hover { + margin: 0.2% 0.8% 0.8% 0.2%; + box-shadow: #0000007a 2px 3px 5px 0px; + transition: all 0.3s; +} + + +/* 错误部分 */ + +#chat .error { + text-align: center; + color: red; +} + +.NoPower { + text-align: center; + color: #ff6d00; + cursor: pointer; + margin: 1rem; + text-decoration: underline; +} + + +/* 用于适配不同设备 */ + + +/* pc */ + +:root { + font-size: 1rem; +} + +div.markdown-body { + font-size: 1rem; + overflow: auto; +} + + +/* 窄窗口 */ +@media screen and (max-width:550px) { + + #tail-in:has(#input:focus-visible) #restart, + #tail-in:has(#input:hover) #restart, + #tail-in:has(#input:focus-visible) #restartNewChat, + #tail-in:has(#input:hover) #restartNewChat { + width: 0; + margin: 0; + padding: 0; + opacity: 0; + } + + .GenerateContentQuery>img { + max-width: 49%; + width: 49%; + } + + #tail-in { + width: 90%; + } + + .bing>.sourceAttributions { + flex-wrap: wrap; + } +} + +/*手机 css*/ + +@media screen and (orientation:portrait) and (max-device-width:800px) and (max-device-height:1000px) { + :root { + font-size: 2rem; + } + + div.markdown-body { + font-size: 1rem; + } + + .InternalSearchQuery, + .InternalLoaderMessage { + width: 90%; + } + + .InternalSearchQuery>p, + .InternalLoaderMessage>p { + font-size: 1rem; + } + + .bing>.sourceAttributions { + max-width: 88vw; + flex-wrap: wrap; + } + + .adaptiveCardsFatherDIV, + .my>.bobo { + max-width: 88vw; + } + + #tail-in { + width: 90%; + } + + #restart { + font-size: 1em; + } + + #input { + font-size: 1em; + } + + .GenerateContentQuery>img { + max-width: 49%; + width: 49%; + } + + #tail-in:has(#input:focus-visible) #restart, + #tail-in:has(#input:hover) #restart, + #tail-in:has(#input:focus-visible) #restartNewChat, + #tail-in:has(#input:hover) #restartNewChat { + width: 0; + margin: 0; + padding: 0; + opacity: 0; + } + + /* 聊天部分,在页面内 */ + @keyframes acceptMeaaage { + from { + margin-top: 1em; + margin-left: 0em; + opacity: 0; + } + + to {} + } + + @keyframes sendMeaaage { + from { + margin-top: 1em; + margin-right: 0em; + opacity: 0; + } + + to {} + } +} \ No newline at end of file diff --git a/en/searchurl/bingAI/js/ChatMessages.js b/en/searchurl/bingAI/js/ChatMessages.js new file mode 100644 index 00000000..fe8baa89 --- /dev/null +++ b/en/searchurl/bingAI/js/ChatMessages.js @@ -0,0 +1,65 @@ +let bingProposes = [ + '教我一个新单词', + '我需要有关家庭作业的帮助', + '我想学习一项新技能', + '最深的海洋是哪个?', + '一年有多少小时?', + "宇宙是如何开始的?", + "寻找非虚构作品", + '火烈鸟为何为粉色?', + '有什么新闻?', + '让我大笑', + '给我看鼓舞人心的名言', + '世界上最小的哺乳动物是什么?', + '向我显示食谱', + '最深的海洋是哪个?', + '为什么人类需要睡眠?', + '教我有关登月的信息', + '我想学习一项新技能', + '如何创建预算?', + '给我说个笑话', + '全息影像的工作原理是什么?', + '如何设定可实现的目标?', + '金字塔是如何建成的?', + '激励我!', + '宇宙是如何开始的?', + '如何制作蛋糕?' +]; + +let bingmMessages = [ + '好的,我已清理好板子,可以重新开始了。我可以帮助你探索什么?', + '明白了,我已经抹去了过去,专注于现在。我们现在应该探索什么?', + '重新开始总是很棒。问我任何问题!', + '好了,我已经为新的对话重置了我的大脑。你现在想聊些什么?', + '很好,让我们来更改主题。你在想什么?', + '谢谢你帮我理清头绪! 我现在能帮你做什么?', + '没问题,很高兴你喜欢上一次对话。让我们转到一个新主题。你想要了解有关哪些内容的详细信息?', + '谢谢你! 知道你什么时候准备好继续前进总是很有帮助的。我现在能为你回答什么问题?', + '当然,我已准备好进行新的挑战。我现在可以为你做什么?' +] + +let StartMessage = bingmMessages[0]; +let Proposes = [bingProposes[0],bingProposes[1],bingProposes[2]]; +/** +获取建议消息 +*/ +function nextStartProposes(){ + Proposes[0] = bingProposes[Math.floor(Math.random() * bingProposes.length)]; + Proposes[1] = bingProposes[Math.floor(Math.random() * bingProposes.length)]; + Proposes[2] = bingProposes[Math.floor(Math.random() * bingProposes.length)]; + return Proposes; +} +/* +获取bing的第一条消息 +*/ +function nextStartMessage(){ + return StartMessage = bingmMessages[Math.floor(Math.random() * bingmMessages.length)]; +} + +function getStartMessage(){ + return StartMessage; +} + +function getStartProposes(){ + return Proposes; +} \ No newline at end of file diff --git a/en/searchurl/bingAI/js/GetSet.js b/en/searchurl/bingAI/js/GetSet.js new file mode 100644 index 00000000..90b196e7 --- /dev/null +++ b/en/searchurl/bingAI/js/GetSet.js @@ -0,0 +1,39 @@ +async function setMagicUrl(url) { + localStorage.setItem('GoGoUrl',url); +} + +async function getMagicUrl() { + let v = localStorage.GoGoUrl; + if(v) return v; + return "https://mybing2.xn--xyza.top/"; +} + +// ture:开启使用魔法聊天|false:关闭使用魔法聊天|'repeat':开启聊天复用 +async function setChatHubWithMagic(user) { + localStorage.setItem('ChatHubWithMagic',user); +} +// ture|false|'repeat' +async function getChatHubWithMagic() { + let v = localStorage.ChatHubWithMagic; + if (v) return v; + return true; +} + +//设置上次创建的聊天 +async function setLastChatJson(json) { + localStorage.setItem('LastChatJson',json); +} + +//获取上次创建的聊天 +async function getLastChatJson() { + return localStorage.LastChatJson; +} + +//获取上次聊天聊到的消息id次数 +async function getLastChatInvocationId(){ + return localStorage.LastChatInvocationId; +} +//设置上次聊天聊到的消息id次数 +async function setLastInvocationId(invocationId){ + return localStorage.setItem('LastChatInvocationId',invocationId); +} diff --git a/en/searchurl/bingAI/js/bing.js b/en/searchurl/bingAI/js/bing.js new file mode 100644 index 00000000..b40110e9 --- /dev/null +++ b/en/searchurl/bingAI/js/bing.js @@ -0,0 +1,343 @@ +var chat = document.getElementById('chat'); +var searchSuggestions = document.getElementById('SearchSuggestions'); +searchSuggestions.style.opacity = 1; +var chatTypeDiv = document.getElementById('chatTypeDiv'); +var docTitle = document.getElementById('docTitle'); +var restart_button = document.getElementById('restart'); +var input_text = document.getElementById('input'); +var send_button = document.getElementById('send'); +let restartNewChat = document.getElementById('restartNewChat'); +var thisChatType; + +reSetStartChatMessage(); + +//(string) +function addMyChat(message) { + let bobo = document.createElement('div'); + bobo.style.whiteSpace = 'pre-wrap'; + bobo.innerText = message; + bobo.classList.add('bobo'); + bobo.classList.add('markdown-body'); + let go = document.createElement('div'); + go.classList.add('my'); + go.appendChild(bobo); + chat.appendChild(go); +} + +//(string) +function addError(message) { + let go = document.createElement('div'); + go.classList.add('error'); + go.innerHTML = message; + chat.appendChild(go); +} + +//尝试获取聊天权限按钮 +function addNoPower() { + let go = document.createElement('div'); + go.classList.add('NoPower'); + go.innerHTML = '点击尝试申请加入候补名单获取NewBing聊天权限'; + chat.appendChild(go); + go.onclick = () => { + if (go.geting) { + return; + } + go.geting = true; + go.innerHTML = '正在请求申请加入候补名单..'; + getPower().then((rett) => { + if (rett.ok == true) { + go.innerHTML = '请求成功!请刷新页面重试,如果无权限使用请等待几天后重试。' + return; + } + go.innerHTML = '发生错误:' + rett.message; + }); + } +} + +let onMessageIsOKClose = false; +//(json) +function onMessage(json, returnMessage) { + if (json.type == "close") { + isSpeakingFinish(); + if (!onMessageIsOKClose) { + addError("聊天异常中断了!可能是网络问题。"); + } + return; + } + if (json.type == 'error') { + addError("连接发生错误:" + json.mess); + return; + } + onMessageIsOKClose = false + if (json.type == 3) { + onMessageIsOKClose = true; + returnMessage.getCatWebSocket().close(1000, 'ok'); + } else if (json.type == 1) { + porserArguments(json.arguments); + } else if (json.type == 2) { + porserType2Item(json.item); + } else { + console.log(JSON.stringify(json)); + } +} + + +//页面逻辑 + + +//回车键发送 ctrl+回车换行 +input_text.addEventListener('keydown', (event) => { + if (event.key === 'Enter' && !event.altKey) { + event.preventDefault(); + //调用发送消息的函数 + send_button.onclick(); + } else if (event.key === 'Enter' && event.altKey) { + event.preventDefault(); + // 插入换行符 + input_text.value += "\n"; + } +}); + + +//全局变量 +var talk; +var returnMessage; +var isSpeaking = false; + + +/**重置聊天框和聊天建议到初始状态 */ +function reSetStartChatMessage(type) { + getChatHubWithMagic().then(async a => { + let t = 0; + if (a == 'repeat') { + t = await getLastChatInvocationId(); + } + chat.innerHTML = ` +
+
+
+ ${nextStartMessage(type)} +
+
+ ${t} / 0 +
+
+
+ `; + if(t>1){ + restartNewChat.classList.remove('onShow'); + }else{ + restartNewChat.classList.add('onShow'); + } + }); + searchSuggestions.innerHTML = ''; + let prs = nextStartProposes(); + prs.forEach((s) => { + let a = document.createElement('a'); + a.innerHTML = s; + a.onclick = (even) => { + if (searchSuggestions.style.opacity >= 1) { + send(even.target.innerHTML); + } + } + searchSuggestions.appendChild(a); + }); + docTitle.innerText = 'NewBingGoGo:聊天啦啦啦啦'; +} + +/**正在创建聊天 */ +function isAskingToMagic() { + isSpeaking = true; + send_button.value = '施法中.'; + searchSuggestions.innerHTML = ''; +} + +/**bing正在回复 */ +function isSpeakingStart(chatWithMagic, sendText) { + isSpeaking = true; + + if (sendText) { + docTitle.innerText = sendText; + } + send_button.value = '响应中.'; + searchSuggestions.innerHTML = ''; +} + +/**bing回复结束 */ +function isSpeakingFinish() { + isSpeaking = false; + send_button.value = 'submit'; +} + +function send(text) { + if (isSpeaking) { + return; + } + chatTypeDiv.style.opacity = 0; + addMyChat(text); + if (!talk) { + isAskingToMagic(); + createChat(thisChatType).then((r) => { + if (!r.ok) { + addError(r.message); + if (r.type == 'NoPower') { + addNoPower(); + } + isSpeakingFinish(); + return; + } + talk = r.obj; + isSpeakingStart(); + r = talk.sendMessage(text, onMessage); + if (!r.ok) { + isSpeakingFinish(); + addError(r.message); + return; + } + returnMessage = r.obj; + isSpeakingStart(r.chatWithMagic, text); + }); + return; + } else { + isSpeakingStart(); + let r = talk.sendMessage(text, onMessage) + if (!r.ok) { + isSpeakingFinish(); + addError(r.message); + return; + } + returnMessage = r.obj; + isSpeakingStart(r.chatWithMagic, text); + } +} + +send_button.onclick = () => { + if (isSpeaking) { + return; + } + let text = input_text.value; + input_text.value = ''; + input_update_input_text_sstyle_show_update({ target: input_text }); + if (!text) { + alert('什么都没有输入呀!'); + return; + } + send(text); +}; + +restart_button.onclick = () => { + onMessageIsOKClose = true; + if (returnMessage) { + returnMessage.getCatWebSocket().close(1000, 'ok'); + returnMessage = undefined; + } + talk = undefined; + isSpeakingFinish(); + reSetStartChatMessage(); + chatTypeDiv.style.opacity = 1; +}; + + + +//滚动到底部显示收聊天建议 + +// 定义一个函数处理滚动事件 +function handleScroll() { + // 获取文档的高度和滚动距离 + var docHeight = document.body.scrollHeight; + var scrollPos = window.pageYOffset; + // 如果滚动到底部,显示元素,否则隐藏元素 + if (scrollPos + window.innerHeight >= docHeight - 50) { + searchSuggestions.style.opacity = 1; + } else { + searchSuggestions.style.opacity = 0; + } +} +// 添加滚动事件监听器 +window.addEventListener("scroll", handleScroll); + + + + +//选择聊天类型,创造力,平衡,精准 +let backgroundDIV = document.getElementById('background'); +let chatTypeChoseCreate = document.getElementById('chatTypeChoseCreate'); +let chatTypeChoseBalance = document.getElementById('chatTypeChoseBalance'); +let chatTypeChoseAccurate = document.getElementById('chatTypeChoseAccurate'); +//默认平衡 +thisChatType = chatTypes.balance; +chatTypeChoseCreate.onclick = () => { + if (chatTypeDiv.style.opacity == 0) { + return; + } + chatTypeChoseCreate.classList.add('Chose'); + chatTypeChoseBalance.classList.remove('Chose'); + chatTypeChoseAccurate.classList.remove('Chose'); + thisChatType = chatTypes.create; + backgroundDIV.className = 'a'; + reSetStartChatMessage('create'); +} +chatTypeChoseBalance.onclick = () => { + if (chatTypeDiv.style.opacity == 0) { + return; + } + chatTypeChoseCreate.classList.remove('Chose'); + chatTypeChoseBalance.classList.add('Chose'); + chatTypeChoseAccurate.classList.remove('Chose'); + thisChatType = chatTypes.balance; + backgroundDIV.className = 'b'; + reSetStartChatMessage('balance'); +} +chatTypeChoseAccurate.onclick = () => { + if (chatTypeDiv.style.opacity == 0) { + return; + } + chatTypeChoseCreate.classList.remove('Chose'); + chatTypeChoseBalance.classList.remove('Chose'); + chatTypeChoseAccurate.classList.add('Chose'); + thisChatType = chatTypes.accurate; + backgroundDIV.className = 'c'; + reSetStartChatMessage('accurate'); +} + + +// "resourceTypes": [ +// "main_frame", +// "sub_frame", +// "stylesheet", +// "script", +// "image", +// "font", +// "object", +// "xmlhttprequest", +// "ping", +// "csp_report", +// "media", +// "websocket", +// "webtransport", +// "webbundle", +// "other" +// ] + + +//发送按钮出现逻辑 +function input_update_input_text_sstyle_show_update(v) { + if (v.target.value) { + send_button.style.opacity = 1; + } else { + send_button.style.opacity = 0; + } +} +input_text.addEventListener("input", input_update_input_text_sstyle_show_update); +input_update_input_text_sstyle_show_update({ target: input_text }); + + +//开始新聊天按钮逻辑,仅在聊天复用 +restartNewChat.onclick = async () => { + await setLastChatJson(null); + await setLastInvocationId(1); + restart_button.onclick(); +} + + + diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js new file mode 100644 index 00000000..a13f2c81 --- /dev/null +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -0,0 +1,483 @@ +var expUrl = new RegExp('^(https?://)([-a-zA-z0-9]+\\.)+([-a-zA-z0-9]+)+\\S*$'); +function timeString() { + var d = new Date(); + var year = d.getFullYear(); + var month = (d.getMonth() + 1).toString().padStart(2, "0"); + var date = d.getDate().toString().padStart(2, "0"); + var hour = d.getHours().toString().padStart(2, "0"); + var minute = d.getMinutes().toString().padStart(2, "0"); + var second = d.getSeconds().toString().padStart(2, "0"); + var offset = "+08:00"; // 你可以根据需要修改这个值 + var s = year + "-" + month + "-" + date + "T" + hour + ":" + minute + ":" + second + offset; + return s; +} + +function getUuidNojian() { + return URL.createObjectURL(new Blob()).split('/')[3].replace(/-/g, ''); +} + +function getUuid() { + return URL.createObjectURL(new Blob()).split('/')[3]; +} + +//聊天选项 +let chatTypes = { + //更有创造力选项 + create: [ + "nlu_direct_response_filter", + "deepleo", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "h3imaginative", + "clgalileo", + "gencontentv3", + "telmet", + "jbfv2", + "c2b47e4f", + "dv3sugg" + ], + //balance 平衡模式选项 + balance: [ + "nlu_direct_response_filter", + "deepleo", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "galileo", + "telmet", + "jbfv2", + "c2b47e4f", + "dv3sugg" + ], + //精准选项 + accurate: [ + "nlu_direct_response_filter", + "deepleo", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "h3precise", + "telmet", + "jbfv2", + "c2b47e4f", + "dv3sugg", + "clgalileo" + ] +} + +//接收消息类型 +let allowedMessageTypes = [ + "Chat", + "InternalSearchQuery", + "InternalSearchResult", + "Disengaged", + "InternalLoaderMessage", + "RenderCardRequest", + "AdsQuery", + "SemanticSerp", + "GenerateContentQuery", + "SearchQuery" +] + +//切片id,也不知道是啥意思,反正官网的更新了 +let sliceIds = [ + "semserpsup3", + "styleqnatg", + "lgintsuppcf", + "sydpayajax", + "toneexp", + "327telmet", + "325contents0", + "324jbfv2", + "303hubcancls0", + "321jobsgndv0", + "328throt", + "328postclss0" +] + +class SendMessageManager { + //(会话id,客户端id,签名id,是否是开始) + //(string,string,string,boolena) + constructor(conversationId, clientId, conversationSignature,invocationId) { + this.startTime = timeString(); + this.invocationId = invocationId==undefined?1:invocationId; + this.conversationId = conversationId; + this.clientId = clientId; + this.conversationSignature = conversationSignature; + this.optionsSets = chatTypes.balance; + } + + //chatTypes中的一种 + setChatType(chatType) { + this.optionsSets = chatType; + } + + //发送json数据 + sendJson(chatWebSocket, json) { + let go = JSON.stringify(json) + '\u001e'; + chatWebSocket.send(go); + console.log('发送', go) + } + //获取用于发送的握手数据 + //(WebSocket) + sendShakeHandsJson(chatWebSocket) { + this.sendJson(chatWebSocket, { + "protocol": "json", + "version": 1 + }); + } + //获取用于发送的聊天数据 + //(WebSocket,sreing) + sendChatMessage(chatWebSocket, chat) { + let pos = getStartProposes(); + let previousMessages = [{ + "text": getStartMessage(), + "author": "bot", + "adaptiveCards": [], + "suggestedResponses": [{ + "text": pos[0], + "contentOrigin": "DeepLeo", + "messageType": "Suggestion", + "messageId": getUuid(), + "offense": "Unknown" + }, { + "text": pos[1], + "contentOrigin": "DeepLeo", + "messageType": "Suggestion", + "messageId": getUuid(), + "offense": "Unknown" + }, { + "text": pos[2], + "contentOrigin": "DeepLeo", + "messageType": "Suggestion", + "messageId": getUuid(), + "offense": "Unknown" + }], + "messageId": getUuid(), + "messageType": "Chat" + }]; + let json = { + "arguments": [{ + "source": "cib", + "optionsSets": this.optionsSets, + "allowedMessageTypes": allowedMessageTypes, + "sliceIds": sliceIds, + "verbosity": "verbose", + "traceId": getUuidNojian(), + "isStartOfSession": (this.invocationId <= 1) ? true : false, + "message": { + "locale": "zh-CN", + "market": "zh-CN", + "region": "US", + "location": "lat:47.639557;long:-122.128159;re=1000m;", + "locationHints": [ + { + "Center": { + "Latitude": 30.474109798833613, + "Longitude": 114.39626256171093 + }, + "RegionType": 2, + "SourceType": 11 + }, + { + "country": "United States", + "state": "California", + "city": "Los Angeles", + "zipcode": "90060", + "timezoneoffset": -8, + "dma": 803, + "countryConfidence": 8, + "cityConfidence": 5, + "Center": { + "Latitude": 33.9757, + "Longitude": -118.2564 + }, + "RegionType": 2, + "SourceType": 1 + } + ], + "timestamp": this.startTime, + "author": "user", + "inputMethod": "Keyboard", + "text": chat, + "messageType": "Chat" + }, + "conversationSignature": this.conversationSignature, + "participant": { + "id": this.clientId + }, + "conversationId": this.conversationId, + "previousMessages": (this.invocationId <= 1) ? previousMessages : undefined + }], + "invocationId": this.invocationId.toString(), + "target": "chat", + "type": 4 + }; + this.sendJson(chatWebSocket, json); + this.invocationId++; + setLastInvocationId(this.invocationId); + } +} + + + + + +//处理返回消息的类 +class ReturnMessage { + //(WebSocket,function:可以不传) + constructor(catWebSocket, lisin) { + this.catWebSocket = catWebSocket; + this.onMessage = [(v) => { + //console.log(JSON.stringify(v)) + }]; + if ((typeof lisin) == 'function') { + this.regOnMessage(lisin); + } + catWebSocket.onmessage = (mess) => { + //console.log('收到', mess.data); + let sss = mess.data.split('\u001e'); + for (let i = 0; i < sss.length; i++) { + if (sss[i] == '') { + continue; + } + for (let j in this.onMessage) { + if ((typeof this.onMessage[j]) == 'function') { + try { + this.onMessage[j](JSON.parse(sss[i]), this); + } catch (e) { + console.warn(e) + } + } + } + } + } + catWebSocket.onclose = (mess) => { + for (let i in this.onMessage) { + if ((typeof this.onMessage[i]) == 'function') { + try { + this.onMessage[i]({ + type: 'close', + mess: '连接关闭' + }, this); + } catch (e) { + console.warn(e) + } + } + } + } + catWebSocket.onerror = (mess) => { + console.log(mess); + for (let i in this.onMessage) { + if ((typeof this.onMessage[i]) == 'function') { + try { + this.onMessage[i]({ + type: 'error', + mess: mess + }, this); + } catch (e) { + console.warn(e) + } + } + } + } + } + /* + 获取消息WebSocket + */ + getCatWebSocket() { + return this.catWebSocket; + } + /** + * 注册收到消息监听器 + */ + //(function(json,ReturnMessage)) + regOnMessage(theFun) { + this.onMessage[this.onMessage.length] = theFun; + } +} +//处理聊天的类 +class Chat { + //theChatType chatTypes变量中的其中一个 + //invocationId 可以不传 + //(string,ture|false|'repeat',string,string,string,theChatType,int|undefined) + constructor(magicUrl, chatWithMagic, charID, clientId, conversationSignature, theChatType,invocationId) { + this.magicUrl = magicUrl; + this.chatWithMagic = chatWithMagic; + this.sendMessageManager = new SendMessageManager(charID, clientId, conversationSignature,invocationId); + if (theChatType) { + this.sendMessageManager.setChatType(theChatType); + } + } + /** + * 返回 + { + ok:true|false, + message:显示消息, + obj:ReturnMessage对象 + } + 当ok等于false时,不返回ReturnMessage + * 参数 消息string,当收到消息的函数,当关闭时函数 + */ + //(string,function:可以不传) + sendMessage(message, onMessage) { + try { + let restsrstUrl = 'wss://sydney.bing.com/sydney/ChatHub'; + if (this.chatWithMagic==true) { + restsrstUrl = URLTrue(this.magicUrl.replace('http', 'ws'), "ChatHub"); + } + let chatWebSocket = new WebSocket(restsrstUrl); + chatWebSocket.onopen = () => { + this.sendMessageManager.sendShakeHandsJson(chatWebSocket); + this.sendMessageManager.sendChatMessage(chatWebSocket, message); + } + return { + ok: true, + message: 'ok', + obj: new ReturnMessage(chatWebSocket, onMessage), + chatWithMagic: this.chatWithMagic==true?true:false + }; + } catch (e) { + console.warn(e) + return { + ok: false, + message: "发生错误,可能是网络连接错误:" + e.message + }; + } + } +} + +/*** + * 补齐url + */ +function URLTrue(magicUrl, thiePath) { + let url = magicUrl; + if (!url.endsWith('/')) { + url = url + '/'; + } + url = url + thiePath; + return url; +} + +//获取newbing权限 +async function getPower() { + //设置cookies到魔法链接 + let magicUrl = await getMagicUrl(); + if (!magicUrl) { + return { + ok: false, + message: "需要设置魔法链接才能获取权限哦!" + }; + } + if (!expUrl.test(magicUrl)) { + return { + ok: false, + message: "魔法链接不正确!请修改魔法链接。" + }; + } + await copyCookies(magicUrl); + + try { + await fetch(URLTrue(magicUrl, 'bingcopilotwaitlist')); + return { + ok: true, + message: "ok" + }; + } catch (e) { + console.warn(e); + return { + ok: false, + message: "发生错误,可能是魔法链接无法链接:" + e.message + }; + } +} + + +async function copyCookies(magicUrl) {} + +//创建一个新对话 +/** + 返回结构,如果ok等于false则无chat对象 + { + ok:true|false, + message:显示消息, + obj:Cat对象 + } + */ +async function createChat(theChatType) { + //设置cookies到魔法链接 + let chatWithMagic = await getChatHubWithMagic(); + let magicUrl = await getMagicUrl(); + if (!magicUrl) { + return { + ok: false, + message: "需要设置魔法链接才能聊天哦!" + }; + } + if (!expUrl.test(magicUrl)) { + return { + ok: false, + message: "魔法链接不正确!请修改魔法链接。" + }; + } + let restartNewChat = document.getElementById('restartNewChat'); + if(chatWithMagic=='repeat'){//如果是聊天复用 + restartNewChat.classList.remove('onShow'); + let resjson = await getLastChatJson(); + if(resjson){//如果没有上次聊天或上次聊天已经失效就不返回,继续走创建聊天流程 + let invocationId = await getLastChatInvocationId(); + if(!invocationId){ + invocationId = 1; + } + return { + ok: true, + message: 'ok', + obj: new Chat(magicUrl, chatWithMagic, resjson.conversationId, resjson.clientId, resjson.conversationSignature, theChatType,invocationId) + }; + } + } + try { + await copyCookies(magicUrl); + let res = await fetch(URLTrue(magicUrl, 'Create')); + let resjson = await res.json(); + if (!resjson.result) { + console.warn(resjson); + return { + ok: false, + message: "未知错误!" + }; + } + if (resjson.result.value != 'Success') { + let type = resjson.result.value; + let mess = resjson.result.message; + if (resjson.result.value == 'UnauthorizedRequest') { + type = 'NoLogin' + mess = '首先你需要在bing登录微软账号!请前往 https://cn.bing.com/ 登录微软账号。'; + } else if (resjson.result.value == 'Forbidden') { + type = 'NoPower' + mess = '你还没有获得NewBing的使用权限'; + } + console.warn(resjson); + return { + ok: false, + type: type, + message: mess + }; + } + //保存成功的聊天 + setLastChatJson(resjson); + return { + ok: true, + message: 'ok', + obj: new Chat(magicUrl, chatWithMagic, resjson.conversationId, resjson.clientId, resjson.conversationSignature, theChatType) + }; + } catch (e) { + console.warn(e); + return { + ok: false, + message: "发生错误,可能是魔法链接无法链接:" + e.message + }; + } + +} diff --git a/en/searchurl/bingAI/js/parserReturn.js b/en/searchurl/bingAI/js/parserReturn.js new file mode 100644 index 00000000..16f85f40 --- /dev/null +++ b/en/searchurl/bingAI/js/parserReturn.js @@ -0,0 +1,395 @@ +/** +(id,元素的tag,父元素,创建时顺便添加的class:可以多个) +获取一个指定id的元素如果没用就在服元素创建这个元素 +*/ +function getByID(id, tag, father) { + let t = document.getElementById(id); + if (!t) { + t = document.createElement(tag); + t.id = id; + for (let i = 3; i < arguments.length; i++) { + if (arguments[i]) { + t.classList.add(arguments[i]); + } + } + father.appendChild(t); + } + return t; +} +function getByClass(className, tag, father) { + let t = father.getElementsByClassName(className)[0]; + if (!t) { + t = document.createElement(tag); + t.classList.add(className); + for (let i = 3; i < arguments.length; i++) { + if (arguments[i]) { + t.classList.add(arguments[i]); + } + } + father.appendChild(t); + } + return t; +} + +function test(test) { + porserArguments(test.arguments); +} + +var throttling = { + "maxNumUserMessagesInConversation": 0, + "numUserMessagesInConversation": 0 +}; + +//解析type2的item +function porserType2Item(item){ + let chatDiv = document.getElementById('chat'); + if(item.result){ + if(item.result.value=='Success'){ + + }else if (item.result.value == 'Throttled') { + addError(item.result.message); + addError('24消息请求数达到了限制!'); + } + } + if (item.throttling) { + throttling = item.throttling; + } + if (item.messages) { + let nextFather = getByID(item.requestId, 'div', chatDiv, 'bing'); + porserMessages(item.messages, nextFather); + } + +} +/** + * 解析arguments + * 解析聊天消息,将消息添加到页面 + * **/ +function porserArguments(argumentss) { + for (let i = 0; i < argumentss.length; i++) { + porserType2Item(argumentss[i]); + } +} + +/* +解析messages +*/ +function porserMessages(messages, father) { + for (let i = 0; i < messages.length; i++) { + let message = messages[i]; + if(message.author=='user'){ + continue;//不解析用户的消息 + } + + //解析adaptiveCards 也就是聊天消息部分 下面类型的都是带有adaptiveCards的 + if (!message.messageType && message.adaptiveCards) {//如果是正常的聊天 + let adaptiveCardsFatherDIV = getByID(message.messageId, 'div', father, 'adaptiveCardsFatherDIV'); + porserAdaptiveCards(message.adaptiveCards, adaptiveCardsFatherDIV); + + //解析sourceAttributions 也就是引用链接部分 + if (message.sourceAttributions) { + if (message.sourceAttributions.length > 0) { + let sourceAttributionsDIV = getByID(message.messageId + 'sourceAttributions', 'div', father, 'sourceAttributions'); + porserSourceAttributions(message.sourceAttributions, sourceAttributionsDIV); + } + } + //解析suggestedResponses 建议发送的消息,聊天建议 + if (message.suggestedResponses) { + porserSuggestedResponses(message.suggestedResponses); + } + + } else if (message.messageType == 'InternalSearchQuery') { //如果是收索消息 + let div = getByID(message.messageId, 'div', father, 'InternalSearchQuery'); + porserLineTextBlocks(message.text, div); + + } else if (message.messageType == 'InternalLoaderMessage') { //如果是加载消息 + let div = getByID(message.messageId, 'div', father, 'InternalLoaderMessage'); + porserLineTextBlocks(message.text, div); + + } else if (message.messageType == 'GenerateContentQuery') {//如果是生成内容查询 + let div = getByID(message.messageId, 'div', father, 'GenerateContentQuery'); + generateContentQuery(message, div); + + }else if (message.messageType == 'RenderCardRequest'){//渲染卡片请求,目前不知道有什么用 + renderCardRequest(message, father); + + }else if(message.contentOrigin == 'TurnLimiter'){ + addError(message.text); + addError('聊天被限制了,试试开始新主题?'); + } else { + console.log('发现一个另类message', JSON.stringify(message)); + } + + } +} + +/* +解析渲染卡片请求,暂时不知道如何解析这个请求,就先判断里面有没有内容吧!没有就不显示。 +*/ +function renderCardRequest(message,father){ + if(father[message.messageId+'renderCardRequest']){//防止解析多次 + return; + } + father[message.messageId+'renderCardRequest'] = true; + + let url = 'https://www.bing.com/search?' + let theUrls = new URLSearchParams(); + theUrls.append("showselans",1); + theUrls.append("q",message.text); + theUrls.append("iframeid",message.messageId); + let src = url+theUrls.toString(); + + fetch(src).then(async (ret)=>{ + let html = await ret.text(); + // b_poleContent pc设备 || b_ans b_imgans 移动设备 + if(html.indexOf('class="b_poleContent"')>=0 || html.indexOf('class="b_ans')>=0){ + let div = getByID(message.messageId, 'div', father, 'RenderCardRequest'); + div.innerHTML = ``; + } + }); +} + + +/* +解析generateContentQuery生成内容查询,目前是只有图片 +*/ +function generateContentQuery(message, father) { + if(message.contentType=="IMAGE"){ + if(father.runed){//防止生成多次 + return; + } + father.runed = true; + generateContentQueryImg(message, father); + }else{ + console.log('发现一个另类generateContentQuery', JSON.stringify(message)); + } +} + +/** + * 解析图片生成目前是只有图片 + */ +function generateContentQueryImg(message, father){ + getMagicUrl().then(async magicUrl => { + if (!magicUrl) { + addError("魔法链接不正确!无法加载图片"); + return; + } + if (!expUrl.test(magicUrl)) { + addError("魔法链接不正确!无法加载图片") + return; + } + let theUrls = new URLSearchParams(); + theUrls.append('re', '1'); + theUrls.append('showselective', '1'); + theUrls.append('sude', '1'); + theUrls.append('kseed', '7500'); + theUrls.append('SFX', '2'); + theUrls.append('q', message.text); + theUrls.append('iframeid', message.requestId); + let theUrl = URLTrue(magicUrl,"AiDraw/Create?") + theUrls.toString(); + + try{ + father.innerHTML = `正在生成${message.text}的图片.`; + let html = (await (await fetch(theUrl)).text()); + let urr = new RegExp('"/(images/create/async/results/(\\S*))"').exec(html); + if(!urr || !urr[1]){ + urr = new RegExp('class="gil_err_mt">([^<>]*)').exec(html); + if(urr || urr[1]){ + father.innerHTML = `${urr[1]}` + return; + } + console.log(html); + addError("请求图片返回不正确的页面,无法加载图片。"); + return; + } + let ur = urr[1]; + let imgPageHtmlUrl = URLTrue(magicUrl,ur); + let count = 0; + let run = async ()=>{ + father.innerHTML = `正在生成${message.text}的图片.${count}`; + if(count>20){ + addError("请求图片超时!"); + return; + } + count++; + let imgPageHtml; + try{ + imgPageHtml = (await (await fetch(imgPageHtmlUrl)).text()); + }catch(e){ + console.error(e); + } + if(!imgPageHtml){ + setTimeout(run,3000); + return; + } + let div = document.createElement("div"); + div.innerHTML = imgPageHtml; + let imgs = div.getElementsByTagName("img"); + let theUrls = new URLSearchParams(); + theUrls.append('createmessage',message.text); + father.innerHTML = ''; + for(let el=0;el{ + window.open('GeneratePicture/img.html?'+theUrls.toString(), '_blank'); + } + father.appendChild(img); + } + div.remove(); + } + setTimeout(run,3000); + + }catch(e){ + console.error(e); + addError("请求图片失败:"+e); + } + }); +} + +/* +解析adaptiveCards 聊天消息部分 +*/ +function porserAdaptiveCards(adaptiveCards, father) { + for (let i = 0; i < adaptiveCards.length; i++) { + let adaptiveCard = adaptiveCards[i]; + if (adaptiveCard.type == 'AdaptiveCard') { + porserbody(adaptiveCard.body, father); + } else { + console.log('发现一个不是AdaptiveCard的adaptiveCard', JSON.stringify(adaptiveCard)); + } + } + +} +/** +解析body adaptiveCards[].body这个部分 + */ +function porserbody(bodys, father) { + for (let i = 0; i < bodys.length; i++) { + let body = bodys[i]; + if (body.type == 'TextBlock') { + porserTextBlock(body, father); + }else { + console.log('发现一个不是TextBlock的body', JSON.stringify(body)); + } + } +} + + + +/** +补全代码块,如果文本中有~~~开头却没有~~~结束则在最后补一个~~~,防止内容生成时闪烁 +*/ +function completeCodeBlock(makerdown){ + let to = function(regA,regB,add,makerdown){ + let falst = true; + let arrs = makerdown.split('\n'); + for(let i=0;i<=arrs.length;i++){ + if(falst){ + if(regA.test(arrs[i])){ + falst = false; + } + }else{ + if(regB.test(arrs[i])){ + falst = true; + } + } + } + if(!falst){ + makerdown = makerdown+add; + } + return makerdown; + } + let out = to( + new RegExp('^~~~.*$'), + new RegExp('^~~~( *)$'), + '\n~~~', + to( + new RegExp('^```.*$'), + new RegExp('^```( *)$'), + '\n```', + makerdown + ) + ); + // console.log(out); + return out; +} + +renderMathInElementOptions ={ + delimiters: [ + {left: "$$", right: "$$", display: true}, + {left: '$', right: '$', display: false}, + {left: "\\(", right: "\\)", display: false}, + {left: "\\begin{equation}", right: "\\end{equation}", display: true}, + {left: "\\begin{align}", right: "\\end{align}", display: true}, + {left: "\\begin{alignat}", right: "\\end{alignat}", display: true}, + {left: "\\begin{gather}", right: "\\end{gather}", display: true}, + {left: "\\begin{CD}", right: "\\end{CD}", display: true}, + {left: "\\[", right: "\\]", display: true} + ], + throwOnError: false +} +/* +解析TextBlock body.type==TextBlock +*/ +function porserTextBlock(body, father) { + if (!body.size) { + let div = getByClass('textBlock', 'div', father, 'markdown-body'); + div.innerHTML = marked.marked(completeCodeBlock(body.text)); + renderMathInElement(div,renderMathInElementOptions); + let aaas = div.getElementsByTagName('a'); + //将超链接在新页面打开 + for(let i=0;i${inline}

`; +} + +/*** +解析sourceAttributions 聊天消息引用链接部分 + */ +function porserSourceAttributions(sourceAttributions, father) { + let html = ''; + for (let i = 0; i < sourceAttributions.length; i++) { + let sourceAttribution = sourceAttributions[i]; + html = html + `${sourceAttribution.providerDisplayName}`; + } + father.innerHTML = html; +} +/*** +解析suggestedResponses 建议发送的消息,聊天建议 + */ +function porserSuggestedResponses(suggestedResponses) { + var searchSuggestions = document.getElementById('SearchSuggestions'); + searchSuggestions.innerHTML = ''; + for (let i = 0; i < suggestedResponses.length; i++) { + let a = document.createElement('a'); + a.innerHTML = suggestedResponses[i].text; + a.onclick = (even) => { + if(searchSuggestions.style.opacity>=1){ + send(even.target.innerHTML); + } + } + searchSuggestions.appendChild(a); + } +} diff --git a/en/searchurl/sitejs/www.bing.com.js b/en/searchurl/sitejs/www.bing.com.js index d5eb170c..c5853a81 100644 --- a/en/searchurl/sitejs/www.bing.com.js +++ b/en/searchurl/sitejs/www.bing.com.js @@ -2,7 +2,7 @@ const oFetch = window.fetch; window.fetch = function(url,options){ if("https://www.bing.com/turing/conversation/create"==url){ - url = "https://mybing1.xn--xyza.top/Create"; + url = "https://mybing2.xn--xyza.top/Create"; options = { headers:{}, }; diff --git a/en/sitemap.xml b/en/sitemap.xml index ce5aaf53..f54634be 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-01T15:05:21+08:00 + 2023-04-01T21:06:06+08:00 + + /en/offlinecache/ + 2023-04-01T21:06:06+08:00 + + + + /en/ + 2023-04-01T21:06:06+08:00 + + /en/links/ 2023-04-01T08:54:03+08:00 @@ -27,19 +53,6 @@ hreflang="en" href="/en/links/" /> - - /en/ - 2023-04-01T15:05:21+08:00 - - /en/tags/adblock/ 2023-04-01T15:05:21+08:00 @@ -163,19 +176,6 @@ /en/acmd/ 2023-02-18T14:12:02+08:00 - - /en/offlinecache/ - 2022-11-25T23:31:51+08:00 - - /en/url2site/ 2023-03-29T07:19:36+08:00 diff --git a/sitemap.xml b/sitemap.xml index c0a0bcd1..400d84ad 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,14 +4,14 @@ en/sitemap.xml - 2023-04-01T15:05:21+08:00 + 2023-04-01T21:06:06+08:00 zh/sitemap.xml - 2023-04-01T15:13:09+08:00 + 2023-04-01T20:51:06+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index b7a0fa09..21b46718 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -12,7 +12,15 @@ Sat, 04 Mar 2023 00:00:00 +0000 /zh/tips/ - 目录配置及使用外部文件管理器 + 免魔法直接使用newbing (chatgpt) +方法1: bingChat自带魔法直接界面 +方法2: 可以采用超级书签/直接界面+脚本+hosts。 +其中超级书签固定bingchat入口。 +脚本重定向api至魔法师. +hosts防污染。 +bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。 +修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用newbing时保存,需要时就可以无限恢复。 +目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: PC模式 + 勾选选项&quot;宽屏显示&quot; + 全局脚本&quot;强制缩放&quot;。 @@ -209,7 +217,6 @@ wireless 网页全屏 点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等 点击安装离线下载(pcloud,furk,微云等) -酷安扫描 uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下: [菜单名]:[url][空格][javascript脚本] 其中空格及之后的脚本为可选项。url及之后的脚本支持&quot;%u&quot;,&quot;%s&quot;等替换。 diff --git a/zh/index.xml b/zh/index.xml index de6b4d7a..8529f950 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -12,7 +12,15 @@ Sat, 04 Mar 2023 00:00:00 +0000 /zh/tips/ - 目录配置及使用外部文件管理器 + 免魔法直接使用newbing (chatgpt) +方法1: bingChat自带魔法直接界面 +方法2: 可以采用超级书签/直接界面+脚本+hosts。 +其中超级书签固定bingchat入口。 +脚本重定向api至魔法师. +hosts防污染。 +bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。 +修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用newbing时保存,需要时就可以无限恢复。 +目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: PC模式 + 勾选选项&quot;宽屏显示&quot; + 全局脚本&quot;强制缩放&quot;。 @@ -386,7 +394,6 @@ wireless 网页全屏 点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等 点击安装离线下载(pcloud,furk,微云等) -酷安扫描 uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下: [菜单名]:[url][空格][javascript脚本] 其中空格及之后的脚本为可选项。url及之后的脚本支持&quot;%u&quot;,&quot;%s&quot;等替换。 @@ -862,7 +869,7 @@ Amazon appstore Downloads 超微浏览器下载及使用技巧 (Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) -微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 +国内可以直接使用newbing/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 diff --git a/zh/links/index.html b/zh/links/index.html index 80ed4123..95202644 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -57,7 +57,6 @@

网页全屏

点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等
点击安装离线下载(pcloud,furk,微云等)

-

酷安扫描

uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件"default.link"中,改动过的文件清后台重启动后生效。每行格式如下:
[菜单名]:[url][空格][javascript脚本]
其中空格及之后的脚本为可选项。url及之后的脚本支持"%u","%s"等替换
@@ -249,8 +248,8 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi -

Last Modified: 20 March 2023
-supports hosts
+

Last Modified: 1 April 2023
+add base in bing.html


 

diff --git a/zh/readme/index.html b/zh/readme/index.html index 06a29232..da681201 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -55,6 +55,7 @@

超微浏览器下载及使用技巧
(Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel)

    +
  • 国内可以直接使用newbing/chatgpt
  • 微:不到200K。
  • 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。
  • 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
  • @@ -84,7 +85,7 @@

    Last Modified: 1 April 2023
    -use [ipv6] in hosts
    +add base in bing.html

    
     

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index e01183a2..94c0867e 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-03-29T15:53:11+08:00 + 2023-04-01T20:51:06+08:00 /zh/ - 2023-04-01T15:13:09+08:00 + 2023-04-01T20:51:06+08:00 /zh/tips/ - 2023-03-23T22:39:21+08:00 + 2023-04-01T20:51:06+08:00 2022-09-24T14:06:03+08:00 /zh/links/ - 2023-03-20T06:58:58+08:00 + 2023-04-01T20:19:51+08:00 2023-01-28T09:50:00+08:00 /zh/readme/ - 2023-04-01T15:13:09+08:00 + 2023-04-01T20:29:08+08:00 /zh/unlist/ - 2023-04-01T15:13:09+08:00 + 2023-04-01T20:29:08+08:00
-

目录配置及使用外部文件管理器
+

免魔法直接使用newbing (chatgpt)

+
    +
  • +

    方法1: bingChat自带魔法直接界面

    +
  • +
  • +

    方法2: 可以采用超级书签/直接界面+脚本+hosts。
    +其中超级书签固定bingchat入口。
    +脚本重定向api至魔法师.
    +hosts防污染。

    +

    bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。
    +修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫"超级书签"。成功使用newbing时保存,需要时就可以无限恢复。

    +
  • +
+

目录配置及使用外部文件管理器
超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode

准确显示PC网页:
PC模式 + 勾选选项"宽屏显示" + 全局脚本"强制缩放"。

@@ -64,8 +78,8 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA 配置文件列表中直接点击文件名即可编辑。

-

Last Modified: 23 March 2023
-add option https to func.html
+

Last Modified: 1 April 2023
+add base in bing.html


 

diff --git a/zh/unlist/index.xml b/zh/unlist/index.xml index 64e0f9fc..79d32d0d 100644 --- a/zh/unlist/index.xml +++ b/zh/unlist/index.xml @@ -17,7 +17,7 @@ Amazon appstore Downloads 超微浏览器下载及使用技巧 (Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) -微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 +国内可以直接使用newbing/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 From c8a8b0214ff0fdcee917bbb52573eb3cbc5b6a27 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 1 Apr 2023 23:34:44 +0800 Subject: [PATCH 222/722] add config for bingChat UI --- README.md | 4 ++-- README.zh-Hans.md | 8 ++++---- en/offlinecache/index.html | 2 +- en/readme/index.html | 8 ++++---- en/searchurl/bingAI/bing.html | 15 +++++++++++++-- en/searchurl/bingAI/js/GetSet.js | 13 +++++++++++-- en/sitemap.xml | 6 +++--- sitemap.xml | 4 ++-- zh/links/index.html | 2 +- zh/readme/index.html | 10 +++++----- zh/sitemap.xml | 6 +++--- zh/tips/index.html | 2 +- 12 files changed, 50 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index d1dc0cf6..f3522fae 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ### Uweb browser: unlimited power -中文 +中文 [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -Downloads +Downloads [Uweb browser: downloads, plugins and tips](https://torappinfo.github.io/uweb/en/) (Mirrors: [netlify](https://uwebzh.netlify.app/en/) [gitlab](https://jamesfengcao.gitlab.io/uweb/en/) [stormkit](https://uweb.stormkit.dev/en/) [surge](https://uweb.surge.sh/en/) [codeberg](https://jamesfengcao.codeberg.page/en/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html) [pages](https://muweb.pages.dev/en/) [vercel](https://uweb.vercel.app/en/) [bitbucket](https://torappinfo.bitbucket.io/en/) [render](https://uweb.onrender.com/en/)) diff --git a/README.zh-Hans.md b/README.zh-Hans.md index 07020068..ebaeb717 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -1,15 +1,15 @@ ### 超微浏览器 (uweb browser): 微、威、快、高效、极致优化 -English -捐赠 +English +捐赠 [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -Downloads +Downloads [超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/) (Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) -- 国内可以直接使用newbing/chatgpt +- 国内可以直接使用newbing/chatgpt - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index 2c21a011..5c6d44f5 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -67,7 +67,7 @@

Last Modified: 1 April 2023
-add base in bing.html
+add bingAI UI


 

diff --git a/en/readme/index.html b/en/readme/index.html index 6beedb3c..c78c0c40 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -48,9 +48,9 @@

Uweb browser: unlimited power

-

中文

+

中文

Amazon appstore
-Downloads

+Downloads

Uweb browser: downloads, plugins and tips
(Mirrors: netlify gitlab stormkit surge codeberg repo pages vercel bitbucket render)

    @@ -96,8 +96,8 @@
-

Last Modified: 31 March 2023
-use [ipv6] in hosts
+

Last Modified: 1 April 2023
+fix <a> tag with href & onclick for README


 

diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 9e54a52c..a6ea2279 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -5,8 +5,8 @@ NewBingGoGo - - + + @@ -27,6 +27,17 @@
+

chat with bing

diff --git a/en/searchurl/bingAI/js/GetSet.js b/en/searchurl/bingAI/js/GetSet.js index 90b196e7..7c85b646 100644 --- a/en/searchurl/bingAI/js/GetSet.js +++ b/en/searchurl/bingAI/js/GetSet.js @@ -15,8 +15,17 @@ async function setChatHubWithMagic(user) { // ture|false|'repeat' async function getChatHubWithMagic() { let v = localStorage.ChatHubWithMagic; - if (v) return v; - return true; + if (v) { + switch(v){ + case 0: + break; + case 1: + return false; + case 2: + return true; + } + } + return 'repeat'; } //设置上次创建的聊天 diff --git a/en/sitemap.xml b/en/sitemap.xml index f54634be..ef993324 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -29,7 +29,7 @@ /> /en/ - 2023-04-01T21:06:06+08:00 + 2023-04-01T23:32:56+08:00 /en/readme/ - 2023-03-31T10:23:52+08:00 + 2023-04-01T23:32:56+08:00 /en/unlist/ - 2023-03-31T10:23:52+08:00 + 2023-04-01T23:32:56+08:00 en/sitemap.xml - 2023-04-01T21:06:06+08:00 + 2023-04-01T23:32:56+08:00 zh/sitemap.xml - 2023-04-01T20:51:06+08:00 + 2023-04-01T23:32:14+08:00 diff --git a/zh/links/index.html b/zh/links/index.html index 95202644..f48f7602 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -249,7 +249,7 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi

Last Modified: 1 April 2023
-add base in bing.html
+add bingAI UI


 

diff --git a/zh/readme/index.html b/zh/readme/index.html index da681201..d895b4d2 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -48,14 +48,14 @@

超微浏览器 (uweb browser): 微、威、快、高效、极致优化

-

English
-捐赠

+

English
+捐赠

Amazon appstore
-Downloads

+Downloads

超微浏览器下载及使用技巧
(Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel)

    -
  • 国内可以直接使用newbing/chatgpt
  • +
  • 国内可以直接使用newbing/chatgpt
  • 微:不到200K。
  • 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。
  • 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
  • @@ -85,7 +85,7 @@

Last Modified: 1 April 2023
-add base in bing.html
+fix <a> tag with href & onclick for README


 

diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 94c0867e..02696f0b 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -16,7 +16,7 @@ />
/zh/ - 2023-04-01T20:51:06+08:00 + 2023-04-01T23:32:14+08:00 2023-01-28T09:50:00+08:00 /zh/readme/ - 2023-04-01T20:29:08+08:00 + 2023-04-01T23:32:14+08:00 /zh/unlist/ - 2023-04-01T20:29:08+08:00 + 2023-04-01T23:32:14+08:00

Last Modified: 1 April 2023
-add base in bing.html
+add bingAI UI


 

From 25bb54f62c347602f83f9c1e18cdf9f997380420 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 1 Apr 2023 23:40:13 +0800 Subject: [PATCH 223/722] add config for bingChat UI --- README.zh-Hans.md | 2 +- sitemap.xml | 2 +- zh/readme/index.html | 2 +- zh/sitemap.xml | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.zh-Hans.md b/README.zh-Hans.md index ebaeb717..f86477fa 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -1,5 +1,5 @@ ### 超微浏览器 (uweb browser): 微、威、快、高效、极致优化 -English +English 捐赠 diff --git a/sitemap.xml b/sitemap.xml index 4f1851a8..1e30a886 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-01T23:32:14+08:00 + 2023-04-01T23:39:33+08:00 diff --git a/zh/readme/index.html b/zh/readme/index.html index d895b4d2..eca93e4f 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -48,7 +48,7 @@

超微浏览器 (uweb browser): 微、威、快、高效、极致优化

-

English
+

English
捐赠

Amazon appstore
Downloads

diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 02696f0b..fba78c7a 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -16,7 +16,7 @@ />
/zh/ - 2023-04-01T23:32:14+08:00 + 2023-04-01T23:39:33+08:00 2023-01-28T09:50:00+08:00 /zh/readme/ - 2023-04-01T23:32:14+08:00 + 2023-04-01T23:39:33+08:00 /zh/unlist/ - 2023-04-01T23:32:14+08:00 + 2023-04-01T23:39:33+08:00 Date: Sun, 2 Apr 2023 09:52:12 +0800 Subject: [PATCH 224/722] refine bingAI UI --- en/readme/index.html | 2 +- en/searchurl/bingAI/bing.html | 7 +++++++ en/searchurl/bingAI/js/GetSet.js | 6 ------ en/searchurl/bingAI/js/parserReturn.js | 21 ++++++++++++++++----- sitemap.xml | 2 +- zh/_posts/index.xml | 6 ++++++ zh/index.xml | 6 ++++++ zh/readme/index.html | 2 +- zh/sitemap.xml | 6 +++--- zh/tips/index.html | 12 +++++++++--- 10 files changed, 50 insertions(+), 20 deletions(-) diff --git a/en/readme/index.html b/en/readme/index.html index c78c0c40..1d8422ca 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -97,7 +97,7 @@

Last Modified: 1 April 2023
-fix <a> tag with href & onclick for README
+add bingAI UI


 

diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index a6ea2279..4f5cd593 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -74,6 +74,13 @@ + diff --git a/en/searchurl/bingAI/js/GetSet.js b/en/searchurl/bingAI/js/GetSet.js index 7c85b646..e58f65a5 100644 --- a/en/searchurl/bingAI/js/GetSet.js +++ b/en/searchurl/bingAI/js/GetSet.js @@ -2,12 +2,6 @@ async function setMagicUrl(url) { localStorage.setItem('GoGoUrl',url); } -async function getMagicUrl() { - let v = localStorage.GoGoUrl; - if(v) return v; - return "https://mybing2.xn--xyza.top/"; -} - // ture:开启使用魔法聊天|false:关闭使用魔法聊天|'repeat':开启聊天复用 async function setChatHubWithMagic(user) { localStorage.setItem('ChatHubWithMagic',user); diff --git a/en/searchurl/bingAI/js/parserReturn.js b/en/searchurl/bingAI/js/parserReturn.js index 16f85f40..c3ed46bb 100644 --- a/en/searchurl/bingAI/js/parserReturn.js +++ b/en/searchurl/bingAI/js/parserReturn.js @@ -44,11 +44,15 @@ var throttling = { function porserType2Item(item){ let chatDiv = document.getElementById('chat'); if(item.result){ - if(item.result.value=='Success'){ + let result = item.result; + if(result.value=='Success'){ - }else if (item.result.value == 'Throttled') { - addError(item.result.message); + }else if (result.value == 'Throttled') { + addError(result.message); addError('24消息请求数达到了限制!'); + }else{ + addError(result.message); + addError('发生未知错误!'); } } if (item.throttling) { @@ -112,9 +116,16 @@ function porserMessages(messages, father) { }else if (message.messageType == 'RenderCardRequest'){//渲染卡片请求,目前不知道有什么用 renderCardRequest(message, father); + }else if(message.messageType == 'Disengaged'){ + let div = getByID(message.messageId, 'div', chat, 'error'); + div.innerHTML = ` + ${message.hiddenText}
聊天中断!试试开始新主题? + `; + }else if(message.contentOrigin == 'TurnLimiter'){ addError(message.text); addError('聊天被限制了,试试开始新主题?'); + } else { console.log('发现一个另类message', JSON.stringify(message)); } @@ -232,7 +243,7 @@ function generateContentQueryImg(message, father){ img.src = imgs[el].src; theUrls.append('imgs',img.src.split('?')[0]); img.onclick = ()=>{ - window.open('GeneratePicture/img.html?'+theUrls.toString(), '_blank'); + window.open('chrome-extension://'+chrome.runtime.id+'/GeneratePicture/img.html?'+theUrls.toString(), '_blank'); } father.appendChild(img); } @@ -392,4 +403,4 @@ function porserSuggestedResponses(suggestedResponses) { } searchSuggestions.appendChild(a); } -} +} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 1e30a886..b6d87dd8 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-01T23:39:33+08:00 + 2023-04-02T09:50:29+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 21b46718..199eed51 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -13,7 +13,13 @@ /zh/tips/ 免魔法直接使用newbing (chatgpt) +总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot; 方法1: bingChat自带魔法直接界面 +要求: 安装界面html +勾选选项“使用离线缓存” +复制bing.com cookies至魔法域名 +点击界面入口 +可配置魔法url, 详情 方法2: 可以采用超级书签/直接界面+脚本+hosts。 其中超级书签固定bingchat入口。 脚本重定向api至魔法师. diff --git a/zh/index.xml b/zh/index.xml index 8529f950..336878b5 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -13,7 +13,13 @@ /zh/tips/ 免魔法直接使用newbing (chatgpt) +总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot; 方法1: bingChat自带魔法直接界面 +要求: 安装界面html +勾选选项“使用离线缓存” +复制bing.com cookies至魔法域名 +点击界面入口 +可配置魔法url, 详情 方法2: 可以采用超级书签/直接界面+脚本+hosts。 其中超级书签固定bingchat入口。 脚本重定向api至魔法师. diff --git a/zh/readme/index.html b/zh/readme/index.html index eca93e4f..88927726 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -85,7 +85,7 @@

Last Modified: 1 April 2023
-fix <a> tag with href & onclick for README
+add bingAI UI


 

diff --git a/zh/sitemap.xml b/zh/sitemap.xml index fba78c7a..6ad5931e 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-01T20:51:06+08:00 + 2023-04-02T09:50:29+08:00 /zh/ - 2023-04-01T23:39:33+08:00 + 2023-04-02T09:50:29+08:00 /zh/tips/ - 2023-04-01T20:51:06+08:00 + 2023-04-02T09:50:29+08:00 -

免魔法直接使用newbing (chatgpt)

+

免魔法直接使用newbing (chatgpt)
+总要求:长按底部"PC"按钮选择user-agent为"edge"

  • -

    方法1: bingChat自带魔法直接界面

    +

    方法1: bingChat自带魔法直接界面
    +要求: 安装界面html
    +勾选选项“使用离线缓存”
    +复制bing.com cookies至魔法域名
    +点击界面入口
    +可配置魔法url, 详情

  • 方法2: 可以采用超级书签/直接界面+脚本+hosts。
    @@ -78,7 +84,7 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA 配置文件列表中直接点击文件名即可编辑。

    -

    Last Modified: 1 April 2023
    +

    Last Modified: 2 April 2023
    add bingAI UI

    
     

    From cd7f1f9ceaed82f2ca8b5f6cb5a21ea36c9cbbb0 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 2 Apr 2023 10:39:13 +0800 Subject: [PATCH 225/722] minor changes in tips --- en/_posts/index.xml | 4 ++-- en/index.xml | 4 ++-- en/sitemap.xml | 6 +++--- en/tips/index.html | 6 +++--- sitemap.xml | 4 ++-- zh/_posts/index.xml | 2 +- zh/index.xml | 2 +- zh/sitemap.xml | 6 +++--- zh/tips/index.html | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 51ced82f..9cce61e3 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -89,9 +89,9 @@ Bookmarks with secrets (POST instead of GET) The search engine (&quot;. +home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3. diff --git a/en/index.xml b/en/index.xml index 1b0f88e7..5504b0ec 100644 --- a/en/index.xml +++ b/en/index.xml @@ -135,9 +135,9 @@ Bookmarks with secrets (POST instead of GET) The search engine (&quot;. +home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3. diff --git a/en/sitemap.xml b/en/sitemap.xml index ef993324..437f064e 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-01T21:06:06+08:00 + 2023-04-02T10:37:42+08:00 /en/ - 2023-04-01T23:32:56+08:00 + 2023-04-02T10:37:42+08:00 /en/tips/ - 2023-03-23T22:38:58+08:00 + 2023-04-02T10:37:42+08:00

    Playing audio when screen off
    Option "Floating video" + video fullscreen playing

    -

    ** Use POST-type search engine as bookmark to auto login **

    +

    Use POST-type search engine as bookmark to auto login

    Multiple home screens and Next/Prev page:
    home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.

    Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.

    @@ -59,8 +59,8 @@ home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... With bookmark, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.

    -

    Last Modified: 23 March 2023
    -add option https to func.html
    +

    Last Modified: 2 April 2023
    +add bingAI UI

    
     

    diff --git a/sitemap.xml b/sitemap.xml index b6d87dd8..8d4794dc 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,14 +4,14 @@ en/sitemap.xml - 2023-04-01T23:32:56+08:00 + 2023-04-02T10:37:42+08:00 zh/sitemap.xml - 2023-04-02T09:50:29+08:00 + 2023-04-02T10:01:58+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 199eed51..4c52d917 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -13,7 +13,7 @@ /zh/tips/ 免魔法直接使用newbing (chatgpt) -总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot; +总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 方法1: bingChat自带魔法直接界面 要求: 安装界面html 勾选选项“使用离线缓存” diff --git a/zh/index.xml b/zh/index.xml index 336878b5..45cad9ff 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -13,7 +13,7 @@ /zh/tips/ 免魔法直接使用newbing (chatgpt) -总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot; +总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 方法1: bingChat自带魔法直接界面 要求: 安装界面html 勾选选项“使用离线缓存” diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 6ad5931e..6173250e 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-02T09:50:29+08:00 + 2023-04-02T10:01:58+08:00 /zh/ - 2023-04-02T09:50:29+08:00 + 2023-04-02T10:01:58+08:00 /zh/tips/ - 2023-04-02T09:50:29+08:00 + 2023-04-02T10:01:58+08:00

    免魔法直接使用newbing (chatgpt)
    -总要求:长按底部"PC"按钮选择user-agent为"edge"

    +总要求:长按底部"PC"按钮选择user-agent为"edge"。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。

    • 方法1: bingChat自带魔法直接界面
      From e20a4242904f4c459dfb01bf44612aa1f592fb37 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 2 Apr 2023 11:33:29 +0800 Subject: [PATCH 226/722] update bing.html --- en/readme/index.html | 2 +- en/searchurl/bingAI/bing.html | 2 +- en/tips/index.html | 2 +- zh/readme/index.html | 2 +- zh/tips/index.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/en/readme/index.html b/en/readme/index.html index 1d8422ca..2806590b 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -97,7 +97,7 @@

      Last Modified: 1 April 2023
      -add bingAI UI
      +sync newbinggogo

      
       

      diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 4f5cd593..b941130f 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -7,7 +7,7 @@ NewBingGoGo - + diff --git a/en/tips/index.html b/en/tips/index.html index 846b5855..36ae5a45 100644 --- a/en/tips/index.html +++ b/en/tips/index.html @@ -60,7 +60,7 @@ With bookmark, configuration folders can be

      Last Modified: 2 April 2023
      -add bingAI UI
      +sync newbinggogo

      
       

      diff --git a/zh/readme/index.html b/zh/readme/index.html index 88927726..a0ae4858 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -85,7 +85,7 @@

      Last Modified: 1 April 2023
      -add bingAI UI
      +sync newbinggogo

      
       

      diff --git a/zh/tips/index.html b/zh/tips/index.html index d17bb38b..159d7713 100644 --- a/zh/tips/index.html +++ b/zh/tips/index.html @@ -85,7 +85,7 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA

      Last Modified: 2 April 2023
      -add bingAI UI
      +sync newbinggogo

      
       

      From 50f156dc6b44b8670e413fe1e85639b7fa046add Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 2 Apr 2023 20:35:35 +0800 Subject: [PATCH 227/722] bingAI: avoid gitee css mimetype issue, and repo utf issue for js files --- en/searchurl/bingAI/bing.html | 12 +- en/searchurl/bingAI/css/bing.css | 4 +- en/searchurl/bingAI/css/bing.css~ | 595 ++++++++++++++++++++++++++++++ 3 files changed, 603 insertions(+), 8 deletions(-) create mode 100644 en/searchurl/bingAI/css/bing.css~ diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index b941130f..6cce0d88 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -7,7 +7,7 @@ NewBingGoGo - + @@ -81,11 +81,11 @@ return "https://mybing2.xn--xyza.top/"; } - - - - - + + + + + diff --git a/en/searchurl/bingAI/css/bing.css b/en/searchurl/bingAI/css/bing.css index 8fce3247..6f0b3eee 100644 --- a/en/searchurl/bingAI/css/bing.css +++ b/en/searchurl/bingAI/css/bing.css @@ -518,7 +518,7 @@ div.markdown-body { @media screen and (orientation:portrait) and (max-device-width:800px) and (max-device-height:1000px) { :root { - font-size: 2rem; + font-size: 1rem; } div.markdown-body { @@ -592,4 +592,4 @@ div.markdown-body { to {} } -} \ No newline at end of file +} diff --git a/en/searchurl/bingAI/css/bing.css~ b/en/searchurl/bingAI/css/bing.css~ new file mode 100644 index 00000000..8fce3247 --- /dev/null +++ b/en/searchurl/bingAI/css/bing.css~ @@ -0,0 +1,595 @@ +/* 头部分 */ + +#head { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 4rem; + display: flex; + align-items: center; + justify-content: space-between; + backdrop-filter: blur(10px); + background-color: #ffffff78; + z-index: 99; +} + +#head-img-div { + height: 100%; + display: flex; + justify-content: flex-start; + align-items: center; +} + +#head-img-div>img { + height: 100%; +} + +#head-img-div-h2-img>* { + margin: 0; +} + +#head-li-div { + margin-right: 2rem; +} + + +/* 背景*/ + +#background { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -1; + background: repeating-linear-gradient(359deg, rgb(182 196 255) 0%, rgb(207 225 255 / 78%) 100%); + transition: filter 1s; +} + +#background.a { + filter: hue-rotate(10deg); +} + +#background.b { + filter: hue-rotate(-5deg); +} + +#background.c { + filter: hue-rotate(-20deg); +} + + +/* 尾部分 */ + +#tail { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + height: 7rem; + display: flex; + justify-content: center; + backdrop-filter: blur(10px); + background-color: #ffffff78; + flex-direction: column-reverse; + align-items: center; + z-index: 99; +} + +#SearchSuggestions { + position: fixed; + top: -3rem; + display: flex; + flex-wrap: nowrap; + flex-direction: row; + justify-content: center; + align-items: center; + width: 100%; + transition: opacity 0.2s +} + +#SearchSuggestions>a { + backdrop-filter: blur(10px); + background-color: #ffffff82; + border-radius: 2rem; + padding: 0.5rem; + font-size: 0.9rem; + margin: 0.2rem; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + transition: flex 0.5s; +} + +#SearchSuggestions>a:hover { + cursor: pointer; + background-color: #ffffff; + flex: none; +} + +#tail-in { + display: flex; + width: 80%; + align-items: center; + justify-content: center; + height: 80%; +} + + +#restart:hover , +#restartNewChat:hover +{ + background-color: #ffffff; + cursor: pointer; +} + +#restart , +#restartNewChat +{ + border: 0; + border-radius: 1.5rem; + background-color: #ffffff9e; + height: 100%; + font-size: 0.8rem; + transition: all 0.5s; + overflow: hidden; + white-space: normal; +} + +#restart { + width: 0; + margin: 0; + padding: 0; + opacity: 0; +} + +body:has(.my) #restart { + width: 5rem; + margin-right: 0.5rem; + padding: 0; + opacity: 1; +} + +#restartNewChat{ + width: 5rem; + margin-right: 0.5rem; +} + +#restartNewChat.onShow{ + width: 0; + margin: 0; + padding: 0; + opacity: 0; +} + +#send { + border: 0; + margin: 0 1rem 1rem 0; + border-radius: 2rem; + background-color: #005fff38; + height: 1.8rem; + font-size: 0.8rem; + cursor: pointer; + min-width: 3rem; + transition: all 0.5s; +} + +#send:hover { + background-color: #005fff80; +} + +#input { + border: none; + resize: none; + outline: none; + width: 100%; + background-color: #ffffff00; + margin: 1rem 0 1rem 1rem; + height: -webkit-fill-available; +} + +#input:focus-visible { + border: 0; +} + +#input-div { + border-radius: 1.5rem; + flex: 1; + height: 100%; + background-color: #ffffff; + margin: 0 0; + display: flex; + flex-direction: row; + align-items: flex-end; + transition: all 0.5s; +} + + +/* 页面部分 */ +body { + overflow-x: hidden; +} + +#body-top { + height: 20vh; + width: 100%; +} + +#body-bottom { + height: 15rem; + width: 100%; +} + + +/* 聊天选项部分 */ + +#chatTypeDiv { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + flex-wrap: nowrap; + margin-bottom: 7rem; + transition: all 0.5s; +} + +#chatTypeDiv>.chatTypeChose { + background-color: #ffffffcc; + border-radius: 2rem; + width: 9rem; + height: 4rem; + margin: 1rem 0.3rem; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border: 0.5rem solid #ffffffcc; + cursor: pointer; +} + +#chatTypeDiv>.chatTypeChose>p { + margin: 0; + text-align: center; +} + +#chatTypeDiv>.chatTypeChose>h3 { + margin: 0; + text-align: center; +} + +#chatTypeChoseCreate.Chose { + background-color: #904887; + color: white; + cursor: default; +} + +#chatTypeChoseBalance.Chose { + background-color: #2870EA; + color: white; + cursor: default; +} + +#chatTypeChoseAccurate.Chose { + background-color: #006880; + color: white; + cursor: default; +} + + +/* 聊天部分,在页面内 */ +@keyframes acceptMeaaage { + from { + margin-top: 1em; + margin-left: -4em; + opacity: 0; + } + + to {} +} + +@keyframes sendMeaaage { + from { + margin-top: 1em; + margin-right: -4em; + opacity: 0; + } + + to {} +} + +.bing, +.my { + margin-bottom: 2rem; +} + +.bing { + display: grid; + justify-items: start; +} + +.bing>* { + animation: acceptMeaaage 0.5s; +} + +.my>* { + animation: sendMeaaage 0.5s; +} + +.my { + text-align: right; + font-size: 1.3rem; +} + +.InternalSearchQuery, +.InternalLoaderMessage { + margin-left: 1rem; + font-size: 1rem; +} + +.InternalSearchQuery>p, +.InternalLoaderMessage>p { + margin: 0; + margin-bottom: 1rem; +} + +.adaptiveCardsFatherDIV, +.my>.bobo { + display: inline-block; + background-color: #ffffff; + border-radius: 1rem; + padding: 1rem 1rem; + max-width: 85vw; + margin-bottom: 1rem; + text-align: left; +} + +.adaptiveCardsFatherDIV .throttling { + text-align: end; + font-size: 0.4rem; + margin-top: 0.5rem; + margin-bottom: -0.8rem; + border-top: 1px solid #0000005c; +} + +.bing>.sourceAttributions { + font-size: 0.9rem; + max-width: 85vw; + margin: 0; + margin-bottom: 1rem; + display: inline-flex; + flex-direction: row; + flex-wrap: nowrap; + align-items: center; + background-color: #ffffff57; + border-radius: 2rem; + padding: 0.5rem; +} + +.bing:has(.sourceAttributions) .adaptiveCardsFatherDIV { + margin-bottom: 1em; +} + + +.bing>.sourceAttributions>a { + display: inline-block; + background-color: #ffffff73; + border-radius: 1rem; + padding: 0.5rem; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + margin: 0.1rem; + color: #000000; + text-decoration: none; + transition: flex 0.5s; +} + +.bing>.sourceAttributions>a:hover { + background-color: #ffffffb3; + flex: none; +} + + +/* 上标 */ + +#chat .superscript { + display: inline-block; + vertical-align: super; + border: 0.1rem solid #0969da; + border-radius: 1em; + min-width: 1em; + text-align: center; + line-height: 1em; + font-size: small; + color: #0969da; +} + +#chat .superscript:hover { + background-color: #00000024; +} + +/*暂时不知道如何解析的渲染卡片请求*/ +.RenderCardRequest { + border-radius: 1em; + background-color: white; + overflow: auto; + padding: 1em; + width: 85vw; + max-width: 1100px; +} + +.RenderCardRequest>iframe { + min-width: 768px; + width: 100%; + height: 602px; + border: 0; +} + + + +/* 画图部分 */ + +.GenerateContentQuery { + background-color: #ffffff; + border-radius: 1rem; + max-width: 85%; + margin-bottom: 1rem; + text-align: center; + font-size: 1rem; + padding: 1rem; + overflow: hidden; + display: inline-table; +} + +.GenerateContentQuery>img { + max-width: 24%; + margin: 0.5%; + transition: all 0.8s; + cursor: pointer; +} + +.GenerateContentQuery>img:hover { + margin: 0.2% 0.8% 0.8% 0.2%; + box-shadow: #0000007a 2px 3px 5px 0px; + transition: all 0.3s; +} + + +/* 错误部分 */ + +#chat .error { + text-align: center; + color: red; +} + +.NoPower { + text-align: center; + color: #ff6d00; + cursor: pointer; + margin: 1rem; + text-decoration: underline; +} + + +/* 用于适配不同设备 */ + + +/* pc */ + +:root { + font-size: 1rem; +} + +div.markdown-body { + font-size: 1rem; + overflow: auto; +} + + +/* 窄窗口 */ +@media screen and (max-width:550px) { + + #tail-in:has(#input:focus-visible) #restart, + #tail-in:has(#input:hover) #restart, + #tail-in:has(#input:focus-visible) #restartNewChat, + #tail-in:has(#input:hover) #restartNewChat { + width: 0; + margin: 0; + padding: 0; + opacity: 0; + } + + .GenerateContentQuery>img { + max-width: 49%; + width: 49%; + } + + #tail-in { + width: 90%; + } + + .bing>.sourceAttributions { + flex-wrap: wrap; + } +} + +/*手机 css*/ + +@media screen and (orientation:portrait) and (max-device-width:800px) and (max-device-height:1000px) { + :root { + font-size: 2rem; + } + + div.markdown-body { + font-size: 1rem; + } + + .InternalSearchQuery, + .InternalLoaderMessage { + width: 90%; + } + + .InternalSearchQuery>p, + .InternalLoaderMessage>p { + font-size: 1rem; + } + + .bing>.sourceAttributions { + max-width: 88vw; + flex-wrap: wrap; + } + + .adaptiveCardsFatherDIV, + .my>.bobo { + max-width: 88vw; + } + + #tail-in { + width: 90%; + } + + #restart { + font-size: 1em; + } + + #input { + font-size: 1em; + } + + .GenerateContentQuery>img { + max-width: 49%; + width: 49%; + } + + #tail-in:has(#input:focus-visible) #restart, + #tail-in:has(#input:hover) #restart, + #tail-in:has(#input:focus-visible) #restartNewChat, + #tail-in:has(#input:hover) #restartNewChat { + width: 0; + margin: 0; + padding: 0; + opacity: 0; + } + + /* 聊天部分,在页面内 */ + @keyframes acceptMeaaage { + from { + margin-top: 1em; + margin-left: 0em; + opacity: 0; + } + + to {} + } + + @keyframes sendMeaaage { + from { + margin-top: 1em; + margin-right: 0em; + opacity: 0; + } + + to {} + } +} \ No newline at end of file From 23e9a9179d7e4234067c2ce6d5bbc98fd85e6062 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 2 Apr 2023 20:54:32 +0800 Subject: [PATCH 228/722] bingAI: avoid gitee for js issues --- en/searchurl/bingAI/bing.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 6cce0d88..0ebefe71 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -3,11 +3,11 @@ - + NewBingGoGo - + From ed7de221d014b6eec97f3d7d85c42acc31e9f3b7 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Mon, 3 Apr 2023 08:22:41 +0800 Subject: [PATCH 229/722] enhance hosts to add attributes for domains --- README.zh.md | 10 +++++----- en/_posts/index.xml | 15 +++++++++------ en/adblock_domain/index.html | 25 ++++++++++++++++++------- en/index.xml | 15 +++++++++------ en/sitemap.xml | 10 +++++----- en/tags/adblock/index.xml | 15 +++++++++------ sitemap.xml | 2 +- 7 files changed, 56 insertions(+), 36 deletions(-) diff --git a/README.zh.md b/README.zh.md index b4d42713..f86477fa 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,15 +1,15 @@ ### 超微浏览器 (uweb browser): 微、威、快、高效、极致优化 -English -捐赠 +English +捐赠 [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -Downloads +Downloads [超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/) -(Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [epizy](http://uweb.epizy.com/) [pages](https://uwebzh.pages.dev/zh/) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb-zh.vercel.app/zh/)) +(Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) -- 国内可以直接使用newbing/chatgpt +- 国内可以直接使用newbing/chatgpt - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 9cce61e3..35c1a4ee 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -46,14 +46,17 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi Mon, 20 Mar 2023 00:00:00 +0000 /en/adblock_domain/ - The hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. -The file &quot;hosts&quot; defines IP addresses for domains. Each line has the following format: -[IP address][single space][domain name] -Here is an example line with ipv4: + The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. +The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format: +[IP address/attributes][single space][domain name] +where &quot;[IP address/attributes]&quot; could be: +ipv4 address such as: 172.67.157.211 torapp.eu.org -or with ipv6: +ipv6 address, Ex.: [2606:4700:3037::6815:8c3] torapp.eu.org -&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &quot;yahoo. +empty, that would lift all server-imposed limitations. Ex.: +[single space]gitee.com +&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 7f6d6372..557538fb 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -49,21 +49,32 @@
    • adblock
    -

    The hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked.

    -

    The file "hosts" defines IP addresses for domains. Each line has the following format:
    -[IP address][single space][domain name]

    -

    Here is an example line with ipv4:
    +

    The enhanced hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked.

    +

    The enhanced file "hosts" defines IP addresses/attributes for domains. Each line has the following format:
    +[IP address/attributes][single space][domain name]

    +

    where "[IP address/attributes]" could be:

    +
      +
    • +

      ipv4 address such as:
      172.67.157.211 torapp.eu.org

      -

      or with ipv6:
      +

    • +
    • +

      ipv6 address, Ex.:
      [2606:4700:3037::6815:8c3] torapp.eu.org

      +
    • +
    • +

      empty, that would lift all server-imposed limitations. Ex.:
      +[single space]gitee.com

      +
    • +

    "default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

    Each line of the hosts file has the following format:
    [rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
    The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.

    -

    Last Modified: 1 April 2023
    -use [ipv6] in hosts
    +

    Last Modified: 3 April 2023
    +enhance hosts file to add attributes to domains

    
     

    diff --git a/en/index.xml b/en/index.xml index 5504b0ec..f0964f12 100644 --- a/en/index.xml +++ b/en/index.xml @@ -46,14 +46,17 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi Mon, 20 Mar 2023 00:00:00 +0000 /en/adblock_domain/ - The hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. -The file &quot;hosts&quot; defines IP addresses for domains. Each line has the following format: -[IP address][single space][domain name] -Here is an example line with ipv4: + The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. +The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format: +[IP address/attributes][single space][domain name] +where &quot;[IP address/attributes]&quot; could be: +ipv4 address such as: 172.67.157.211 torapp.eu.org -or with ipv6: +ipv6 address, Ex.: [2606:4700:3037::6815:8c3] torapp.eu.org -&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &quot;yahoo. +empty, that would lift all server-imposed limitations. Ex.: +[single space]gitee.com +&quot;default.hosts&quot; blocks whole domain trees including all descedant domains.
    diff --git a/en/sitemap.xml b/en/sitemap.xml index 437f064e..b5d7a2b1 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-02T10:37:42+08:00 + 2023-04-03T08:21:31+08:00 /en/ - 2023-04-02T10:37:42+08:00 + 2023-04-03T08:21:31+08:00 /en/tags/adblock/ - 2023-04-01T15:05:21+08:00 + 2023-04-03T08:21:31+08:00 /en/adblock_domain/ - 2023-04-01T15:05:21+08:00 + 2023-04-03T08:21:31+08:00 /en/tags/ - 2023-04-01T15:05:21+08:00 + 2023-04-03T08:21:31+08:00 Mon, 20 Mar 2023 00:00:00 +0000 /en/adblock_domain/ - The hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. -The file &quot;hosts&quot; defines IP addresses for domains. Each line has the following format: -[IP address][single space][domain name] -Here is an example line with ipv4: + The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. +The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format: +[IP address/attributes][single space][domain name] +where &quot;[IP address/attributes]&quot; could be: +ipv4 address such as: 172.67.157.211 torapp.eu.org -or with ipv6: +ipv6 address, Ex.: [2606:4700:3037::6815:8c3] torapp.eu.org -&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &quot;yahoo. +empty, that would lift all server-imposed limitations. Ex.: +[single space]gitee.com +&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. diff --git a/sitemap.xml b/sitemap.xml index 8d4794dc..15a8b2ba 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2023-04-02T10:37:42+08:00 + 2023-04-03T08:21:31+08:00 From 37e1fae65aefe60089cdc242fc8ae8e912319d8b Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Mon, 3 Apr 2023 09:13:07 +0800 Subject: [PATCH 230/722] add enhanced hosts support to README --- README.md | 2 +- README.zh-Hans.md | 1 + en/_posts/index.xml | 2 +- en/adblock_domain/index.html | 1 + en/changelog/index.html | 7 ++++--- en/index.xml | 8 ++++---- en/readme/index.html | 6 +++--- en/sitemap.xml | 18 +++++++++--------- en/tags/adblock/index.xml | 2 +- en/topposts/index.xml | 6 +++--- sitemap.xml | 4 ++-- zh/index.xml | 2 +- zh/readme/index.html | 5 +++-- zh/sitemap.xml | 6 +++--- zh/unlist/index.xml | 2 +- 15 files changed, 38 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index f3522fae..782faf30 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ - Site-specific JS/CSS/HTML/preprocessing. - Online play/preview/preprocess for downloadable resources. - Multiple type profiles: switch any data including website logins, user configurations orthogonally. -- Supports user "hosts" file. +- Supports enhanced user "hosts" file. Empty IP address to lift all server-imposed limitations. #### Main features Custom paper size PDF export and long vector screenshot, TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.). diff --git a/README.zh-Hans.md b/README.zh-Hans.md index f86477fa..7894a567 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -18,6 +18,7 @@ - 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 - 地址栏支持命令行 ("!", 物理键盘支持更佳) - 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 +- 支持用户定义域名属性,比如空IP地址解除一切限制。 #### 截屏 ![](https://i.postimg.cc/rsL9G5N1/home1.png) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 35c1a4ee..b7242405 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -56,7 +56,7 @@ ipv6 address, Ex.: [2606:4700:3037::6815:8c3] torapp.eu.org empty, that would lift all server-imposed limitations. Ex.: [single space]gitee.com -&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. +which will make all git repositories on the domain visitable as websites with raw file access url. diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 557538fb..92a34b43 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -67,6 +67,7 @@ [single space]gitee.com

+

which will make all git repositories on the domain visitable as websites with raw file access url.

"default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

Each line of the hosts file has the following format:
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
diff --git a/en/changelog/index.html b/en/changelog/index.html index 8fb2699f..c0df0a13 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -51,7 +51,8 @@

pagure

Main features

Change logs

-

985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
+

987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
+985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
975: Bookmarks to support styling for markdown etc.
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
@@ -76,8 +77,8 @@ -

Last Modified: 22 March 2023
-add option https to func.html
+

Last Modified: 3 April 2023
+enhance hosts file to add attributes to domains


 

diff --git a/en/index.xml b/en/index.xml index f0964f12..1f9425b1 100644 --- a/en/index.xml +++ b/en/index.xml @@ -56,7 +56,7 @@ ipv6 address, Ex.: [2606:4700:3037::6815:8c3] torapp.eu.org empty, that would lift all server-imposed limitations. Ex.: [single space]gitee.com -&quot;default.hosts&quot; blocks whole domain trees including all descedant domains.
+which will make all git repositories on the domain visitable as websites with raw file access url.
@@ -196,10 +196,10 @@ github sourceforge powerfolder pagure -Main features Change logs 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. +Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. +985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. 983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. -975: Bookmarks to support styling for markdown etc. -971: multiple type profiles: switch any data including website logins, user configurations orthogonally. +975: Bookmarks to support styling for markdown etc. diff --git a/en/readme/index.html b/en/readme/index.html index 2806590b..ecfbbd50 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -64,7 +64,7 @@
  • Site-specific JS/CSS/HTML/preprocessing.
  • Online play/preview/preprocess for downloadable resources.
  • Multiple type profiles: switch any data including website logins, user configurations orthogonally.
  • -
  • Supports user "hosts" file.
  • +
  • Supports enhanced user "hosts" file. Empty IP address to lift all server-imposed limitations.
  • Main features

    Custom paper size PDF export and long vector screenshot, TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).

    @@ -96,8 +96,8 @@ -

    Last Modified: 1 April 2023
    -sync newbinggogo
    +

    Last Modified: 3 April 2023
    +enhance hosts file to add attributes to domains

    
     

    diff --git a/en/sitemap.xml b/en/sitemap.xml index b5d7a2b1..6a566f3b 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-03T08:21:31+08:00 + 2023-04-03T09:03:08+08:00 /en/ - 2023-04-03T08:21:31+08:00 + 2023-04-03T09:06:30+08:00 /en/tags/adblock/ - 2023-04-03T08:21:31+08:00 + 2023-04-03T09:03:08+08:00 /en/adblock_domain/ - 2023-04-03T08:21:31+08:00 + 2023-04-03T09:03:08+08:00 /en/tags/ - 2023-04-03T08:21:31+08:00 + 2023-04-03T09:03:08+08:00 /en/topposts/ - 2023-03-22T19:01:51+08:00 + 2023-04-03T08:59:00+08:00 /en/changelog/ - 2023-03-22T19:01:51+08:00 + 2023-04-03T08:59:00+08:00 /en/sitemap/ 2023-02-01T09:52:11+08:00 @@ -508,7 +508,7 @@ /> /en/readme/ - 2023-04-01T23:32:56+08:00 + 2023-04-03T09:06:30+08:00 /en/unlist/ - 2023-04-01T23:32:56+08:00 + 2023-04-03T09:06:30+08:00 +which will make all git repositories on the domain visitable as websites with raw file access url.
    diff --git a/en/topposts/index.xml b/en/topposts/index.xml index e2892bad..68cfc58e 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -64,10 +64,10 @@ github sourceforge powerfolder pagure -Main features Change logs 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. +Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. +985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. 983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. -975: Bookmarks to support styling for markdown etc. -971: multiple type profiles: switch any data including website logins, user configurations orthogonally. +975: Bookmarks to support styling for markdown etc. diff --git a/sitemap.xml b/sitemap.xml index 15a8b2ba..b1e8b546 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,14 +4,14 @@ en/sitemap.xml - 2023-04-03T08:21:31+08:00 + 2023-04-03T09:06:30+08:00 zh/sitemap.xml - 2023-04-02T10:01:58+08:00 + 2023-04-03T09:09:44+08:00 diff --git a/zh/index.xml b/zh/index.xml index 45cad9ff..f230768d 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -875,7 +875,7 @@ Amazon appstore Downloads 超微浏览器下载及使用技巧 (Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) -国内可以直接使用newbing/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 +国内可以直接使用newbing/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 diff --git a/zh/readme/index.html b/zh/readme/index.html index a0ae4858..fe85de78 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -64,6 +64,7 @@
  • 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。
  • 地址栏支持命令行 ("!", 物理键盘支持更佳)
  • 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理
  • +
  • 支持用户定义域名属性,比如空IP地址解除一切限制。
  • 截屏


    @@ -84,8 +85,8 @@

    配套安装uWeb定制Termux应用,可用地址栏作图(类似matlab功能)、超级计算器(无限精度/π的前万位或更多、无限函数、无限常量)、符号演算(解方程、分解因式、求积分导数)、离线字典查找等。譬如地址栏输入sin(x)**5就直接得到函数图形。利用好第三方代码,才能真正发挥出uWeb的潜能。

    -

    Last Modified: 1 April 2023
    -sync newbinggogo
    +

    Last Modified: 3 April 2023
    +enhance hosts file to add attributes to domains

    
     

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 6173250e..a8995e43 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -16,7 +16,7 @@ />
    /zh/ - 2023-04-02T10:01:58+08:00 + 2023-04-03T09:09:44+08:00 2023-01-28T09:50:00+08:00 /zh/readme/ - 2023-04-01T23:39:33+08:00 + 2023-04-03T09:09:44+08:00 /zh/unlist/ - 2023-04-01T23:39:33+08:00 + 2023-04-03T09:09:44+08:00 Date: Mon, 3 Apr 2023 17:51:28 +0800 Subject: [PATCH 231/722] bingAI: supports cors with cookies --- en/adblock_domain/index.html | 7 ++++++- en/changelog/index.html | 5 +++-- en/index.xml | 6 +++--- en/searchurl/bingAI/js/bingChatHub.js | 2 +- en/searchurl/sitejs/www.bing.com.js | 1 + en/sitemap.xml | 14 +++++++------- en/topposts/index.xml | 6 +++--- sitemap.xml | 2 +- 8 files changed, 25 insertions(+), 18 deletions(-) diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 92a34b43..68c58ee1 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -68,6 +68,11 @@

    which will make all git repositories on the domain visitable as websites with raw file access url.

    +
      +
    • response headers, separeded by ';', Ex.:
      +Access-Control-Allow-Origin;*;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top
    • +
    +

    which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.

    "default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

    Each line of the hosts file has the following format:
    [rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
    @@ -75,7 +80,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja

    Last Modified: 3 April 2023
    -enhance hosts file to add attributes to domains
    +bingAI to support cors with cookies

    
     

    diff --git a/en/changelog/index.html b/en/changelog/index.html index c0df0a13..1939a7a7 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -51,7 +51,8 @@

    pagure

    Main features

    Change logs

    -

    987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
    +

    988: hosts file to support response headers.
    +987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
    985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
    983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
    975: Bookmarks to support styling for markdown etc.
    @@ -78,7 +79,7 @@

    Last Modified: 3 April 2023
    -enhance hosts file to add attributes to domains
    +bingAI to support cors with cookies

    
     

    diff --git a/en/index.xml b/en/index.xml index 1f9425b1..d6ff861c 100644 --- a/en/index.xml +++ b/en/index.xml @@ -196,10 +196,10 @@ github sourceforge powerfolder pagure -Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. +Main features Change logs 988: hosts file to support response headers. +987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. -983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. -975: Bookmarks to support styling for markdown etc. +983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js index a13f2c81..1c40007e 100644 --- a/en/searchurl/bingAI/js/bingChatHub.js +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -439,7 +439,7 @@ async function createChat(theChatType) { } try { await copyCookies(magicUrl); - let res = await fetch(URLTrue(magicUrl, 'Create')); + let res = await fetch(URLTrue(magicUrl, 'Create'),{credentials: 'include'}); let resjson = await res.json(); if (!resjson.result) { console.warn(resjson); diff --git a/en/searchurl/sitejs/www.bing.com.js b/en/searchurl/sitejs/www.bing.com.js index c5853a81..e225d448 100644 --- a/en/searchurl/sitejs/www.bing.com.js +++ b/en/searchurl/sitejs/www.bing.com.js @@ -4,6 +4,7 @@ if("https://www.bing.com/turing/conversation/create"==url){ url = "https://mybing2.xn--xyza.top/Create"; options = { + credentials: 'include', headers:{}, }; } diff --git a/en/sitemap.xml b/en/sitemap.xml index 6a566f3b..43de4005 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-03T09:03:08+08:00 + 2023-04-03T17:48:42+08:00 /en/ - 2023-04-03T09:06:30+08:00 + 2023-04-03T17:49:38+08:00 /en/tags/adblock/ - 2023-04-03T09:03:08+08:00 + 2023-04-03T17:48:42+08:00 /en/adblock_domain/ - 2023-04-03T09:03:08+08:00 + 2023-04-03T17:48:42+08:00 /en/tags/ - 2023-04-03T09:03:08+08:00 + 2023-04-03T17:48:42+08:00 /en/topposts/ - 2023-04-03T08:59:00+08:00 + 2023-04-03T17:49:38+08:00 /en/changelog/ - 2023-04-03T08:59:00+08:00 + 2023-04-03T17:49:38+08:00 /en/sitemap/ 2023-02-01T09:52:11+08:00 diff --git a/en/topposts/index.xml b/en/topposts/index.xml index 68cfc58e..03941922 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -64,10 +64,10 @@ github sourceforge powerfolder pagure -Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. +Main features Change logs 988: hosts file to support response headers. +987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. -983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. -975: Bookmarks to support styling for markdown etc. +983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. diff --git a/sitemap.xml b/sitemap.xml index b1e8b546..0433d9c2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2023-04-03T09:06:30+08:00 + 2023-04-03T17:49:38+08:00 From a853a7bb2bb47a91610db34b8c8c6ef2554343c8 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Mon, 3 Apr 2023 21:06:19 +0800 Subject: [PATCH 232/722] add option to disable gestures for volumn & ligntness --- en/searchurl/func.html | 2 +- zh/searchurl/func.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/searchurl/func.html b/en/searchurl/func.html index 8df95e61..26485f91 100644 --- a/en/searchurl/func.html +++ b/en/searchurl/func.html @@ -57,7 +57,7 @@ body>ul{padding-left:0;}
  • -
  • +
  • - diff --git a/en/searchurl/bingAI/js/ChatMessages.js b/en/searchurl/bingAI/js/ChatMessages.js deleted file mode 100644 index fe8baa89..00000000 --- a/en/searchurl/bingAI/js/ChatMessages.js +++ /dev/null @@ -1,65 +0,0 @@ -let bingProposes = [ - '教我一个新单词', - '我需要有关家庭作业的帮助', - '我想学习一项新技能', - '最深的海洋是哪个?', - '一年有多少小时?', - "宇宙是如何开始的?", - "寻找非虚构作品", - '火烈鸟为何为粉色?', - '有什么新闻?', - '让我大笑', - '给我看鼓舞人心的名言', - '世界上最小的哺乳动物是什么?', - '向我显示食谱', - '最深的海洋是哪个?', - '为什么人类需要睡眠?', - '教我有关登月的信息', - '我想学习一项新技能', - '如何创建预算?', - '给我说个笑话', - '全息影像的工作原理是什么?', - '如何设定可实现的目标?', - '金字塔是如何建成的?', - '激励我!', - '宇宙是如何开始的?', - '如何制作蛋糕?' -]; - -let bingmMessages = [ - '好的,我已清理好板子,可以重新开始了。我可以帮助你探索什么?', - '明白了,我已经抹去了过去,专注于现在。我们现在应该探索什么?', - '重新开始总是很棒。问我任何问题!', - '好了,我已经为新的对话重置了我的大脑。你现在想聊些什么?', - '很好,让我们来更改主题。你在想什么?', - '谢谢你帮我理清头绪! 我现在能帮你做什么?', - '没问题,很高兴你喜欢上一次对话。让我们转到一个新主题。你想要了解有关哪些内容的详细信息?', - '谢谢你! 知道你什么时候准备好继续前进总是很有帮助的。我现在能为你回答什么问题?', - '当然,我已准备好进行新的挑战。我现在可以为你做什么?' -] - -let StartMessage = bingmMessages[0]; -let Proposes = [bingProposes[0],bingProposes[1],bingProposes[2]]; -/** -获取建议消息 -*/ -function nextStartProposes(){ - Proposes[0] = bingProposes[Math.floor(Math.random() * bingProposes.length)]; - Proposes[1] = bingProposes[Math.floor(Math.random() * bingProposes.length)]; - Proposes[2] = bingProposes[Math.floor(Math.random() * bingProposes.length)]; - return Proposes; -} -/* -获取bing的第一条消息 -*/ -function nextStartMessage(){ - return StartMessage = bingmMessages[Math.floor(Math.random() * bingmMessages.length)]; -} - -function getStartMessage(){ - return StartMessage; -} - -function getStartProposes(){ - return Proposes; -} \ No newline at end of file diff --git a/en/searchurl/bingAI/js/bing.js b/en/searchurl/bingAI/js/bing.js index b40110e9..8a9e71e1 100644 --- a/en/searchurl/bingAI/js/bing.js +++ b/en/searchurl/bingAI/js/bing.js @@ -1,6 +1,4 @@ var chat = document.getElementById('chat'); -var searchSuggestions = document.getElementById('SearchSuggestions'); -searchSuggestions.style.opacity = 1; var chatTypeDiv = document.getElementById('chatTypeDiv'); var docTitle = document.getElementById('docTitle'); var restart_button = document.getElementById('restart'); @@ -32,28 +30,6 @@ function addError(message) { chat.appendChild(go); } -//尝试获取聊天权限按钮 -function addNoPower() { - let go = document.createElement('div'); - go.classList.add('NoPower'); - go.innerHTML = '点击尝试申请加入候补名单获取NewBing聊天权限'; - chat.appendChild(go); - go.onclick = () => { - if (go.geting) { - return; - } - go.geting = true; - go.innerHTML = '正在请求申请加入候补名单..'; - getPower().then((rett) => { - if (rett.ok == true) { - go.innerHTML = '请求成功!请刷新页面重试,如果无权限使用请等待几天后重试。' - return; - } - go.innerHTML = '发生错误:' + rett.message; - }); - } -} - let onMessageIsOKClose = false; //(json) function onMessage(json, returnMessage) { @@ -116,7 +92,6 @@ function reSetStartChatMessage(type) {
    - ${nextStartMessage(type)}
    ${t} / 0 @@ -130,18 +105,6 @@ function reSetStartChatMessage(type) { restartNewChat.classList.add('onShow'); } }); - searchSuggestions.innerHTML = ''; - let prs = nextStartProposes(); - prs.forEach((s) => { - let a = document.createElement('a'); - a.innerHTML = s; - a.onclick = (even) => { - if (searchSuggestions.style.opacity >= 1) { - send(even.target.innerHTML); - } - } - searchSuggestions.appendChild(a); - }); docTitle.innerText = 'NewBingGoGo:聊天啦啦啦啦'; } @@ -149,7 +112,6 @@ function reSetStartChatMessage(type) { function isAskingToMagic() { isSpeaking = true; send_button.value = '施法中.'; - searchSuggestions.innerHTML = ''; } /**bing正在回复 */ @@ -160,7 +122,6 @@ function isSpeakingStart(chatWithMagic, sendText) { docTitle.innerText = sendText; } send_button.value = '响应中.'; - searchSuggestions.innerHTML = ''; } /**bing回复结束 */ @@ -180,9 +141,6 @@ function send(text) { createChat(thisChatType).then((r) => { if (!r.ok) { addError(r.message); - if (r.type == 'NoPower') { - addNoPower(); - } isSpeakingFinish(); return; } @@ -247,11 +205,6 @@ function handleScroll() { var docHeight = document.body.scrollHeight; var scrollPos = window.pageYOffset; // 如果滚动到底部,显示元素,否则隐藏元素 - if (scrollPos + window.innerHeight >= docHeight - 50) { - searchSuggestions.style.opacity = 1; - } else { - searchSuggestions.style.opacity = 0; - } } // 添加滚动事件监听器 window.addEventListener("scroll", handleScroll); diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js index 2f62fbf9..e1816b90 100644 --- a/en/searchurl/bingAI/js/bingChatHub.js +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -348,51 +348,12 @@ class Chat { } } -/*** - * 补齐url - */ function URLTrue(magicUrl, thiePath) { - let url = magicUrl; - if (!url.endsWith('/')) { - url = url + '/'; - } - url = url + thiePath; - return url; + return url + thiePath; } //获取newbing权限 -async function getPower() { - //设置cookies到魔法链接 - let magicUrl = await getMagicUrl(); - if (!magicUrl) { - return { - ok: false, - message: "需要设置魔法链接才能获取权限哦!" - }; - } - if (!expUrl.test(magicUrl)) { - return { - ok: false, - message: "魔法链接不正确!请修改魔法链接。" - }; - } - await copyCookies(magicUrl); - - try { - await fetch(URLTrue(magicUrl, 'bingcopilotwaitlist')); - return { - ok: true, - message: "ok" - }; - } catch (e) { - console.warn(e); - return { - ok: false, - message: "发生错误,可能是魔法链接无法链接:" + e.message - }; - } -} - +async function getPower() {} async function copyCookies(magicUrl) {} @@ -406,21 +367,8 @@ async function copyCookies(magicUrl) {} } */ async function createChat(theChatType) { - //设置cookies到魔法链接 let chatWithMagic = await getChatHubWithMagic(); let magicUrl = await getMagicUrl(); - if (!magicUrl) { - return { - ok: false, - message: "需要设置魔法链接才能聊天哦!" - }; - } - if (!expUrl.test(magicUrl)) { - return { - ok: false, - message: "魔法链接不正确!请修改魔法链接。" - }; - } let restartNewChat = document.getElementById('restartNewChat'); if(chatWithMagic=='repeat'){//如果是聊天复用 restartNewChat.classList.remove('onShow'); @@ -437,47 +385,28 @@ async function createChat(theChatType) { }; } } - try { - await copyCookies(magicUrl); - let res = await fetch(URLTrue(magicUrl, 'turing/conversation/create'),{credentials: 'include'}); - let resjson = await res.json(); - if (!resjson.result) { - console.warn(resjson); - return { - ok: false, - message: "未知错误!" - }; - } - if (resjson.result.value != 'Success') { - let type = resjson.result.value; - let mess = resjson.result.message; - if (resjson.result.value == 'UnauthorizedRequest') { - type = 'NoLogin' - mess = '首先你需要在bing登录微软账号!请前往 https://cn.bing.com/ 登录微软账号。'; - } else if (resjson.result.value == 'Forbidden') { - type = 'NoPower' - mess = '你还没有获得NewBing的使用权限'; - } - console.warn(resjson); - return { - ok: false, - type: type, - message: mess - }; - } - //保存成功的聊天 - setLastChatJson(resjson); - return { - ok: true, - message: 'ok', - obj: new Chat(magicUrl, chatWithMagic, resjson.conversationId, resjson.clientId, resjson.conversationSignature, theChatType) - }; - } catch (e) { - console.warn(e); - return { - ok: false, - message: "发生错误,可能是魔法链接无法链接:" + e.message - }; - } - + let mes; + do { + try { + let res = await fetch(URLTrue(magicUrl,'turing/conversation/create'), + {credentials: 'include'}); + let resjson = await res.json(); + if (!resjson.result || resjson.result.value != 'Success') { + mes = resjson; + break; + } + //保存成功的聊天 + setLastChatJson(resjson); + return { + ok: true, + message: 'ok', + obj: new Chat(magicUrl, chatWithMagic, resjson.conversationId, resjson.clientId, resjson.conversationSignature, theChatType) + }; + } catch (e) {mes = e.message;} + }while(false); + + return { + ok: false, + message: mes + }; } From 74511d89e0530b53f86b9ce828af58eaa534b7f2 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 4 Apr 2023 21:09:06 +0800 Subject: [PATCH 236/722] simplify bingAI --- en/searchurl/bingAI/js/bing.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en/searchurl/bingAI/js/bing.js b/en/searchurl/bingAI/js/bing.js index 8a9e71e1..52541c47 100644 --- a/en/searchurl/bingAI/js/bing.js +++ b/en/searchurl/bingAI/js/bing.js @@ -5,7 +5,7 @@ var restart_button = document.getElementById('restart'); var input_text = document.getElementById('input'); var send_button = document.getElementById('send'); let restartNewChat = document.getElementById('restartNewChat'); -var thisChatType; +var thisChatType = chatTypes.balance; reSetStartChatMessage(); @@ -83,6 +83,9 @@ var isSpeaking = false; /**重置聊天框和聊天建议到初始状态 */ function reSetStartChatMessage(type) { + createChat(thisChatType).then((r) => { + if(r.ok) talk = r.obj; + }); getChatHubWithMagic().then(async a => { let t = 0; if (a == 'repeat') { @@ -105,7 +108,6 @@ function reSetStartChatMessage(type) { restartNewChat.classList.add('onShow'); } }); - docTitle.innerText = 'NewBingGoGo:聊天啦啦啦啦'; } /**正在创建聊天 */ From 2ac6107614d2841c8fae0537fb56c18abc66b37e Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 5 Apr 2023 12:09:09 +0800 Subject: [PATCH 237/722] fix typos --- en/searchurl/bingAI/js/bing.js | 18 +++++++++++------- en/searchurl/bingAI/js/bingChatHub.js | 14 ++++++++------ en/searchurl/func.html | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/en/searchurl/bingAI/js/bing.js b/en/searchurl/bingAI/js/bing.js index 52541c47..d3195d40 100644 --- a/en/searchurl/bingAI/js/bing.js +++ b/en/searchurl/bingAI/js/bing.js @@ -48,13 +48,17 @@ function onMessage(json, returnMessage) { if (json.type == 3) { onMessageIsOKClose = true; returnMessage.getCatWebSocket().close(1000, 'ok'); - } else if (json.type == 1) { - porserArguments(json.arguments); - } else if (json.type == 2) { - porserType2Item(json.item); } else { - console.log(JSON.stringify(json)); - } + talk = undefined; + localStorage.removeItem('LastChatJson'); + if (json.type == 1) { + porserArguments(json.arguments); + } else if (json.type == 2) { + porserType2Item(json.item); + } else { + console.log(JSON.stringify(json)); + } + } } @@ -289,7 +293,7 @@ input_update_input_text_sstyle_show_update({ target: input_text }); //开始新聊天按钮逻辑,仅在聊天复用 restartNewChat.onclick = async () => { - await setLastChatJson(null); + localStorage.removeItem('LastChatJson'); await setLastInvocationId(1); restart_button.onclick(); } diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js index e1816b90..ddea9427 100644 --- a/en/searchurl/bingAI/js/bingChatHub.js +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -348,7 +348,7 @@ class Chat { } } -function URLTrue(magicUrl, thiePath) { +function URLTrue(url, thiePath) { return url + thiePath; } @@ -367,9 +367,10 @@ async function copyCookies(magicUrl) {} } */ async function createChat(theChatType) { - let chatWithMagic = await getChatHubWithMagic(); - let magicUrl = await getMagicUrl(); - let restartNewChat = document.getElementById('restartNewChat'); + let chatWithMagic = await getChatHubWithMagic(); + let magicUrl = await getMagicUrl(); + let restartNewChat = document.getElementById('restartNewChat'); + if(chatWithMagic=='repeat'){//如果是聊天复用 restartNewChat.classList.remove('onShow'); let resjson = await getLastChatJson(); @@ -385,11 +386,12 @@ async function createChat(theChatType) { }; } } + let mes; do { try { - let res = await fetch(URLTrue(magicUrl,'turing/conversation/create'), - {credentials: 'include'}); + let url = URLTrue(magicUrl,'turing/conversation/create'); + let res = await fetch(url, {credentials: 'include'}); let resjson = await res.json(); if (!resjson.result || resjson.result.value != 'Success') { mes = resjson; diff --git a/en/searchurl/func.html b/en/searchurl/func.html index 26485f91..f73051e9 100644 --- a/en/searchurl/func.html +++ b/en/searchurl/func.html @@ -57,7 +57,7 @@ body>ul{padding-left:0;}
  • -
  • +
  • diff --git a/sitemap.xml b/sitemap.xml index 39ea9451..9e9e2329 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-04T10:48:55+08:00 + 2023-04-06T09:03:54+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index a8ac6431..21f1936b 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -16,10 +16,12 @@ 总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 方法1: bingChat自带魔法直接界面 要求: 安装界面html -勾选选项“使用离线缓存” 复制bing.com cookies至魔法域名 +勾选选项“使用离线缓存”, &quot;使用hosts&quot; +hosts文件内添加一行(允许发送cookie至魔法url): +Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to 点击界面入口 -可配置魔法url, 详情 +可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情 方法2: 可以采用超级书签/直接界面+脚本+hosts。 其中超级书签固定bingchat入口。 脚本重定向api至魔法师. diff --git a/zh/index.xml b/zh/index.xml index e0741ce3..a68c36af 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -16,10 +16,12 @@ 总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 方法1: bingChat自带魔法直接界面 要求: 安装界面html -勾选选项“使用离线缓存” 复制bing.com cookies至魔法域名 +勾选选项“使用离线缓存”, &quot;使用hosts&quot; +hosts文件内添加一行(允许发送cookie至魔法url): +Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to 点击界面入口 -可配置魔法url, 详情 +可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情 方法2: 可以采用超级书签/直接界面+脚本+hosts。 其中超级书签固定bingchat入口。 脚本重定向api至魔法师. diff --git a/zh/sitemap.xml b/zh/sitemap.xml index bd985d3c..42a8f690 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-04T10:48:55+08:00 + 2023-04-06T09:03:54+08:00 /zh/ - 2023-04-04T10:48:55+08:00 + 2023-04-06T09:03:54+08:00 /zh/tips/ - 2023-04-02T10:01:58+08:00 + 2023-04-06T09:03:54+08:00

    方法1: bingChat自带魔法直接界面
    要求: 安装界面html
    -勾选选项“使用离线缓存”
    复制bing.com cookies至魔法域名
    -点击界面入口
    -可配置魔法url, 详情

    +勾选选项“使用离线缓存”, "使用hosts"

    +

    hosts文件内添加一行(允许发送cookie至魔法url):
    +Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to

    +

    点击界面入口
    +可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情

  • 方法2: 可以采用超级书签/直接界面+脚本+hosts。
    @@ -84,8 +86,8 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA 配置文件列表中直接点击文件名即可编辑。

  • -

    Last Modified: 2 April 2023
    -sync newbinggogo
    +

    Last Modified: 6 April 2023
    +bingAI: complete

    
     

    From 3672627e8123550eab439bfc53b7f4a92deb0807 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 6 Apr 2023 17:20:51 +0800 Subject: [PATCH 239/722] bingAI: remove chatmessages.js --- en/searchurl/bingAI/bing.html | 6 +++--- en/searchurl/bingAI/js/bingChatHub.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 0d4a086d..23abdf1d 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -15,10 +15,10 @@
    - +
    - +
    @@ -78,7 +78,7 @@ async function getMagicUrl() { let v = localStorage.GoGoUrl; if(v) return v; - return "https://mybing2.xn--xyza.top/"; + return "https://muweb.us.to/"; } diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js index c5d84e1d..2d10c177 100644 --- a/en/searchurl/bingAI/js/bingChatHub.js +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -130,9 +130,9 @@ class SendMessageManager { //获取用于发送的聊天数据 //(WebSocket,sreing) sendChatMessage(chatWebSocket, chat) { - let pos = getStartProposes(); + let pos = ['','','']; //initial 3 suggestions let previousMessages = [{ - "text": getStartMessage(), + "text": '', "author": "bot", "adaptiveCards": [], "suggestedResponses": [{ From c9f0db1c34e10298b7be24c4d4ff004f9525cd2d Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 6 Apr 2023 23:26:29 +0800 Subject: [PATCH 240/722] bingAI: minor optimization --- en/searchurl/bingAI/bing.html | 1 - en/searchurl/bingAI/css/bing.css | 13 ------------- en/searchurl/bingAI/js/bing.js | 4 +++- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 23abdf1d..c8a280ba 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -38,7 +38,6 @@
    -

    chat with bing

    diff --git a/en/searchurl/bingAI/css/bing.css b/en/searchurl/bingAI/css/bing.css index 6f0b3eee..3aac6088 100644 --- a/en/searchurl/bingAI/css/bing.css +++ b/en/searchurl/bingAI/css/bing.css @@ -211,11 +211,6 @@ body { overflow-x: hidden; } -#body-top { - height: 20vh; - width: 100%; -} - #body-bottom { height: 15rem; width: 100%; @@ -517,14 +512,6 @@ div.markdown-body { /*手机 css*/ @media screen and (orientation:portrait) and (max-device-width:800px) and (max-device-height:1000px) { - :root { - font-size: 1rem; - } - - div.markdown-body { - font-size: 1rem; - } - .InternalSearchQuery, .InternalLoaderMessage { width: 90%; diff --git a/en/searchurl/bingAI/js/bing.js b/en/searchurl/bingAI/js/bing.js index d3195d40..06ae8b1f 100644 --- a/en/searchurl/bingAI/js/bing.js +++ b/en/searchurl/bingAI/js/bing.js @@ -49,8 +49,10 @@ function onMessage(json, returnMessage) { onMessageIsOKClose = true; returnMessage.getCatWebSocket().close(1000, 'ok'); } else { - talk = undefined; localStorage.removeItem('LastChatJson'); + createChat(thisChatType).then((r) => { + if(r.ok) talk = r.obj; + }); if (json.type == 1) { porserArguments(json.arguments); } else if (json.type == 2) { From 9ea6258d40cd0e448b03cd1bf1a5659566c75547 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 6 Apr 2023 23:34:50 +0800 Subject: [PATCH 241/722] bingAI: revert back bing.js change --- en/searchurl/bingAI/js/bing.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/en/searchurl/bingAI/js/bing.js b/en/searchurl/bingAI/js/bing.js index 06ae8b1f..d3195d40 100644 --- a/en/searchurl/bingAI/js/bing.js +++ b/en/searchurl/bingAI/js/bing.js @@ -49,10 +49,8 @@ function onMessage(json, returnMessage) { onMessageIsOKClose = true; returnMessage.getCatWebSocket().close(1000, 'ok'); } else { + talk = undefined; localStorage.removeItem('LastChatJson'); - createChat(thisChatType).then((r) => { - if(r.ok) talk = r.obj; - }); if (json.type == 1) { porserArguments(json.arguments); } else if (json.type == 2) { From e8b5f412f04b7eea757f3e65629151e986415ed9 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 7 Apr 2023 14:43:41 +0800 Subject: [PATCH 242/722] bingAI: use https://mybing2.xn--xyza.top as default --- en/searchurl/bingAI/bing.html | 2 +- sitemap.xml | 2 +- zh/_posts/index.xml | 2 +- zh/index.xml | 2 +- zh/sitemap.xml | 6 +++--- zh/tips/index.html | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index c8a280ba..9f17909b 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -77,7 +77,7 @@ async function getMagicUrl() { let v = localStorage.GoGoUrl; if(v) return v; - return "https://muweb.us.to/"; + return "https://mybing2.xn--xyza.top/"; } diff --git a/sitemap.xml b/sitemap.xml index 9e9e2329..24b9f4d0 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-06T09:03:54+08:00 + 2023-04-07T14:38:07+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 21f1936b..d7e09243 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -19,7 +19,7 @@ 复制bing.com cookies至魔法域名 勾选选项“使用离线缓存”, &quot;使用hosts&quot; hosts文件内添加一行(允许发送cookie至魔法url): -Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to +Click to append to &quot;hosts&quot;, edit the last part as magic url domain 点击界面入口 可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情 方法2: 可以采用超级书签/直接界面+脚本+hosts。 diff --git a/zh/index.xml b/zh/index.xml index a68c36af..b2f561b3 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -19,7 +19,7 @@ 复制bing.com cookies至魔法域名 勾选选项“使用离线缓存”, &quot;使用hosts&quot; hosts文件内添加一行(允许发送cookie至魔法url): -Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to +Click to append to &quot;hosts&quot;, edit the last part as magic url domain 点击界面入口 可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情 方法2: 可以采用超级书签/直接界面+脚本+hosts。 diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 42a8f690..f3f496e6 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-06T09:03:54+08:00 + 2023-04-07T14:38:07+08:00 /zh/ - 2023-04-06T09:03:54+08:00 + 2023-04-07T14:38:07+08:00 /zh/tips/ - 2023-04-06T09:03:54+08:00 + 2023-04-07T14:38:07+08:00 勾选选项“使用离线缓存”, "使用hosts"

    hosts文件内添加一行(允许发送cookie至魔法url):
    -Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to

    +Click to append to "hosts", edit the last part as magic url domain

    点击界面入口
    可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情

    @@ -86,8 +86,8 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA 配置文件列表中直接点击文件名即可编辑。

    -

    Last Modified: 6 April 2023
    -bingAI: complete
    +

    Last Modified: 7 April 2023
    +bingAI: minor optimization

    
     

    From 95c5410f00e018d025e3aa7cb5797dedab0395e2 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 7 Apr 2023 15:32:34 +0800 Subject: [PATCH 243/722] hosts to support both ip address and response headers --- en/_posts/index.xml | 4 ++-- en/adblock_domain/index.html | 24 ++++++++++++++---------- en/index.xml | 4 ++-- en/sitemap.xml | 10 +++++----- en/tags/adblock/index.xml | 4 ++-- sitemap.xml | 2 +- 6 files changed, 26 insertions(+), 22 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index b7242405..95f32380 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -48,8 +48,8 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi /en/adblock_domain/ The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format: -[IP address/attributes][single space][domain name] -where &quot;[IP address/attributes]&quot; could be: +[[IP address][attributes]][single space][domain name] +where &quot;[[IP address][attributes]]&quot; could be: ipv4 address such as: 172.67.157.211 torapp.eu.org ipv6 address, Ex.: diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 68c58ee1..4e008051 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -51,8 +51,8 @@

    The enhanced hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked.

    The enhanced file "hosts" defines IP addresses/attributes for domains. Each line has the following format:
    -[IP address/attributes][single space][domain name]

    -

    where "[IP address/attributes]" could be:

    +[[IP address][attributes]][single space][domain name]

    +

    where "[[IP address][attributes]]" could be:

    • ipv4 address such as:
      @@ -65,22 +65,26 @@

    • empty, that would lift all server-imposed limitations. Ex.:
      [single space]gitee.com

      +

      which will make all git repositories on the domain visitable as websites with raw file access url.

      +
    • +
    • +

      response headers, separeded by ';', Ex.:
      +Access-Control-Allow-Origin;*;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top

      +

      which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.

      +
    • +
    • +

      IP address and response headers, separeded by ';', Ex.:
      +172.64.80.1;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true wild-cake-ff77.jamesfengcao.workers.dev

    -

    which will make all git repositories on the domain visitable as websites with raw file access url.

    -
      -
    • response headers, separeded by ';', Ex.:
      -Access-Control-Allow-Origin;*;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top
    • -
    -

    which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.

    "default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

    Each line of the hosts file has the following format:
    [rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
    The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.

    -

    Last Modified: 3 April 2023
    -bingAI to support cors with cookies
    +

    Last Modified: 7 April 2023
    +hosts to support both ip address and response headers

    
     

    diff --git a/en/index.xml b/en/index.xml index d6ff861c..00956e67 100644 --- a/en/index.xml +++ b/en/index.xml @@ -48,8 +48,8 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi /en/adblock_domain/ The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format: -[IP address/attributes][single space][domain name] -where &quot;[IP address/attributes]&quot; could be: +[[IP address][attributes]][single space][domain name] +where &quot;[[IP address][attributes]]&quot; could be: ipv4 address such as: 172.67.157.211 torapp.eu.org ipv6 address, Ex.: diff --git a/en/sitemap.xml b/en/sitemap.xml index 43de4005..769370d3 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-03T17:48:42+08:00 + 2023-04-07T15:29:47+08:00 /en/ - 2023-04-03T17:49:38+08:00 + 2023-04-07T15:29:47+08:00 /en/tags/adblock/ - 2023-04-03T17:48:42+08:00 + 2023-04-07T15:29:47+08:00 /en/adblock_domain/ - 2023-04-03T17:48:42+08:00 + 2023-04-07T15:29:47+08:00 /en/tags/ - 2023-04-03T17:48:42+08:00 + 2023-04-07T15:29:47+08:00 /en/adblock_domain/ The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked. The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format: -[IP address/attributes][single space][domain name] -where &quot;[IP address/attributes]&quot; could be: +[[IP address][attributes]][single space][domain name] +where &quot;[[IP address][attributes]]&quot; could be: ipv4 address such as: 172.67.157.211 torapp.eu.org ipv6 address, Ex.: diff --git a/sitemap.xml b/sitemap.xml index 24b9f4d0..17b22001 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2023-04-03T17:49:38+08:00 + 2023-04-07T15:29:47+08:00 From 441db3a1f45be976d2d6844cca4c85757b3dbf37 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 7 Apr 2023 18:07:09 +0800 Subject: [PATCH 244/722] add workers for bingAI --- en/adblock_domain/index.html | 6 +++--- en/searchurl/cloudflare/bing.js | 29 +++++++++++++++++++++++++++++ en/sitemap.xml | 10 +++++----- sitemap.xml | 2 +- 4 files changed, 38 insertions(+), 9 deletions(-) create mode 100644 en/searchurl/cloudflare/bing.js diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 4e008051..0aad1b0c 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -69,12 +69,12 @@
  • response headers, separeded by ';', Ex.:
    -Access-Control-Allow-Origin;*;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top

    +Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true mybing.xn--xyza.top

    which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.

  • IP address and response headers, separeded by ';', Ex.:
    -172.64.80.1;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true wild-cake-ff77.jamesfengcao.workers.dev

    +104.21.8.195;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true uweb.torapp.eu.org

  • "default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

    @@ -84,7 +84,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja

    Last Modified: 7 April 2023
    -hosts to support both ip address and response headers
    +add cloudflare/bing.js

    
     

    diff --git a/en/searchurl/cloudflare/bing.js b/en/searchurl/cloudflare/bing.js new file mode 100644 index 00000000..01a4711a --- /dev/null +++ b/en/searchurl/cloudflare/bing.js @@ -0,0 +1,29 @@ +export default { + async fetch(req, _env) { + let url = req.url; + let iSlash = url.indexOf('/',11); + let nUrl = "https://www.bing.com/"+url.substring(iSlash+1); + return goUrl(req, nUrl); + } +} + +function goUrl(request, url) { + //构建 fetch 参数 + let fp = { + method: request.method, + headers: {} + } + //保留头部信息 + let reqHeaders = new Headers(request.headers); + let dropHeaders = ["cookie","user-agent","accept","accept-language"]; + let he = reqHeaders.entries(); + for (let h of he) { + let key = h[0], + value = h[1]; + if (dropHeaders.includes(key)) { + fp.headers[key] = value; + } + } + return fetch(url, fp); +} + diff --git a/en/sitemap.xml b/en/sitemap.xml index 769370d3..f96c5fed 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-07T15:29:47+08:00 + 2023-04-07T18:05:06+08:00 /en/ - 2023-04-07T15:29:47+08:00 + 2023-04-07T18:05:06+08:00 /en/tags/adblock/ - 2023-04-07T15:29:47+08:00 + 2023-04-07T18:05:06+08:00 /en/adblock_domain/ - 2023-04-07T15:29:47+08:00 + 2023-04-07T18:05:06+08:00 /en/tags/ - 2023-04-07T15:29:47+08:00 + 2023-04-07T18:05:06+08:00 en/sitemap.xml - 2023-04-07T15:29:47+08:00 + 2023-04-07T18:05:06+08:00 From 6a726e893c7449769f16210e5338afcbb8a301ad Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 7 Apr 2023 21:38:56 +0800 Subject: [PATCH 245/722] add deno/bing.js --- en/adblock_domain/index.html | 2 +- en/searchurl/deno/bing.js | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 en/searchurl/deno/bing.js diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 0aad1b0c..9b94106f 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -84,7 +84,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja

    Last Modified: 7 April 2023
    -add cloudflare/bing.js
    +add bing.js for cf & deno

    
     

    diff --git a/en/searchurl/deno/bing.js b/en/searchurl/deno/bing.js new file mode 100644 index 00000000..b4dd138f --- /dev/null +++ b/en/searchurl/deno/bing.js @@ -0,0 +1,24 @@ +import { serve } from "https://deno.land/std@0.140.0/http/server.ts"; +async function handler(req: Request): Promise { + let url = req.url; + let iSlash = url.indexOf('/',11); + let nUrl = "https://www.bing.com/"+url.substring(iSlash+1); + let fp = { + method: req.method, + headers: {} + } + let reqHeaders = new Headers(req.headers); + let keepHeaders = ["cookie","user-agent","accept","accept-language"]; + let he = reqHeaders.entries(); + for (let h of he) { + let key = h[0], + value = h[1]; + if (keepHeaders.includes(key)) { + fp.headers[key] = value; + } + } + + return await fetch(nUrl, fp); +} + +serve(handler); From cb565e5567c85faa23457512518bc1ced7334d57 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Mon, 10 Apr 2023 08:23:51 +0800 Subject: [PATCH 246/722] enhance :0cc cookie copy --- en/adblock_domain/index.html | 6 +- en/links/index.html | 16 ++--- en/searchurl/bingAI/bing.html | 2 +- en/searchurl/cloudflare/redirect.js | 27 ++++++++ en/searchurl/deno/bing.js | 2 +- en/sitemap.xml | 12 ++-- sitemap.xml | 4 +- zh/_posts/index.xml | 100 ++++++++++++++-------------- zh/index.html | 12 ++-- zh/index.xml | 100 ++++++++++++++-------------- zh/links/index.html | 8 +-- zh/sitemap.xml | 30 ++++----- 12 files changed, 167 insertions(+), 152 deletions(-) create mode 100644 en/searchurl/cloudflare/redirect.js diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 9b94106f..a30a18df 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -77,14 +77,14 @@ Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credential 104.21.8.195;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true uweb.torapp.eu.org

    -

    "default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

    +

    "default.hosts" blocks whole domain trees including all descendant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.

    Each line of the hosts file has the following format:
    [rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
    The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.

    -

    Last Modified: 7 April 2023
    -add bing.js for cf & deno
    +

    Last Modified: 8 April 2023
    +add cloudflare/bing.js

    
     

    diff --git a/en/links/index.html b/en/links/index.html index 6838c918..0d169c1a 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -49,8 +49,8 @@

    Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
    Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
    -Extend site cookies to 10 years
    -Clear site cookies

    +Extend site cookies to 10 years
    +Clear site cookies

    VPN

    Switch configuration

    Wait for network msg

    @@ -78,10 +78,6 @@ noproxy::010:

    • -

      :0000
      -Extend cookie expiracy to 70 years, may be denied by server.

      -
    • -
    • :0003
      Toggle fullscreen mode

    • @@ -106,8 +102,8 @@ Config http proxy, ":010:" to disable any proxy.

      Socks proxy

    • -

      :0cc[url1]:[url2]
      -cookie copy from url1 to url2

      +

      :0cc[url1]:[url2][:;[cookie attributes]]
      +cookie copy from url1 to url2, the last part "[:;[cookie attributes]]" is optionable.

    commands

    @@ -302,8 +298,8 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi -

    Last Modified: 1 April 2023
    -use [ipv6] in hosts
    +

    Last Modified: 10 April 2023
    +enhance :0cc cookie copy

    i:56 urls support CTRL_A to CTRL-Z 
     

    diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 9f17909b..626cc058 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -76,7 +76,7 @@ diff --git a/en/searchurl/cloudflare/redirect.js b/en/searchurl/cloudflare/redirect.js new file mode 100644 index 00000000..34008eed --- /dev/null +++ b/en/searchurl/cloudflare/redirect.js @@ -0,0 +1,27 @@ +export default { + async fetch(req, _env) { + let url = req.url; + let iSlash = url.indexOf('/',11); + let nUrl = url.substring(iSlash+1); + return goUrl(req, nUrl); + } +} + +function goUrl(request, url) { + let fp = { + method: request.method, + headers: {} + } + let reqHeaders = new Headers(request.headers); + let dropHeaders = ["cookie","user-agent","accept","accept-language"]; + let he = reqHeaders.entries(); + for (let h of he) { + let key = h[0], + value = h[1]; + if (dropHeaders.includes(key)) { + fp.headers[key] = value; + } + } + return fetch(url, fp); +} + diff --git a/en/searchurl/deno/bing.js b/en/searchurl/deno/bing.js index b4dd138f..a6e3319d 100644 --- a/en/searchurl/deno/bing.js +++ b/en/searchurl/deno/bing.js @@ -1,4 +1,4 @@ -import { serve } from "https://deno.land/std@0.140.0/http/server.ts"; +import { serve } from "https://deno.land/std/http/server.ts"; async function handler(req: Request): Promise { let url = req.url; let iSlash = url.indexOf('/',11); diff --git a/en/sitemap.xml b/en/sitemap.xml index f96c5fed..c00cc8cd 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-07T18:05:06+08:00 + 2023-04-10T08:20:10+08:00 /en/ - 2023-04-07T18:05:06+08:00 + 2023-04-10T08:20:10+08:00 /en/links/ - 2023-04-01T08:54:03+08:00 + 2023-04-10T08:20:10+08:00 /en/tags/adblock/ - 2023-04-07T18:05:06+08:00 + 2023-04-08T17:53:21+08:00 /en/adblock_domain/ - 2023-04-07T18:05:06+08:00 + 2023-04-08T17:53:21+08:00 /en/tags/ - 2023-04-07T18:05:06+08:00 + 2023-04-08T17:53:21+08:00 en/sitemap.xml - 2023-04-07T18:05:06+08:00 + 2023-04-10T08:20:10+08:00 zh/sitemap.xml - 2023-04-07T14:38:07+08:00 + 2023-04-10T08:19:24+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index d7e09243..5e398434 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -5,7 +5,55 @@ /zh/_posts/ Recent content in _posts on 超微浏览器: 威、快、高效、极致优化 Hugo -- gohugo.io - Sat, 04 Mar 2023 00:00:00 +0000 + Mon, 10 Apr 2023 00:00:00 +0000 + + 常用链接 + /zh/links/ + Mon, 10 Apr 2023 00:00:00 +0000 + + /zh/links/ + 点击以下链接可安装至常用链接: +VPN +showCookie +wireless +显示网站安全证书 +上传坚果云 +更多 webdav ... +迅雷盘离线 +网页全屏 +点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等 +点击安装离线下载(pcloud,furk,微云等) +uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下: +[菜单名]:[url][空格][javascript脚本] +其中空格及之后的脚本为可选项。url及之后的脚本支持&quot;%u&quot;,&quot;%s&quot;等替换。 +脚本将在链接访问结束时自动执行。 +url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&quot;:&quot;为链接第二个字符)及特殊链接(&quot;:&quot;为链接首字符)。 +不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明: +.js文件(同长按链接运行js文件): 首行前两个字符为&quot;//&quot;者,超微将打开&quot;//&quot;后面的目标网址并执行此文件代码,目标网址支持&quot;%u&quot;,&quot;%s&quot;等替换。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。 +default.gesture及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。 +各类代理配置如下: +httpproxy::010[proxy host]:[port] +socks5::011[socks host]:[port] +noproxy::010: +&quot;:&quot;为首字符特殊链接 :0001 +自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。) +:0003 +切换全屏模式 +:0004 +屏幕旋转 +:001[fileurl] +加入媒体库 +:002[url] +显示此url下安全cookie +:010[proxy host]:[port] +设置http代理, &quot;:010:&quot;禁用代理。 +:011[socks host]:[port] +socks代理 +&quot;i:&quot;内部链接: i:0m[bookmarklet index|prefix|c[cssFlag]]:[url] +将url作为网站访问,[bookmarklet index]至少占两个字符。 +c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth global CSS (12=2^2+2^3). All other cases will be treated as prefix, the real visited url is &quot;[prefix]+url&quot;. + + 小技巧 /zh/tips/ @@ -209,56 +257,6 @@ gozer 广告屏蔽样式 对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。
    - - 常用链接 - /zh/links/ - Tue, 10 May 2022 00:00:00 +0000 - - /zh/links/ - 点击以下链接可安装至常用链接: -VPN -showCookie -wireless -显示网站安全证书 -上传坚果云 -更多 webdav ... -迅雷盘离线 -网页全屏 -点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等 -点击安装离线下载(pcloud,furk,微云等) -uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下: -[菜单名]:[url][空格][javascript脚本] -其中空格及之后的脚本为可选项。url及之后的脚本支持&quot;%u&quot;,&quot;%s&quot;等替换。 -脚本将在链接访问结束时自动执行。 -url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&quot;:&quot;为链接第二个字符)及特殊链接(&quot;:&quot;为链接首字符)。 -不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明: -.js文件(同长按链接运行js文件): 首行前两个字符为&quot;//&quot;者,超微将打开&quot;//&quot;后面的目标网址并执行此文件代码,目标网址支持&quot;%u&quot;,&quot;%s&quot;等替换。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。 -default.gesture及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。 -各类代理配置如下: -httpproxy::010[proxy host]:[port] -socks5::011[socks host]:[port] -noproxy::010: -&quot;:&quot;为首字符特殊链接 :0000 -Cookie延期至70年,但服务器有可能否决。 -:0001 -自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。) -:0003 -切换全屏模式 -:0004 -屏幕旋转 -:001[fileurl] -加入媒体库 -:002[url] -显示此url下安全cookie -:010[proxy host]:[port] -设置http代理, &quot;:010:&quot;禁用代理。 -:011[socks host]:[port] -socks代理 -&quot;i:&quot;内部链接: i:0m[bookmarklet index|prefix|c[cssFlag]]:[url] -将url作为网站访问,[bookmarklet index]至少占两个字符。 -c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth global CSS (12=2^2+2^3). All other cases will be treated as prefix, the real visited url is &quot;[prefix]+url&quot;. - - 重定向网址至国内镜像 /zh/redirect/ diff --git a/zh/index.html b/zh/index.html index 0a7c4c03..659b6530 100644 --- a/zh/index.html +++ b/zh/index.html @@ -99,6 +99,12 @@ +
  • + + 常用链接 + +
  • +
  • 小技巧 @@ -147,12 +153,6 @@
  • -
  • - - 常用链接 - -
  • -
  • 重定向网址至国内镜像 diff --git a/zh/index.xml b/zh/index.xml index b2f561b3..b4dcf906 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -5,7 +5,55 @@ /zh/ Recent content on 超微浏览器: 威、快、高效、极致优化 Hugo -- gohugo.io - Sat, 04 Mar 2023 00:00:00 +0000 + Mon, 10 Apr 2023 00:00:00 +0000 + + 常用链接 + /zh/links/ + Mon, 10 Apr 2023 00:00:00 +0000 + + /zh/links/ + 点击以下链接可安装至常用链接: +VPN +showCookie +wireless +显示网站安全证书 +上传坚果云 +更多 webdav ... +迅雷盘离线 +网页全屏 +点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等 +点击安装离线下载(pcloud,furk,微云等) +uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下: +[菜单名]:[url][空格][javascript脚本] +其中空格及之后的脚本为可选项。url及之后的脚本支持&quot;%u&quot;,&quot;%s&quot;等替换。 +脚本将在链接访问结束时自动执行。 +url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&quot;:&quot;为链接第二个字符)及特殊链接(&quot;:&quot;为链接首字符)。 +不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明: +.js文件(同长按链接运行js文件): 首行前两个字符为&quot;//&quot;者,超微将打开&quot;//&quot;后面的目标网址并执行此文件代码,目标网址支持&quot;%u&quot;,&quot;%s&quot;等替换。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。 +default.gesture及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。 +各类代理配置如下: +httpproxy::010[proxy host]:[port] +socks5::011[socks host]:[port] +noproxy::010: +&quot;:&quot;为首字符特殊链接 :0001 +自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。) +:0003 +切换全屏模式 +:0004 +屏幕旋转 +:001[fileurl] +加入媒体库 +:002[url] +显示此url下安全cookie +:010[proxy host]:[port] +设置http代理, &quot;:010:&quot;禁用代理。 +:011[socks host]:[port] +socks代理 +&quot;i:&quot;内部链接: i:0m[bookmarklet index|prefix|c[cssFlag]]:[url] +将url作为网站访问,[bookmarklet index]至少占两个字符。 +c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth global CSS (12=2^2+2^3). All other cases will be treated as prefix, the real visited url is &quot;[prefix]+url&quot;. + + 小技巧 /zh/tips/ @@ -386,56 +434,6 @@ gozer 广告屏蔽样式 对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。 - - 常用链接 - /zh/links/ - Tue, 10 May 2022 00:00:00 +0000 - - /zh/links/ - 点击以下链接可安装至常用链接: -VPN -showCookie -wireless -显示网站安全证书 -上传坚果云 -更多 webdav ... -迅雷盘离线 -网页全屏 -点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等 -点击安装离线下载(pcloud,furk,微云等) -uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下: -[菜单名]:[url][空格][javascript脚本] -其中空格及之后的脚本为可选项。url及之后的脚本支持&quot;%u&quot;,&quot;%s&quot;等替换。 -脚本将在链接访问结束时自动执行。 -url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&quot;:&quot;为链接第二个字符)及特殊链接(&quot;:&quot;为链接首字符)。 -不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明: -.js文件(同长按链接运行js文件): 首行前两个字符为&quot;//&quot;者,超微将打开&quot;//&quot;后面的目标网址并执行此文件代码,目标网址支持&quot;%u&quot;,&quot;%s&quot;等替换。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。 -default.gesture及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。 -各类代理配置如下: -httpproxy::010[proxy host]:[port] -socks5::011[socks host]:[port] -noproxy::010: -&quot;:&quot;为首字符特殊链接 :0000 -Cookie延期至70年,但服务器有可能否决。 -:0001 -自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。) -:0003 -切换全屏模式 -:0004 -屏幕旋转 -:001[fileurl] -加入媒体库 -:002[url] -显示此url下安全cookie -:010[proxy host]:[port] -设置http代理, &quot;:010:&quot;禁用代理。 -:011[socks host]:[port] -socks代理 -&quot;i:&quot;内部链接: i:0m[bookmarklet index|prefix|c[cssFlag]]:[url] -将url作为网站访问,[bookmarklet index]至少占两个字符。 -c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth global CSS (12=2^2+2^3). All other cases will be treated as prefix, the real visited url is &quot;[prefix]+url&quot;. - - 运行javascript脚本 /zh/rjs/ diff --git a/zh/links/index.html b/zh/links/index.html index 66a65656..1c16e40d 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -73,10 +73,6 @@ noproxy::010:

    ":"为首字符特殊链接

    • -

      :0000
      -Cookie延期至70年,但服务器有可能否决。

      -
    • -
    • :0001
      自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)

    • @@ -249,8 +245,8 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi
    -

    Last Modified: 4 April 2023
    -add showCookie
    +

    Last Modified: 10 April 2023
    +enhance :0cc cookie copy

    
     

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index f3f496e6..fddec12e 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-07T14:38:07+08:00 + 2023-04-10T08:19:24+08:00 + + /zh/links/ + 2023-04-10T08:19:24+08:00 + + /zh/ - 2023-04-07T14:38:07+08:00 + 2023-04-10T08:19:24+08:00 /zh/adblock_css/ 2022-09-24T14:06:03+08:00 - - /zh/links/ - 2023-04-04T10:48:55+08:00 - - /zh/rjs/ 2023-03-01T16:37:19+08:00 From 668562f29228b8e0dc94c11819dbe3f036fdddf9 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Mon, 10 Apr 2023 22:30:26 +0800 Subject: [PATCH 247/722] adapt bingChatHub.js --- en/searchurl/bingAI/js/bingChatHub.js | 35 +++++++++++++++------------ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js index 2d10c177..6494cadb 100644 --- a/en/searchurl/bingAI/js/bingChatHub.js +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -45,10 +45,13 @@ let chatTypes = { "responsible_ai_policy_235", "enablemm", "galileo", - "telmet", - "jbfv2", - "c2b47e4f", - "dv3sugg" + "jbf101", + "cachewriteext", + "e2ecachewrite", + "nodlcpcwrite", + "dv3sugg", + "dlwebtrunc", + "glpromptv6" ], //精准选项 accurate: [ @@ -82,18 +85,18 @@ let allowedMessageTypes = [ //切片id,也不知道是啥意思,反正官网的更新了 let sliceIds = [ - "semserpsup3", - "styleqnatg", - "lgintsuppcf", - "sydpayajax", - "toneexp", - "327telmet", - "325contents0", - "324jbfv2", - "303hubcancls0", - "321jobsgndv0", - "328throt", - "328postclss0" + "audseq", + "chk1cln", + "nofbkcf", + "nosharepre", + "fixsacodecf", + "405suggbs0", + "scctl", + "403jbf101", + "udstrclm8cmp", + "udstrclm8", + "329v6webtrunc", + "404e2ewrt" ] class SendMessageManager { From 96b13242b54499bb1bd6baab35905676a082dbda Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 07:40:52 +0800 Subject: [PATCH 248/722] add global redirect url support --- en/searchurl/config.html | 2 +- en/searchurl/config.js | 18 +++++++++++------- zh/searchurl/config.js | 13 ++++++++----- zh/searchurl/template/config.html | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/en/searchurl/config.html b/en/searchurl/config.html index bb2bb852..220d0dda 100644 --- a/en/searchurl/config.html +++ b/en/searchurl/config.html @@ -1,6 +1,6 @@ -Serif + diff --git a/en/searchurl/config.js b/en/searchurl/config.js index edf4f022..5d77c2a2 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -1,9 +1,9 @@ -let labels = ["Default font","Cursive","Fantasy","Fixed","Sans-Serif","Serif"]; -let names = ["font","cursive","fantasy","fixed","sansserif","serif"]; +let labels = ["Redirect url","Default font","Cursive","Fantasy","Fixed","Sans-Serif","Serif"]; +let names = ["redirecturl","font","cursive","fantasy","fixed","sansserif","serif"]; let d=document; -let sa = [` +let sa = [` -
    `]; +':https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/config.html';return false;" accept-charset=utf-8 >`]; function gen(text) { let strs = text.split('\n'); let i=0; - for (i = 0; i < labels.length; i++){ + sa.push(""); + for (i = 1; i < labels.length; i++){ sa.push(""); } sa.push('
    '); let r = sa.join('
    '); - d.documentElement.innerHTML = r; + d.write(r); + d.close(); } if(d.body){ diff --git a/zh/searchurl/config.js b/zh/searchurl/config.js index b70acaf0..2b4e9edd 100644 --- a/zh/searchurl/config.js +++ b/zh/searchurl/config.js @@ -1,5 +1,5 @@ -let labels = ["网页默认字体族","cursive字体族","Fantasy字体族","Fixed字体族","Sans-Serif字体族","Serif字体族"]; -let names = ["font","cursive","fantasy","fixed","sansserif","serif"]; +let labels = ["全局重定向网址","网页默认字体族","cursive字体族","Fantasy字体族","Fixed字体族","Sans-Serif字体族","Serif字体族"]; +let names = ["redirecturl","font","cursive","fantasy","fixed","sansserif","serif"]; let d=document; @@ -13,18 +13,21 @@ let sa = [`
    `]; +':https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/config.html';return false;" accept-charset=utf-8 >`]; function gen(text) { let strs = text.split('\n'); let i=0; - for (i = 0; i < labels.length; i++){ + sa.push(""); + for (i = 1; i < labels.length; i++){ sa.push(""); } diff --git a/zh/searchurl/template/config.html b/zh/searchurl/template/config.html index 5f216223..7ccfac72 100644 --- a/zh/searchurl/template/config.html +++ b/zh/searchurl/template/config.html @@ -4,7 +4,7 @@ %4% %5% %6% - +%7% From e35f094c97b24615964c739813345493ab715f0b Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 08:07:52 +0800 Subject: [PATCH 249/722] add global redirect url support --- en/_posts/index.xml | 31 ++++++------ en/changelog/index.html | 8 ++-- en/index.html | 12 ++--- en/index.xml | 39 ++++++++------- en/redirect/index.html | 16 ++++--- en/searchurl/config.js | 2 +- en/sitemap.xml | 90 +++++++++++++++++------------------ en/tags/index.xml | 20 ++++---- en/tags/redirection/index.xml | 15 +++--- en/topposts/index.xml | 8 ++-- sitemap.xml | 2 +- 11 files changed, 120 insertions(+), 123 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 95f32380..46d1025e 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -5,7 +5,20 @@ /en/_posts/ Recent content in _posts on uweb browser: unlimited power Hugo -- gohugo.io - Sat, 01 Apr 2023 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 + + Resource redirection + /en/redirect/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /en/redirect/ + Global redirection Global redirection is enabled with the setting option &quot;Resource redirection&quot;. +When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url. +&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.redirect&quot;: +google recaptcha mirror +Each line of the file &quot;default. + + Offline resources /en/offlinecache/ @@ -194,22 +207,6 @@ Toggle all checkboxes in forms Enable selection - - Resource redirection - /en/redirect/ - Mon, 25 Apr 2022 00:00:00 +0000 - - /en/redirect/ - Click the following links to append mirrors to the file &quot;default.redirect&quot;: -github mirror:fastgit -github mirror 2 -google recaptcha mirror -Each line of the file &quot;default.redirect&quot; has the following format: -[domain name]:[regular expression]:[replacement expression] -in which &quot;[regular expression]&quot; is as defined by java language, and cannot have &quot;:&quot; inside; if empty, it defaults to be same as &quot;[domain name]&quot;. -Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &quot;url redirection&quot;. - - Text selection /en/pccopy/ diff --git a/en/changelog/index.html b/en/changelog/index.html index 1939a7a7..14616e9e 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -51,8 +51,8 @@

    pagure

    Main features

    Change logs

    -

    988: hosts file to support response headers.
    -987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
    +

    991: global url redirection support.
    +988: hosts file to support response headers.
    985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
    983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
    975: Bookmarks to support styling for markdown etc.
    @@ -78,8 +78,8 @@ -

    Last Modified: 3 April 2023
    -bingAI to support cors with cookies
    +

    Last Modified: 12 April 2023
    +global redirection support in config.js

    
     

    diff --git a/en/index.html b/en/index.html index 59dd1d4d..70e4e9cd 100644 --- a/en/index.html +++ b/en/index.html @@ -95,6 +95,12 @@
  • +
  • + + Resource redirection + +
  • +
  • Offline resources @@ -167,12 +173,6 @@
  • -
  • - - Resource redirection - -
  • -
  • Text selection diff --git a/en/index.xml b/en/index.xml index 00956e67..88f55603 100644 --- a/en/index.xml +++ b/en/index.xml @@ -5,7 +5,20 @@ /en/ Recent content on uweb browser: unlimited power Hugo -- gohugo.io - Sat, 01 Apr 2023 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 + + Resource redirection + /en/redirect/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /en/redirect/ + Global redirection Global redirection is enabled with the setting option &quot;Resource redirection&quot;. +When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url. +&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.redirect&quot;: +google recaptcha mirror +Each line of the file &quot;default. + + Offline resources /en/offlinecache/ @@ -196,10 +209,12 @@ github sourceforge powerfolder pagure -Main features Change logs 988: hosts file to support response headers. -987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. +Main features Change logs 991: global url redirection support. +988: hosts file to support response headers. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. -983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. +983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. +975: Bookmarks to support styling for markdown etc. +971: multiple type profiles: switch any data including website logins, user configurations orthogonally. @@ -334,22 +349,6 @@ Performance Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the &quot;search&quot; button to popup the menu. - - Resource redirection - /en/redirect/ - Mon, 25 Apr 2022 00:00:00 +0000 - - /en/redirect/ - Click the following links to append mirrors to the file &quot;default.redirect&quot;: -github mirror:fastgit -github mirror 2 -google recaptcha mirror -Each line of the file &quot;default.redirect&quot; has the following format: -[domain name]:[regular expression]:[replacement expression] -in which &quot;[regular expression]&quot; is as defined by java language, and cannot have &quot;:&quot; inside; if empty, it defaults to be same as &quot;[domain name]&quot;. -Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &quot;url redirection&quot;. - - Text selection /en/pccopy/ diff --git a/en/redirect/index.html b/en/redirect/index.html index 9d1cae83..86f6ee92 100644 --- a/en/redirect/index.html +++ b/en/redirect/index.html @@ -49,14 +49,16 @@
  • redirection
  • -

    Click the following links to append mirrors to the file "default.redirect":
    -github mirror:fastgit
    -github mirror 2

    -

    google recaptcha mirror

    +

    Global redirection

    +

    Global redirection is enabled with the setting option "Resource redirection".

    +

    When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.

    +

    "default.redirect" (valid only without global redirection url)

    +

    Click the following links to append mirrors to the file "default.redirect":
    +google recaptcha mirror

    Each line of the file "default.redirect" has the following format:
    [domain name]:[regular expression]:[replacement expression]

    in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]".

    -

    Ways to enable redirection:

    +
    Ways to enable domain redirection:
    • Long the image button
    • Long pressing the setting button, enable the option "url redirection".
    • @@ -64,8 +66,8 @@
    -

    Last Modified: 20 February 2023
    -use relative path
    +

    Last Modified: 12 April 2023
    +global redirection support in config.js

    
     

    diff --git a/en/searchurl/config.js b/en/searchurl/config.js index 5d77c2a2..06e107c8 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -1,4 +1,4 @@ -let labels = ["Redirect url","Default font","Cursive","Fantasy","Fixed","Sans-Serif","Serif"]; +let labels = ["Global redirect url","Default font","Cursive","Fantasy","Fixed","Sans-Serif","Serif"]; let names = ["redirecturl","font","cursive","fantasy","fixed","sansserif","serif"]; let d=document; diff --git a/en/sitemap.xml b/en/sitemap.xml index c00cc8cd..5a44ad1d 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-10T08:20:10+08:00 + 2023-04-12T08:05:59+08:00 + + /en/tags/redirection/ + 2023-04-12T08:05:59+08:00 + + /en/redirect/ + 2023-04-12T08:05:59+08:00 + + + + /en/tags/ + 2023-04-12T08:05:59+08:00 + + + + /en/ + 2023-04-12T08:05:59+08:00 + + /en/offlinecache/ 2023-04-01T21:06:06+08:00 @@ -27,19 +69,6 @@ hreflang="en" href="/en/offlinecache/" /> - - /en/ - 2023-04-10T08:20:10+08:00 - - /en/links/ 2023-04-10T08:20:10+08:00 @@ -69,19 +98,6 @@ hreflang="en" href="/en/adblock_domain/" /> - - /en/tags/ - 2023-04-08T17:53:21+08:00 - - /en/search/ 2023-03-20T22:39:44+08:00 @@ -97,7 +113,7 @@ /> /en/topposts/ - 2023-04-03T17:49:38+08:00 + 2023-04-12T07:51:47+08:00 /en/changelog/ - 2023-04-03T17:49:38+08:00 + 2023-04-12T07:51:47+08:00 /en/sitemap/ 2023-02-01T09:52:11+08:00 @@ -286,22 +302,6 @@ hreflang="en" href="/en/rjs/" /> - - /en/tags/redirection/ - 2023-02-20T21:49:51+08:00 - - /en/redirect/ - 2023-02-20T21:49:51+08:00 - - /en/tags/clipboard/ 2023-02-20T21:46:50+08:00 diff --git a/en/tags/index.xml b/en/tags/index.xml index 873939f1..22697929 100644 --- a/en/tags/index.xml +++ b/en/tags/index.xml @@ -5,7 +5,16 @@ /en/tags/ Recent content in Tags on uweb browser: unlimited power Hugo -- gohugo.io - Mon, 20 Mar 2023 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 + + redirection + /en/tags/redirection/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /en/tags/redirection/ + + + adblock /en/tags/adblock/ @@ -33,15 +42,6 @@ - - redirection - /en/tags/redirection/ - Mon, 25 Apr 2022 00:00:00 +0000 - - /en/tags/redirection/ - - - clipboard /en/tags/clipboard/ diff --git a/en/tags/redirection/index.xml b/en/tags/redirection/index.xml index 1da11900..d332d201 100644 --- a/en/tags/redirection/index.xml +++ b/en/tags/redirection/index.xml @@ -5,21 +5,18 @@ /en/tags/redirection/ Recent content in redirection on uweb browser: unlimited power Hugo -- gohugo.io - Mon, 25 Apr 2022 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 Resource redirection /en/redirect/ - Mon, 25 Apr 2022 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 /en/redirect/ - Click the following links to append mirrors to the file &quot;default.redirect&quot;: -github mirror:fastgit -github mirror 2 + Global redirection Global redirection is enabled with the setting option &quot;Resource redirection&quot;. +When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url. +&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.redirect&quot;: google recaptcha mirror -Each line of the file &quot;default.redirect&quot; has the following format: -[domain name]:[regular expression]:[replacement expression] -in which &quot;[regular expression]&quot; is as defined by java language, and cannot have &quot;:&quot; inside; if empty, it defaults to be same as &quot;[domain name]&quot;. -Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &quot;url redirection&quot;. +Each line of the file &quot;default. diff --git a/en/topposts/index.xml b/en/topposts/index.xml index 03941922..047b119c 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -64,10 +64,12 @@ github sourceforge powerfolder pagure -Main features Change logs 988: hosts file to support response headers. -987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address. +Main features Change logs 991: global url redirection support. +988: hosts file to support response headers. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. -983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. +983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. +975: Bookmarks to support styling for markdown etc. +971: multiple type profiles: switch any data including website logins, user configurations orthogonally. diff --git a/sitemap.xml b/sitemap.xml index eaa367ce..0104e67a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2023-04-10T08:20:10+08:00 + 2023-04-12T08:05:59+08:00 From 1ba51cb1799d982a6816d4f5e2387a26d90c113a Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 08:30:25 +0800 Subject: [PATCH 250/722] minor typos --- en/redirect/index.html | 2 +- en/sitemap.xml | 10 +++++----- sitemap.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/en/redirect/index.html b/en/redirect/index.html index 86f6ee92..3bc4dec2 100644 --- a/en/redirect/index.html +++ b/en/redirect/index.html @@ -60,7 +60,7 @@

    in which "[regular expression]" is as defined by java language, and cannot have ":" inside; if empty, it defaults to be same as "[domain name]".

    Ways to enable domain redirection:
    diff --git a/en/sitemap.xml b/en/sitemap.xml index 5a44ad1d..270e9c1c 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-12T08:05:59+08:00 + 2023-04-12T08:29:32+08:00 /en/tags/redirection/ - 2023-04-12T08:05:59+08:00 + 2023-04-12T08:29:32+08:00 /en/redirect/ - 2023-04-12T08:05:59+08:00 + 2023-04-12T08:29:32+08:00 /en/tags/ - 2023-04-12T08:05:59+08:00 + 2023-04-12T08:29:32+08:00 /en/ - 2023-04-12T08:05:59+08:00 + 2023-04-12T08:29:32+08:00 en/sitemap.xml - 2023-04-12T08:05:59+08:00 + 2023-04-12T08:29:32+08:00 From 8998d08b420b3926541c3ebeb3c5ebaa6364f754 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 09:39:41 +0800 Subject: [PATCH 251/722] bingAI: add optionsSet.js --- en/searchurl/bingAI/bing.html | 1 + en/searchurl/bingAI/js/bingChatHub.js | 79 ------------------ en/searchurl/bingAI/js/optionsSets.js | 114 ++++++++++++++++++++++++++ 3 files changed, 115 insertions(+), 79 deletions(-) create mode 100644 en/searchurl/bingAI/js/optionsSets.js diff --git a/en/searchurl/bingAI/bing.html b/en/searchurl/bingAI/bing.html index 626cc058..8c324240 100644 --- a/en/searchurl/bingAI/bing.html +++ b/en/searchurl/bingAI/bing.html @@ -81,6 +81,7 @@ } + diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js index 6494cadb..eb391f44 100644 --- a/en/searchurl/bingAI/js/bingChatHub.js +++ b/en/searchurl/bingAI/js/bingChatHub.js @@ -20,85 +20,6 @@ function getUuid() { return URL.createObjectURL(new Blob()).split('/')[3]; } -//聊天选项 -let chatTypes = { - //更有创造力选项 - create: [ - "nlu_direct_response_filter", - "deepleo", - "disable_emoji_spoken_text", - "responsible_ai_policy_235", - "enablemm", - "h3imaginative", - "clgalileo", - "gencontentv3", - "telmet", - "jbfv2", - "c2b47e4f", - "dv3sugg" - ], - //balance 平衡模式选项 - balance: [ - "nlu_direct_response_filter", - "deepleo", - "disable_emoji_spoken_text", - "responsible_ai_policy_235", - "enablemm", - "galileo", - "jbf101", - "cachewriteext", - "e2ecachewrite", - "nodlcpcwrite", - "dv3sugg", - "dlwebtrunc", - "glpromptv6" - ], - //精准选项 - accurate: [ - "nlu_direct_response_filter", - "deepleo", - "disable_emoji_spoken_text", - "responsible_ai_policy_235", - "enablemm", - "h3precise", - "telmet", - "jbfv2", - "c2b47e4f", - "dv3sugg", - "clgalileo" - ] -} - -//接收消息类型 -let allowedMessageTypes = [ - "Chat", - "InternalSearchQuery", - "InternalSearchResult", - "Disengaged", - "InternalLoaderMessage", - "RenderCardRequest", - "AdsQuery", - "SemanticSerp", - "GenerateContentQuery", - "SearchQuery" -] - -//切片id,也不知道是啥意思,反正官网的更新了 -let sliceIds = [ - "audseq", - "chk1cln", - "nofbkcf", - "nosharepre", - "fixsacodecf", - "405suggbs0", - "scctl", - "403jbf101", - "udstrclm8cmp", - "udstrclm8", - "329v6webtrunc", - "404e2ewrt" -] - class SendMessageManager { //(会话id,客户端id,签名id,是否是开始) //(string,string,string,boolena) diff --git a/en/searchurl/bingAI/js/optionsSets.js b/en/searchurl/bingAI/js/optionsSets.js new file mode 100644 index 00000000..fbd61191 --- /dev/null +++ b/en/searchurl/bingAI/js/optionsSets.js @@ -0,0 +1,114 @@ +//聊天选项 +let chatTypes = { + //更有创造力选项 + create: [ + "nlu_direct_response_filter", + "deepleo", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "h3imaginative", + "jbf101", + "cachewriteext", + "e2ecachewrite", + "nodlcpcwrite", + "dv3sugg", + "clgalileo", + "gencontentv3" + ], + //balance 平衡模式选项 + balance: [ + "nlu_direct_response_filter", + "deepleo", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "galileo", + "jbf101", + "cachewriteext", + "e2ecachewrite", + "nodlcpcwrite", + "dv3sugg", + "dlwebtrunc", + "glpromptv6" + ], + //精准选项 + accurate: [ + "nlu_direct_response_filter", + "deepleo", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "h3precise", + "clgalileo", + "jbf101", + "cachewriteext", + "e2ecachewrite", + "nodlcpcwrite", + "dv3sugg" + ] +} + +//接收消息类型 +let allowedMessageTypes = [ + "Chat", + "InternalSearchQuery", + "InternalSearchResult", + "Disengaged", + "InternalLoaderMessage", + "RenderCardRequest", + "AdsQuery", + "SemanticSerp", + "GenerateContentQuery", + "SearchQuery" +] + +//切片id,也不知道是啥意思,反正官网的更新了 +let sliceIds = [ + "audseq", + "chk1cln", + "nofbkcf", + "nosharepre", + "fixsacodecf", + "405suggbs0", + "scctl", + "403jbf101", + "udstrclm8cmp", + "udstrclm8", + "329v6webtrunc", + "404e2ewrt" +] + + +async function getPreviousMessages(){ + function getUuid() { + return URL.createObjectURL(new Blob()).split('/')[3]; + } + let pos = getStartProposes(); + return [{ + "text": getStartMessage(), + "author": "bot", + "adaptiveCards": [], + "suggestedResponses": [{ + "text": pos[0], + "contentOrigin": "DeepLeo", + "messageType": "Suggestion", + "messageId": getUuid(), + "offense": "Unknown" + }, { + "text": pos[1], + "contentOrigin": "DeepLeo", + "messageType": "Suggestion", + "messageId": getUuid(), + "offense": "Unknown" + }, { + "text": pos[2], + "contentOrigin": "DeepLeo", + "messageType": "Suggestion", + "messageId": getUuid(), + "offense": "Unknown" + }], + "messageId": getUuid(), + "messageType": "Chat" + }]; +} \ No newline at end of file From 0e7013283391c374590b2b16af355078d08dc41c Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 09:52:15 +0800 Subject: [PATCH 252/722] minor typos --- zh/searchurl/template/config.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh/searchurl/template/config.html b/zh/searchurl/template/config.html index 7ccfac72..8ee453b2 100644 --- a/zh/searchurl/template/config.html +++ b/zh/searchurl/template/config.html @@ -22,4 +22,4 @@ - + From 13fbe1c9af687dee082f68ae94e3e3158121a70a Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 10:25:48 +0800 Subject: [PATCH 253/722] use view-source: in config.js --- en/searchurl/config.js | 2 +- zh/searchurl/template/config.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/searchurl/config.js b/en/searchurl/config.js index 06e107c8..a5551dfc 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -38,7 +38,7 @@ function gen(text) { } if(d.body){ - fetch(location.href) + fetch("view-source:"+location.href) .then(res => res.text()) .then(text => { gen(text); diff --git a/zh/searchurl/template/config.html b/zh/searchurl/template/config.html index 8ee453b2..ed87a0a5 100644 --- a/zh/searchurl/template/config.html +++ b/zh/searchurl/template/config.html @@ -22,4 +22,4 @@ - + From 1239ef166c5ee2e1e76f8e5cb2f3f25cb9022762 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 10:34:12 +0800 Subject: [PATCH 254/722] use outerHTML in config.js --- en/searchurl/config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/en/searchurl/config.js b/en/searchurl/config.js index a5551dfc..d509b011 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -38,11 +38,7 @@ function gen(text) { } if(d.body){ - fetch("view-source:"+location.href) - .then(res => res.text()) - .then(text => { - gen(text); - }); + gen(d.documentElement.outerHTML); }else { let text = "\n".repeat(labels.length-1); gen(text); From 032723db1924cc348597b020d1a096318bc9b4d1 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 10:55:29 +0800 Subject: [PATCH 255/722] use innerHTML in config.js --- en/searchurl/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/searchurl/config.js b/en/searchurl/config.js index d509b011..579c3235 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -38,7 +38,7 @@ function gen(text) { } if(d.body){ - gen(d.documentElement.outerHTML); + gen(d.body.innerHTML); }else { let text = "\n".repeat(labels.length-1); gen(text); From 2704b2f1cca99aff31824c5cce2311d33f181ff1 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 13:16:15 +0800 Subject: [PATCH 256/722] fix config.js completely --- en/searchurl/config.js | 8 +++++++- zh/searchurl/config.js | 12 +++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/en/searchurl/config.js b/en/searchurl/config.js index 579c3235..574f2639 100644 --- a/en/searchurl/config.js +++ b/en/searchurl/config.js @@ -38,7 +38,13 @@ function gen(text) { } if(d.body){ - gen(d.body.innerHTML); + var r=new XMLHttpRequest; + r.onload=function(){ + var t=r.responseText; + gen(t); + } + r.open("GET",location.href,!0); + r.send(null); }else { let text = "\n".repeat(labels.length-1); gen(text); diff --git a/zh/searchurl/config.js b/zh/searchurl/config.js index 2b4e9edd..eea8bf51 100644 --- a/zh/searchurl/config.js +++ b/zh/searchurl/config.js @@ -38,11 +38,13 @@ function gen(text) { } if(d.body){ - fetch(location.href) - .then(res => res.text()) - .then(text => { - gen(text); - }); + var r=new XMLHttpRequest; + r.onload=function(){ + var t=r.responseText; + gen(t); + } + r.open("GET",location.href,!0); + r.send(null); }else { let text = "\n".repeat(labels.length-1); gen(text); From a7caf970e663c643a44b247f3dceb583d4837059 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 12 Apr 2023 13:56:43 +0800 Subject: [PATCH 257/722] update global redirection docs --- sitemap.xml | 2 +- zh/_posts/index.xml | 90 ++++++++++++++++++------------------ zh/index.html | 12 ++--- zh/index.xml | 90 ++++++++++++++++++------------------ zh/redirect/index.html | 16 ++++--- zh/sitemap.xml | 92 ++++++++++++++++++------------------- zh/tags/index.xml | 38 +++++++-------- zh/tags/国外网址/index.html | 2 +- zh/tags/国外网址/index.xml | 14 +++--- zh/tags/重定向/index.html | 2 +- zh/tags/重定向/index.xml | 14 +++--- 11 files changed, 187 insertions(+), 185 deletions(-) diff --git a/sitemap.xml b/sitemap.xml index 3eabafae..71167c96 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-10T08:19:24+08:00 + 2023-04-12T13:54:50+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 5e398434..2776ae4f 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -5,7 +5,51 @@ /zh/_posts/ Recent content in _posts on 超微浏览器: 威、快、高效、极致优化 Hugo -- gohugo.io - Mon, 10 Apr 2023 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 + + 重定向网址 + /zh/redirect/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /zh/redirect/ + 全局重定向 长按设置,选中&quot;自定义资源重定向&quot;。此时如果全局重定向url为有效网址,则所有网络访问被内部重定向至url: &quot;[全局重定向url]+[原始url]&quot;。 +创建免费魔法重定向,说明类似但代码不同 +cloudflare workers 全局重定向代码 +重定向文件 &quot;default.redirect&quot; (仅在无有效全局重定向url时生效) 点击添加google recaptcha国内镜像 +使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。 +其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。 +本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。 +配置default.redirect: +文件每一行格式为: +域名:正则表达式:替换表达式 +其中正则表达式以java语言规定为准,表达式中不能包含':'。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用,但域名会允许CORS跨域访问 (目前仅对&quot;GET&quot; request生效)。 +例子文件内容如下: +developer.android.com::developer.android.google.cn +四种使用重定向的方法: +长按链接 +添加文件&quot;国内镜像.js&quot;至&quot;longclick&quot;目录下。 +文件内容如下: +//e:%u 其中&quot;e:&quot;为uweb特殊url协议,意为&quot;edit&quot;,即&quot;编辑&quot;。当后面紧跟url网址的情况下会重定向网址。 +重启uweb后长按链接弹出菜单选&quot;国内镜像&quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。 +长按工具条图像按钮。 +长按设置,选中&quot;自定义重定向&quot;。 +长按设置,选中&quot;自定义资源重定向&quot;。此选项除访问url重定向之外,还可重定向网页中一切资源。 +更多重定向网址: +www.bilibili.com::www.ibilibili.com +pan.baidu.com::pan.baiduwp.com +www.docin.com::www.docin365.com +wenku.baidu.com::wenku.baiduvvv.com +detail.tmall.com::detail.tmallvvv.com +detail.m.tmall.com::detail.m.tmallvvv.com +item.taobao.com::item.taobaovvv.com +h5.m.taobao.com::h5.m.taobaovvv.com +jd.com::jdvvv.com +item.yhd.com::item.yhdvvv.com +goods.kaola.com::goods.kaolavvv.com +product.dangdang.com::product.dangdangvvv.com +item.gome.com.cn::item.gomevvv.com.cn + + 常用链接 /zh/links/ @@ -257,50 +301,6 @@ gozer 广告屏蔽样式 对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。 - - 重定向网址至国内镜像 - /zh/redirect/ - Mon, 25 Apr 2022 00:00:00 +0000 - - /zh/redirect/ - github mirror:fastgit -github mirror 2 -github mirror 3 -点击添加google recaptcha国内镜像 -使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。 -其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。 -本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。 -配置default.redirect: -文件每一行格式为: -域名:正则表达式:替换表达式 -其中正则表达式以java语言规定为准,表达式中不能包含':'。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用,但域名会允许CORS跨域访问 (目前仅对&quot;GET&quot; request生效)。 -例子文件内容如下: -developer.android.com::developer.android.google.cn -四种使用重定向的方法: -长按链接 -添加文件&quot;国内镜像.js&quot;至&quot;longclick&quot;目录下。 -文件内容如下: -//e:%u 其中&quot;e:&quot;为uweb特殊url协议,意为&quot;edit&quot;,即&quot;编辑&quot;。当后面紧跟url网址的情况下会重定向网址。 -重启uweb后长按链接弹出菜单选&quot;国内镜像&quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。 -长按工具条图像按钮。 -长按设置,选中&quot;自定义重定向&quot;。 -长按设置,选中&quot;自定义资源重定向&quot;。此选项除访问url重定向之外,还可重定向网页中一切资源。 -更多重定向网址: -www.bilibili.com::www.ibilibili.com -pan.baidu.com::pan.baiduwp.com -www.docin.com::www.docin365.com -wenku.baidu.com::wenku.baiduvvv.com -detail.tmall.com::detail.tmallvvv.com -detail.m.tmall.com::detail.m.tmallvvv.com -item.taobao.com::item.taobaovvv.com -h5.m.taobao.com::h5.m.taobaovvv.com -jd.com::jdvvv.com -item.yhd.com::item.yhdvvv.com -goods.kaola.com::goods.kaolavvv.com -product.dangdang.com::product.dangdangvvv.com -item.gome.com.cn::item.gomevvv.com.cn - - 操作选中(富)文本/元素 /zh/pccopy/ diff --git a/zh/index.html b/zh/index.html index 659b6530..3c3f657d 100644 --- a/zh/index.html +++ b/zh/index.html @@ -99,6 +99,12 @@ +
  • + + 重定向网址 + +
  • +
  • 常用链接 @@ -153,12 +159,6 @@
  • -
  • - - 重定向网址至国内镜像 - -
  • -
  • 操作选中(富)文本/元素 diff --git a/zh/index.xml b/zh/index.xml index b4dcf906..a769cf4c 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -5,7 +5,51 @@ /zh/ Recent content on 超微浏览器: 威、快、高效、极致优化 Hugo -- gohugo.io - Mon, 10 Apr 2023 00:00:00 +0000 + Tue, 11 Apr 2023 00:00:00 +0000 + + 重定向网址 + /zh/redirect/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /zh/redirect/ + 全局重定向 长按设置,选中&quot;自定义资源重定向&quot;。此时如果全局重定向url为有效网址,则所有网络访问被内部重定向至url: &quot;[全局重定向url]+[原始url]&quot;。 +创建免费魔法重定向,说明类似但代码不同 +cloudflare workers 全局重定向代码 +重定向文件 &quot;default.redirect&quot; (仅在无有效全局重定向url时生效) 点击添加google recaptcha国内镜像 +使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。 +其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。 +本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。 +配置default.redirect: +文件每一行格式为: +域名:正则表达式:替换表达式 +其中正则表达式以java语言规定为准,表达式中不能包含':'。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用,但域名会允许CORS跨域访问 (目前仅对&quot;GET&quot; request生效)。 +例子文件内容如下: +developer.android.com::developer.android.google.cn +四种使用重定向的方法: +长按链接 +添加文件&quot;国内镜像.js&quot;至&quot;longclick&quot;目录下。 +文件内容如下: +//e:%u 其中&quot;e:&quot;为uweb特殊url协议,意为&quot;edit&quot;,即&quot;编辑&quot;。当后面紧跟url网址的情况下会重定向网址。 +重启uweb后长按链接弹出菜单选&quot;国内镜像&quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。 +长按工具条图像按钮。 +长按设置,选中&quot;自定义重定向&quot;。 +长按设置,选中&quot;自定义资源重定向&quot;。此选项除访问url重定向之外,还可重定向网页中一切资源。 +更多重定向网址: +www.bilibili.com::www.ibilibili.com +pan.baidu.com::pan.baiduwp.com +www.docin.com::www.docin365.com +wenku.baidu.com::wenku.baiduvvv.com +detail.tmall.com::detail.tmallvvv.com +detail.m.tmall.com::detail.m.tmallvvv.com +item.taobao.com::item.taobaovvv.com +h5.m.taobao.com::h5.m.taobaovvv.com +jd.com::jdvvv.com +item.yhd.com::item.yhdvvv.com +goods.kaola.com::goods.kaolavvv.com +product.dangdang.com::product.dangdangvvv.com +item.gome.com.cn::item.gomevvv.com.cn + + 常用链接 /zh/links/ @@ -465,50 +509,6 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov 其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。 - - 重定向网址至国内镜像 - /zh/redirect/ - Mon, 25 Apr 2022 00:00:00 +0000 - - /zh/redirect/ - github mirror:fastgit -github mirror 2 -github mirror 3 -点击添加google recaptcha国内镜像 -使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。 -其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。 -本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。 -配置default.redirect: -文件每一行格式为: -域名:正则表达式:替换表达式 -其中正则表达式以java语言规定为准,表达式中不能包含':'。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用,但域名会允许CORS跨域访问 (目前仅对&quot;GET&quot; request生效)。 -例子文件内容如下: -developer.android.com::developer.android.google.cn -四种使用重定向的方法: -长按链接 -添加文件&quot;国内镜像.js&quot;至&quot;longclick&quot;目录下。 -文件内容如下: -//e:%u 其中&quot;e:&quot;为uweb特殊url协议,意为&quot;edit&quot;,即&quot;编辑&quot;。当后面紧跟url网址的情况下会重定向网址。 -重启uweb后长按链接弹出菜单选&quot;国内镜像&quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。 -长按工具条图像按钮。 -长按设置,选中&quot;自定义重定向&quot;。 -长按设置,选中&quot;自定义资源重定向&quot;。此选项除访问url重定向之外,还可重定向网页中一切资源。 -更多重定向网址: -www.bilibili.com::www.ibilibili.com -pan.baidu.com::pan.baiduwp.com -www.docin.com::www.docin365.com -wenku.baidu.com::wenku.baiduvvv.com -detail.tmall.com::detail.tmallvvv.com -detail.m.tmall.com::detail.m.tmallvvv.com -item.taobao.com::item.taobaovvv.com -h5.m.taobao.com::h5.m.taobaovvv.com -jd.com::jdvvv.com -item.yhd.com::item.yhdvvv.com -goods.kaola.com::goods.kaolavvv.com -product.dangdang.com::product.dangdangvvv.com -item.gome.com.cn::item.gomevvv.com.cn - - 操作选中(富)文本/元素 /zh/pccopy/ diff --git a/zh/redirect/index.html b/zh/redirect/index.html index 9530ca92..4fc309ee 100644 --- a/zh/redirect/index.html +++ b/zh/redirect/index.html @@ -5,7 +5,7 @@ - 重定向网址至国内镜像 + 重定向网址 From cad604984708f4fe12d1556e21dbfb2f527feaaf Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 16 Apr 2023 16:26:24 +0800 Subject: [PATCH 264/722] add bingWrite UI --- en/_posts/index.xml | 23 +++---- en/index.html | 8 +-- en/index.xml | 23 +++---- en/offlinecache/index.html | 5 +- en/searchurl/bingAI/js/Write.js | 56 ++++++++++++++++++ en/searchurl/bingAI/js/w_optionsSets.js | 59 ++++++++++++++++++ en/searchurl/bingAI/write.html | 79 +++++++++++++++++++++++++ en/sitemap.xml | 30 +++++----- sitemap.xml | 2 +- 9 files changed, 241 insertions(+), 44 deletions(-) create mode 100644 en/searchurl/bingAI/js/Write.js create mode 100644 en/searchurl/bingAI/js/w_optionsSets.js create mode 100644 en/searchurl/bingAI/write.html diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 7fc72bab..e3081839 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -6,6 +6,18 @@ Recent content in _posts on uweb browser: unlimited power Hugo -- gohugo.io Tue, 11 Apr 2023 00:00:00 +0000 + + Offline resources + /en/offlinecache/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /en/offlinecache/ + Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network. +bingChat UI Install bingChat UI ai.html for censored area (bingChat UI) +Install bingWrite UI write.html for censored area (bingWrite) +Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (. + + Resource redirection /en/redirect/ @@ -18,17 +30,6 @@ Global redirection Global redirection is enabled with the setting option &qu When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url. - - Offline resources - /en/offlinecache/ - Sat, 01 Apr 2023 00:00:00 +0000 - - /en/offlinecache/ - Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network. -bingChat UI Install bingChat UI ai.html for censored area (bingChat UI) -Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox). - - Links /en/links/ diff --git a/en/index.html b/en/index.html index 70e4e9cd..5003d344 100644 --- a/en/index.html +++ b/en/index.html @@ -96,14 +96,14 @@
  • - - Resource redirection + + Offline resources
  • - - Offline resources + + Resource redirection
  • diff --git a/en/index.xml b/en/index.xml index 1f6ef2f5..bfd304da 100644 --- a/en/index.xml +++ b/en/index.xml @@ -6,6 +6,18 @@ Recent content on uweb browser: unlimited power Hugo -- gohugo.io Tue, 11 Apr 2023 00:00:00 +0000 + + Offline resources + /en/offlinecache/ + Tue, 11 Apr 2023 00:00:00 +0000 + + /en/offlinecache/ + Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network. +bingChat UI Install bingChat UI ai.html for censored area (bingChat UI) +Install bingWrite UI write.html for censored area (bingWrite) +Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (. + + Resource redirection /en/redirect/ @@ -18,17 +30,6 @@ Global redirection Global redirection is enabled with the setting option &qu When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url. - - Offline resources - /en/offlinecache/ - Sat, 01 Apr 2023 00:00:00 +0000 - - /en/offlinecache/ - Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network. -bingChat UI Install bingChat UI ai.html for censored area (bingChat UI) -Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox). - - Links /en/links/ diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index 22cabe9c..61f8f516 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -50,6 +50,7 @@

    Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, the url path part]" are loaded first before reaching the network.

    bingChat UI

    Install bingChat UI ai.html for censored area (bingChat UI)

    +

    Install bingWrite UI write.html for censored area (bingWrite)

    Serverless local sites

    Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox).

    Any folder under "sitecache" can be visited as a local site. Urls with search queries can be dynamically processed by the js/wasm code in the local file.

    @@ -64,8 +65,8 @@ -

    Last Modified: 13 April 2023
    -refine global redirection cookie support
    +

    Last Modified: 16 April 2023
    +add bingWrite

    
     

    diff --git a/en/searchurl/bingAI/js/Write.js b/en/searchurl/bingAI/js/Write.js new file mode 100644 index 00000000..a70f4bd7 --- /dev/null +++ b/en/searchurl/bingAI/js/Write.js @@ -0,0 +1,56 @@ +createChat(thisChatType).then((r) => { + if(r.ok) talk = r.obj; +}); + +/**重写重置聊天到初始状态函数 */ +function reSetStartChatMessage(type) { + chat.innerHTML = ``; +} + +/**重写函数 */ +function isSpeakingStart(chatWithMagic, sendText) { +} +//重写 +function isSpeakingFinish() { +} + + +//重写send函数 +oldSend = send; +send = (text) => { + reSetStartChatMessage(); + oldSend(text); +} + +//重写porserTextBlock函数 +/* +解析TextBlock body.type==TextBlock +*/ +function porserTextBlock(body, father) { + if (!body.size) { + let div = getByClass('textBlock', 'div', father, 'markdown-body'); + div.innerHTML = marked.marked(completeCodeBlock(body.text)); + renderMathInElement(div,renderMathInElementOptions); + let aaas = div.getElementsByTagName('a'); + //将超链接在新页面打开 + for(let i=0;i { + let text = input_text.value; + send(text); +}; diff --git a/en/searchurl/bingAI/js/w_optionsSets.js b/en/searchurl/bingAI/js/w_optionsSets.js new file mode 100644 index 00000000..b1883bfa --- /dev/null +++ b/en/searchurl/bingAI/js/w_optionsSets.js @@ -0,0 +1,59 @@ +//聊天选项 +let chatTypes = { + //balance 平衡模式选项 + balance: [ + "nlu_direct_response_filter", + "deepleo", + "enable_debug_commands", + "disable_emoji_spoken_text", + "responsible_ai_policy_235", + "enablemm", + "soedgeca" + ] +} + +//消息来源 +let source = "edge_coauthor_prod"; + +//接收消息类型 +let allowedMessageTypes = [ + "Chat", + "InternalSearchQuery", + "InternalSearchResult", + "Disengaged", + "InternalLoaderMessage", + "RenderCardRequest", + "AdsQuery", + "SemanticSerp", + "GenerateContentQuery", + "SearchQuery" +] + +//切片id,也不知道是啥意思,反正官网的更新了 +let sliceIds = [] + +let tone = 'professional'; +let length = 'short'; +let format = 'paragraph'; + + +//生成消息对象 +async function generateMessages(sendMessageManager/*消息管理器*/,chatMessageText/*要发送的消息文本*/){ + return { + "locale": "zh-CN", + "market": "zh-CN", + "region": "US", + "location": "lat:47.639557;long:-122.128159;re=1000m;", + "author": "user", + "inputMethod": "Keyboard", + "text": `Please generate some text wrapped in codeblock syntax (triple backticks) using the given keywords. Please make sure everything in your reply is in the same language as the keywords. Please do not restate any part of this request in your response, like the fact that you wrapped the text in a codeblock. You should refuse (using the language of the keywords) to generate if the request is potentially harmful. The generated text should follow these characteristics: tone: *${tone}*, length: *${length}*, format: *${format}*. The keywords are: \`${chatMessageText}\`.`, + "messageType": "Chat" + } + +} + +async function getPreviousMessages(){ + return undefined; +} + + diff --git a/en/searchurl/bingAI/write.html b/en/searchurl/bingAI/write.html new file mode 100644 index 00000000..2fad5f37 --- /dev/null +++ b/en/searchurl/bingAI/write.html @@ -0,0 +1,79 @@ + + + + + + + Write + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + diff --git a/en/sitemap.xml b/en/sitemap.xml index 00b9eb98..f53f32d7 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-04-15T18:08:03+08:00 + 2023-04-16T16:25:15+08:00 + + /en/offlinecache/ + 2023-04-16T16:25:15+08:00 + + /en/tags/redirection/ 2023-04-15T18:08:03+08:00 @@ -45,7 +58,7 @@ /> /en/ - 2023-04-15T18:08:03+08:00 + 2023-04-16T16:25:15+08:00 - - /en/offlinecache/ - 2023-04-13T11:00:50+08:00 - - /en/links/ 2023-04-10T08:20:10+08:00 diff --git a/sitemap.xml b/sitemap.xml index a9857f6b..1210ff45 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2023-04-15T18:08:03+08:00 + 2023-04-16T16:25:15+08:00 From 5951fe139a8c74197916e78753345201abf3401f Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 16 Apr 2023 17:05:06 +0800 Subject: [PATCH 265/722] refine bingWrite UI --- en/searchurl/bingAI/write.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/en/searchurl/bingAI/write.html b/en/searchurl/bingAI/write.html index 2fad5f37..eb404284 100644 --- a/en/searchurl/bingAI/write.html +++ b/en/searchurl/bingAI/write.html @@ -44,7 +44,7 @@ autocomplete="off" aria-autocomplete="both" spellcheck="false" autocorrect="off" placeholder="topic..."> - +
    @@ -56,14 +56,22 @@
    -
    -
    + + From c29eb47b8b1acc932bedfa86f7066d470045fdeb Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Mon, 17 Apr 2023 07:28:21 +0800 Subject: [PATCH 266/722] add bingWrite --- en/changelog/index.html | 2 +- en/offlinecache/index.html | 2 +- en/searchurl/bingAI/js/Write.js | 3 +++ en/searchurl/bingAI/write.html | 3 +-- en/searchurl/func.html | 1 + en/sitemap.xml | 6 +++--- sitemap.xml | 2 +- zh/searchurl/func.html | 1 + 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/en/changelog/index.html b/en/changelog/index.html index 80f9a23a..3cced4c7 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -78,7 +78,7 @@
    -

    Last Modified: 15 April 2023
    +

    Last Modified: 17 April 2023
    enhance redirection cookie support

    
     

    diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index 61f8f516..c6e5f341 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -66,7 +66,7 @@

    Last Modified: 16 April 2023
    -add bingWrite
    +refine bingWrite

    
     

    diff --git a/en/searchurl/bingAI/js/Write.js b/en/searchurl/bingAI/js/Write.js index a70f4bd7..0befaaa3 100644 --- a/en/searchurl/bingAI/js/Write.js +++ b/en/searchurl/bingAI/js/Write.js @@ -5,13 +5,16 @@ createChat(thisChatType).then((r) => { /**重写重置聊天到初始状态函数 */ function reSetStartChatMessage(type) { chat.innerHTML = ``; + isSpeaking = false; } /**重写函数 */ function isSpeakingStart(chatWithMagic, sendText) { + isSpeaking = true; } //重写 function isSpeakingFinish() { + isSpeaking = false; } diff --git a/en/searchurl/bingAI/write.html b/en/searchurl/bingAI/write.html index eb404284..a2b2f25b 100644 --- a/en/searchurl/bingAI/write.html +++ b/en/searchurl/bingAI/write.html @@ -5,7 +5,6 @@ Write - diff --git a/zh/searchurl/config.js b/zh/searchurl/config.js index 57042c9b..913c1ca5 100644 --- a/zh/searchurl/config.js +++ b/zh/searchurl/config.js @@ -21,7 +21,7 @@ let sa = [``]; +':https://jamesfengcao.codeberg.page/zh/searchurl/template/config.html';return false;" accept-charset=utf-8 >`]; function gen(text) { let strs = text.split('\n'); diff --git a/zh/searchurl/template/config.html b/zh/searchurl/template/config.html index ed87a0a5..ccd499e3 100644 --- a/zh/searchurl/template/config.html +++ b/zh/searchurl/template/config.html @@ -22,4 +22,4 @@ - + From c2b605ec3b12cb4820caad245c2d836473e71628 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 27 Apr 2023 23:24:59 +0800 Subject: [PATCH 276/722] reorg tips --- README.zh-Hans.md | 4 ++-- sitemap.xml | 2 +- zh/_posts/index.xml | 36 ++++++++++++++++++------------------ zh/index.xml | 40 ++++++++++++++++++++-------------------- zh/readme/index.html | 6 +++--- zh/sitemap.xml | 10 +++++----- zh/tips/index.html | 38 ++++++++++++++++++++------------------ zh/unlist/index.xml | 4 ++-- 8 files changed, 71 insertions(+), 69 deletions(-) diff --git a/README.zh-Hans.md b/README.zh-Hans.md index 133716da..e8762e31 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -4,10 +4,10 @@ [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -Downloads +下载 [超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/) -(Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) +(备用镜像: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) - 国内可以直接使用bingChat/必应写作/chatgpt - 微:不到200K。 diff --git a/sitemap.xml b/sitemap.xml index d7d8f785..3691d4dc 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-22T18:03:41+08:00 + 2023-04-27T23:20:04+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 60590b6e..c5813771 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -104,23 +104,8 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth Sat, 04 Mar 2023 00:00:00 +0000 /zh/tips/ - 免魔法直接使用newbing (chatgpt) -总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 -方法1: -点击一键安装必应AI -或者分步安装: -安装界面html, bingChat &amp; Write自带魔法直接界面 -hosts文件内添加一行(允许发送cookie至魔法url): -Click to append to &quot;hosts&quot;, edit the last part as magic url domain -使用: 勾选选项“使用离线缓存”, &quot;使用hosts&quot; -点击界面入口 -可配置魔法url, 上述hosts文件作相应修改。 详情 -方法2: 可以采用超级书签/直接界面+脚本+hosts。 -其中超级书签固定bingchat入口。 -脚本重定向api至魔法师. -hosts防污染。 -bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。 -修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用newbing时保存,需要时就可以无限恢复。 + 免魔法直接使用newbing/chatgpt +使用重定向访问国外技术网址 目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: @@ -135,7 +120,22 @@ home5.html为自定义主屏,home6.html, home6.search, home7.html ...为多主 UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA状态,下次启动浏览器时恢复到原有UA。这样用户可常用一些有力的UA配置,仅偶尔使用默认配置,无需反复切换。 快速编辑文件 在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。 -配置文件列表中直接点击文件名即可编辑。 +配置文件列表中直接点击文件名即可编辑。 +免魔法直接使用newbing (chatgpt) 总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 +方法1: +点击一键安装必应AI +或者分步安装: +安装界面html, bingChat &amp; Write自带魔法直接界面 +hosts文件内添加一行(允许发送cookie至魔法url): +Click to append to &quot;hosts&quot;, edit the last part as magic url domain +使用: 勾选选项“使用离线缓存”, &quot;使用hosts&quot; +点击界面入口 +可配置魔法url, 上述hosts文件作相应修改。 详情 +方法2: 可以采用超级书签/直接界面+脚本+hosts。 +其中超级书签固定bingchat入口。 +脚本重定向api至魔法师. +hosts防污染。 +bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。
    diff --git a/zh/index.xml b/zh/index.xml index 69048179..b76295f9 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -104,23 +104,8 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth Sat, 04 Mar 2023 00:00:00 +0000 /zh/tips/ - 免魔法直接使用newbing (chatgpt) -总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 -方法1: -点击一键安装必应AI -或者分步安装: -安装界面html, bingChat &amp; Write自带魔法直接界面 -hosts文件内添加一行(允许发送cookie至魔法url): -Click to append to &quot;hosts&quot;, edit the last part as magic url domain -使用: 勾选选项“使用离线缓存”, &quot;使用hosts&quot; -点击界面入口 -可配置魔法url, 上述hosts文件作相应修改。 详情 -方法2: 可以采用超级书签/直接界面+脚本+hosts。 -其中超级书签固定bingchat入口。 -脚本重定向api至魔法师. -hosts防污染。 -bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。 -修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用newbing时保存,需要时就可以无限恢复。 + 免魔法直接使用newbing/chatgpt +使用重定向访问国外技术网址 目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: @@ -135,7 +120,22 @@ home5.html为自定义主屏,home6.html, home6.search, home7.html ...为多主 UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA状态,下次启动浏览器时恢复到原有UA。这样用户可常用一些有力的UA配置,仅偶尔使用默认配置,无需反复切换。 快速编辑文件 在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。 -配置文件列表中直接点击文件名即可编辑。 +配置文件列表中直接点击文件名即可编辑。 +免魔法直接使用newbing (chatgpt) 总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。 +方法1: +点击一键安装必应AI +或者分步安装: +安装界面html, bingChat &amp; Write自带魔法直接界面 +hosts文件内添加一行(允许发送cookie至魔法url): +Click to append to &quot;hosts&quot;, edit the last part as magic url domain +使用: 勾选选项“使用离线缓存”, &quot;使用hosts&quot; +点击界面入口 +可配置魔法url, 上述hosts文件作相应修改。 详情 +方法2: 可以采用超级书签/直接界面+脚本+hosts。 +其中超级书签固定bingchat入口。 +脚本重定向api至魔法师. +hosts防污染。 +bingChat能够正常使用时保存为超级书签 (长按底部右箭头按钮),下次再次需要使用时恢复即可 (按设置按钮然后点击超级书签链接)。 @@ -877,9 +877,9 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 超微浏览器 (uweb browser): 微、威、快、高效、极致优化 English 捐赠 Amazon appstore -Downloads +下载 超微浏览器下载及使用技巧 -(Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) +(备用镜像: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) 国内可以直接使用bingChat/必应写作/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 diff --git a/zh/readme/index.html b/zh/readme/index.html index c0b309d5..9a2e484c 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -51,9 +51,9 @@

    English
    捐赠

    Amazon appstore
    -Downloads

    +下载

    超微浏览器下载及使用技巧
    -(Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel)

    +(备用镜像: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel)

    • 国内可以直接使用bingChat/必应写作/chatgpt
    • 微:不到200K。
    • @@ -85,7 +85,7 @@

      配套安装uWeb定制Termux应用,可用地址栏作图(类似matlab功能)、超级计算器(无限精度/π的前万位或更多、无限函数、无限常量)、符号演算(解方程、分解因式、求积分导数)、离线字典查找等。譬如地址栏输入sin(x)**5就直接得到函数图形。利用好第三方代码,才能真正发挥出uWeb的潜能。

      -

      Last Modified: 17 April 2023
      +

      Last Modified: 27 April 2023
      add mimetype uwebA

      
       

      diff --git a/zh/sitemap.xml b/zh/sitemap.xml index de49d554..835e74a4 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-19T23:06:34+08:00 + 2023-04-27T23:20:04+08:00 /zh/ - 2023-04-22T18:03:41+08:00 + 2023-04-27T23:20:04+08:00 /zh/tips/ - 2023-04-19T23:06:34+08:00 + 2023-04-27T23:20:04+08:00 2023-01-28T09:50:00+08:00 /zh/readme/ - 2023-04-17T07:42:09+08:00 + 2023-04-27T22:47:07+08:00 /zh/unlist/ - 2023-04-17T07:42:09+08:00 + 2023-04-27T22:47:07+08:00
    -

    免魔法直接使用newbing (chatgpt)
    -总要求:长按底部"PC"按钮选择user-agent为"edge"。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。

    +

    免魔法直接使用newbing/chatgpt
    +使用重定向访问国外技术网址

    +

    目录配置及使用外部文件管理器
    +超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode

    +

    准确显示PC网页:
    +PC模式 + 勾选选项"宽屏显示" + 全局脚本"强制缩放"。

    +

    多主屏:
    +home5.html为自定义主屏,home6.html, home6.search, home7.html ...为多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。

    +

    自动翻页
    +长按后退按钮自动往前翻页(主屏上长按后退出现-1屏,-2屏...,短按前进按钮+1屏,+2屏...),长按前进按钮弹出系统菜单。

    +

    配置临时修改
    +配置后如果没有正常退出或转入后台的话,超微不会自动保存设置更改,此时如果清后台强制退出,下次启动超微会使用原有配置。

    +

    临时恢复UA (user agent)至android默认浏览器
    +UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA状态,下次启动浏览器时恢复到原有UA。这样用户可常用一些有力的UA配置,仅偶尔使用默认配置,无需反复切换。

    +

    快速编辑文件
    +在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。
    +配置文件列表中直接点击文件名即可编辑。

    +

    免魔法直接使用newbing (chatgpt)

    +

    总要求:长按底部"PC"按钮选择user-agent为"edge"。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。

    • 方法1:

      @@ -78,24 +95,9 @@ 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫"超级书签"。成功使用newbing时保存,需要时就可以无限恢复。

    -

    目录配置及使用外部文件管理器
    -超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode

    -

    准确显示PC网页:
    -PC模式 + 勾选选项"宽屏显示" + 全局脚本"强制缩放"。

    -

    多主屏:
    -home5.html为自定义主屏,home6.html, home6.search, home7.html ...为多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。

    -

    自动翻页
    -长按后退按钮自动往前翻页(主屏上长按后退出现-1屏,-2屏...,短按前进按钮+1屏,+2屏...),长按前进按钮弹出系统菜单。

    -

    配置临时修改
    -配置后如果没有正常退出或转入后台的话,超微不会自动保存设置更改,此时如果清后台强制退出,下次启动超微会使用原有配置。

    -

    临时恢复UA (user agent)至android默认浏览器
    -UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA状态,下次启动浏览器时恢复到原有UA。这样用户可常用一些有力的UA配置,仅偶尔使用默认配置,无需反复切换。

    -

    快速编辑文件
    -在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。
    -配置文件列表中直接点击文件名即可编辑。

    -

    Last Modified: 19 April 2023
    +

    Last Modified: 27 April 2023
    support .js files under 'css' folder

    
     

    diff --git a/zh/unlist/index.xml b/zh/unlist/index.xml index 0fb3e9d2..b62e8f3a 100644 --- a/zh/unlist/index.xml +++ b/zh/unlist/index.xml @@ -14,9 +14,9 @@ 超微浏览器 (uweb browser): 微、威、快、高效、极致优化 English 捐赠 Amazon appstore -Downloads +下载 超微浏览器下载及使用技巧 -(Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) +(备用镜像: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) 国内可以直接使用bingChat/必应写作/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 From 9f7bb0ba5233ba95a84322e4414cc2d460b9196c Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 12:17:33 +0800 Subject: [PATCH 277/722] add google translate for censored area --- README.zh-Hans.md | 1 + sitemap.xml | 2 +- zh/_posts/index.xml | 3 ++- zh/index.xml | 6 ++++-- zh/readme/index.html | 5 +++-- zh/rjs/index.html | 7 ++++--- zh/sitemap.xml | 14 +++++++------- zh/tips/index.html | 7 ++++--- zh/topposts/index.xml | 1 + zh/unlist/index.xml | 2 +- 10 files changed, 28 insertions(+), 20 deletions(-) diff --git a/README.zh-Hans.md b/README.zh-Hans.md index e8762e31..9c386558 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -10,6 +10,7 @@ (备用镜像: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) - 国内可以直接使用bingChat/必应写作/chatgpt +- 免魔法国内直接使用google翻译 - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 diff --git a/sitemap.xml b/sitemap.xml index 3691d4dc..cd9950d4 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-27T23:20:04+08:00 + 2023-04-29T12:15:57+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index c5813771..371f056e 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -105,7 +105,8 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth /zh/tips/ 免魔法直接使用newbing/chatgpt -使用重定向访问国外技术网址 +免魔法使用重定向访问国外技术网址 +免魔法google翻译 目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: diff --git a/zh/index.xml b/zh/index.xml index b76295f9..8b0667f6 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -105,7 +105,8 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth /zh/tips/ 免魔法直接使用newbing/chatgpt -使用重定向访问国外技术网址 +免魔法使用重定向访问国外技术网址 +免魔法google翻译 目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: @@ -493,6 +494,7 @@ gozer 广告屏蔽样式 &lt;a target=_self&quot; href=&quot;i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js&quot;&gt;记住密码 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): +免魔法google翻译 google翻译 Eruda Performance @@ -880,7 +882,7 @@ Amazon appstore 下载 超微浏览器下载及使用技巧 (备用镜像: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) -国内可以直接使用bingChat/必应写作/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 +国内可以直接使用bingChat/必应写作/chatgpt 免魔法国内直接使用google翻译 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 diff --git a/zh/readme/index.html b/zh/readme/index.html index 9a2e484c..1ba38a91 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -56,6 +56,7 @@ (备用镜像: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel)

    • 国内可以直接使用bingChat/必应写作/chatgpt
    • +
    • 免魔法国内直接使用google翻译
    • 微:不到200K。
    • 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。
    • 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
    • @@ -85,8 +86,8 @@

      配套安装uWeb定制Termux应用,可用地址栏作图(类似matlab功能)、超级计算器(无限精度/π的前万位或更多、无限函数、无限常量)、符号演算(解方程、分解因式、求积分导数)、离线字典查找等。譬如地址栏输入sin(x)**5就直接得到函数图形。利用好第三方代码,才能真正发挥出uWeb的潜能。

      -

      Last Modified: 27 April 2023
      -add mimetype uwebA
      +

      Last Modified: 29 April 2023
      +add google translate for restricted area

      
       

      diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 702fa18f..ce7f7a98 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -53,7 +53,8 @@ <a target=_self" href="i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js">记住密码
      极速网页

      大型脚本可安装到"bookmarklet"目录下(长按js按钮):
      -google翻译

      +免魔法google翻译

      +

      google翻译

      Eruda

      Performance
      移除覆盖物

      @@ -72,8 +73,8 @@

      其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用离线缓存)。此时,js脚本也可使用.link文件方式调用。

      -

      Last Modified: 1 March 2023
      -add simple modification info
      +

      Last Modified: 29 April 2023
      +add google translate for restricted area

      
       

      diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 835e74a4..5740f4e2 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-27T23:20:04+08:00 + 2023-04-29T12:12:08+08:00 /zh/ - 2023-04-27T23:20:04+08:00 + 2023-04-29T12:15:57+08:00 /zh/tips/ - 2023-04-27T23:20:04+08:00 + 2023-04-29T12:12:08+08:00 /zh/topposts/ - 2023-04-22T18:03:41+08:00 + 2023-04-29T12:08:30+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-03-01T16:37:19+08:00 + 2023-04-29T12:08:30+08:00 2023-01-28T09:50:00+08:00 /zh/readme/ - 2023-04-27T22:47:07+08:00 + 2023-04-29T12:15:57+08:00 /zh/unlist/ - 2023-04-27T22:47:07+08:00 + 2023-04-29T12:15:57+08:00

      免魔法直接使用newbing/chatgpt
      -使用重定向访问国外技术网址

      +免魔法使用重定向访问国外技术网址
      +免魔法google翻译

      目录配置及使用外部文件管理器
      超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode

      准确显示PC网页:
      @@ -97,8 +98,8 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA

    -

    Last Modified: 27 April 2023
    -support .js files under 'css' folder
    +

    Last Modified: 29 April 2023
    +add google translate for restricted area

    
     

    diff --git a/zh/topposts/index.xml b/zh/topposts/index.xml index e4434d56..04f61519 100644 --- a/zh/topposts/index.xml +++ b/zh/topposts/index.xml @@ -197,6 +197,7 @@ tgz install::toybox tar -xzf %f -C / &lt;a target=_self&quot; href=&quot;i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js&quot;&gt;记住密码 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): +免魔法google翻译 google翻译 Eruda Performance diff --git a/zh/unlist/index.xml b/zh/unlist/index.xml index b62e8f3a..cca7af9b 100644 --- a/zh/unlist/index.xml +++ b/zh/unlist/index.xml @@ -17,7 +17,7 @@ Amazon appstore 下载 超微浏览器下载及使用技巧 (备用镜像: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel) -国内可以直接使用bingChat/必应写作/chatgpt 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 +国内可以直接使用bingChat/必应写作/chatgpt 免魔法国内直接使用google翻译 微:不到200K。 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&quot;!&quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性,比如空IP地址解除一切限制。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&quot;超级书签&quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用) 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 From 50c0037c970991da3ca56815c3ee19d219bf5c48 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 13:08:57 +0800 Subject: [PATCH 278/722] fix google translate in censored area --- zh/searchurl/txt/rjs.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh/searchurl/txt/rjs.cfg b/zh/searchurl/txt/rjs.cfg index 0fc73528..43a02e6a 100644 --- a/zh/searchurl/txt/rjs.cfg +++ b/zh/searchurl/txt/rjs.cfg @@ -1,6 +1,6 @@ 背景图:;{document.deepCss=function(a,b){if(!a||!a.style)return'';let c=b.replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()});if(a.currentStyle)return a.style[c]||a.currentStyle[c]||'';let d=document.defaultView||window;return a.style[c]||d.getComputedStyle(a,'').getPropertyValue(b)||''};Array.prototype.indexOf=Array.prototype.indexOf||function(a,b){b=b||0;for(let c=this.length;bBackground images');for(let f=0;f');d.write('');d.close()}} -google翻译:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} -googleTranslate2en:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];location.hash=location.hash+"#googtrans(en)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} -google翻译至简体:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];location.hash=location.hash+"#googtrans(zh-CN)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} -google翻译至繁体:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];location.hash=location.hash+"#googtrans(zh-TW)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} +google翻译:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} +googleTranslate2en:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(en)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} +google翻译至简体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(zh-CN)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} +google翻译至繁体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(zh-TW)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} From fc717a7c902b4a9d68a955d06f7a933b837fe034 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 13:37:17 +0800 Subject: [PATCH 279/722] add google translate menus --- en/rjs/index.html | 4 +++- en/sitemap.xml | 6 +++--- sitemap.xml | 4 ++-- zh/index.xml | 2 +- zh/rjs/index.html | 2 +- zh/sitemap.xml | 6 +++--- zh/topposts/index.xml | 2 +- 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/en/rjs/index.html b/en/rjs/index.html index 02eb452d..72f32922 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -65,6 +65,8 @@

    New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)

    Site search:;open('i:15site:' + location.hostname)

    Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    +

    Google translate

    +

    Google translate to English

    Remote script configuration file "default.rjs" whose lines have the following format:
    [script name]:[javascript code to return url arrays]

    Activated scripts

    @@ -74,7 +76,7 @@

    All remote js (default.rjs) are allowed to execute on CSP sites. Local js files without remote resource access work fine when under the folder "bookmarklet", others needs to be refered in default.rjs as http urls such as "https://local/..." (html5 or offline cache) .

    -

    Last Modified: 20 April 2023
    +

    Last Modified: 29 April 2023
    support .js files under 'css' folder

    
     

    diff --git a/en/sitemap.xml b/en/sitemap.xml index 2d09b8d5..f14b91a8 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -58,7 +58,7 @@ />
    /en/ - 2023-04-20T10:19:36+08:00 + 2023-04-29T13:34:57+08:00 /en/topposts/ - 2023-04-20T10:15:37+08:00 + 2023-04-29T13:34:57+08:00 /en/rjs/ - 2023-04-20T10:15:37+08:00 + 2023-04-29T13:34:57+08:00 en/sitemap.xml - 2023-04-20T10:19:36+08:00 + 2023-04-29T13:34:57+08:00 zh/sitemap.xml - 2023-04-29T12:15:57+08:00 + 2023-04-29T13:11:23+08:00 diff --git a/zh/index.xml b/zh/index.xml index 8b0667f6..2270eea4 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -508,7 +508,7 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov 站内搜索:;open('i:15site:' + location.hostname) 编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v 远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。: -点击安装google翻译、背景图等 +点击安装免魔法google翻译、背景图等 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算): [远程脚本名]:[返回url数组的javascript代码] 其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。 diff --git a/zh/rjs/index.html b/zh/rjs/index.html index ce7f7a98..cd2d3071 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -67,7 +67,7 @@

    站内搜索:;open('i:15site:' + location.hostname)

    编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
    -点击安装google翻译、背景图等

    +点击安装免魔法google翻译、背景图等

    远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
    [远程脚本名]:[返回url数组的javascript代码]

    其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用离线缓存)。此时,js脚本也可使用.link文件方式调用。

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 5740f4e2..bab4356c 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -29,7 +29,7 @@ />
    /zh/ - 2023-04-29T12:15:57+08:00 + 2023-04-29T13:11:23+08:00 /zh/topposts/ - 2023-04-29T12:08:30+08:00 + 2023-04-29T13:11:23+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T12:08:30+08:00 + 2023-04-29T13:11:23+08:00 From df40846eb5b91b2a469d752eee84adf7f7deda76 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 13:54:40 +0800 Subject: [PATCH 280/722] add google translate menus --- en/rjs/index.html | 2 +- sitemap.xml | 2 +- zh/index.xml | 1 + zh/rjs/index.html | 3 ++- zh/sitemap.xml | 6 +++--- zh/topposts/index.xml | 1 + 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/en/rjs/index.html b/en/rjs/index.html index 72f32922..4ad068e1 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -77,7 +77,7 @@

    Last Modified: 29 April 2023
    -support .js files under 'css' folder
    +add google translation

    
     

    diff --git a/sitemap.xml b/sitemap.xml index 28f05de7..434e3b82 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-29T13:11:23+08:00 + 2023-04-29T13:54:10+08:00 diff --git a/zh/index.xml b/zh/index.xml index 2270eea4..328e82de 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -507,6 +507,7 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov 新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b) 站内搜索:;open('i:15site:' + location.hostname) 编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v +免魔法Google翻译至简体 远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。: 点击安装免魔法google翻译、背景图等 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算): diff --git a/zh/rjs/index.html b/zh/rjs/index.html index cd2d3071..7e469d79 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -66,6 +66,7 @@

    新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)

    站内搜索:;open('i:15site:' + location.hostname)

    编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    +

    免魔法Google翻译至简体

    远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
    点击安装免魔法google翻译、背景图等

    远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
    @@ -74,7 +75,7 @@

    Last Modified: 29 April 2023
    -add google translate for restricted area
    +add google translation

    
     

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index bab4356c..2b98dfeb 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -29,7 +29,7 @@ />
    /zh/ - 2023-04-29T13:11:23+08:00 + 2023-04-29T13:54:10+08:00 /zh/topposts/ - 2023-04-29T13:11:23+08:00 + 2023-04-29T13:54:10+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T13:11:23+08:00 + 2023-04-29T13:54:10+08:00 Date: Sat, 29 Apr 2023 14:05:37 +0800 Subject: [PATCH 281/722] add google translate menus --- sitemap.xml | 2 +- zh/index.xml | 3 +-- zh/rjs/index.html | 7 +++---- zh/sitemap.xml | 6 +++--- zh/topposts/index.xml | 3 +-- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/sitemap.xml b/sitemap.xml index 434e3b82..0f3606aa 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-29T13:54:10+08:00 + 2023-04-29T14:04:43+08:00 diff --git a/zh/index.xml b/zh/index.xml index 328e82de..ee8ade60 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -494,8 +494,6 @@ gozer 广告屏蔽样式 &lt;a target=_self&quot; href=&quot;i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js&quot;&gt;记住密码 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): -免魔法google翻译 -google翻译 Eruda Performance 移除覆盖物 @@ -508,6 +506,7 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov 站内搜索:;open('i:15site:' + location.hostname) 编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v 免魔法Google翻译至简体 +免魔法Google翻译至英文 远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。: 点击安装免魔法google翻译、背景图等 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算): diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 7e469d79..4e215ff4 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -53,9 +53,7 @@ <a target=_self" href="i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js">记住密码
    极速网页

    大型脚本可安装到"bookmarklet"目录下(长按js按钮):
    -免魔法google翻译

    -

    google翻译

    -

    Eruda

    +Eruda

    Performance
    移除覆盖物

    远程脚本配置文件default.rjs样列如下,点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单):

    @@ -66,7 +64,8 @@

    新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)

    站内搜索:;open('i:15site:' + location.hostname)

    编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    -

    免魔法Google翻译至简体

    +

    免魔法Google翻译至简体

    +

    免魔法Google翻译至英文

    远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
    点击安装免魔法google翻译、背景图等

    远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 2b98dfeb..6d07b2a9 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -29,7 +29,7 @@ /> /zh/ - 2023-04-29T13:54:10+08:00 + 2023-04-29T14:04:43+08:00 /zh/topposts/ - 2023-04-29T13:54:10+08:00 + 2023-04-29T14:04:43+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T13:54:10+08:00 + 2023-04-29T14:04:43+08:00 Date: Sat, 29 Apr 2023 14:29:14 +0800 Subject: [PATCH 282/722] minor changes --- README.zh.md | 7 ++++--- en/rjs/index.html | 2 +- sitemap.xml | 2 +- zh/_posts/index.xml | 7 ++++--- zh/index.xml | 7 ++++--- zh/rjs/index.html | 2 +- zh/sitemap.xml | 6 +++--- zh/tips/index.html | 7 ++++--- 8 files changed, 22 insertions(+), 18 deletions(-) diff --git a/README.zh.md b/README.zh.md index 7894a567..9c386558 100644 --- a/README.zh.md +++ b/README.zh.md @@ -4,12 +4,13 @@ [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -Downloads +下载 [超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/) -(Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) +(备用镜像: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) -- 国内可以直接使用newbing/chatgpt +- 国内可以直接使用bingChat/必应写作/chatgpt +- 免魔法国内直接使用google翻译 - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 diff --git a/en/rjs/index.html b/en/rjs/index.html index 4ad068e1..66d790cc 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -77,7 +77,7 @@

    Last Modified: 29 April 2023
    -add google translation
    +add google translate for restricted area

    
     

    diff --git a/sitemap.xml b/sitemap.xml index 0f3606aa..e6acf78a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -11,7 +11,7 @@ zh/sitemap.xml - 2023-04-29T14:04:43+08:00 + 2023-04-29T14:24:45+08:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 371f056e..e885f844 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -104,9 +104,10 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth Sat, 04 Mar 2023 00:00:00 +0000 /zh/tips/ - 免魔法直接使用newbing/chatgpt -免魔法使用重定向访问国外技术网址 -免魔法google翻译 + 免魔法国内直接使用系列 +newbing/chatgpt +使用重定向访问国外技术网址 +google翻译 目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: diff --git a/zh/index.xml b/zh/index.xml index ee8ade60..005c004c 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -104,9 +104,10 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth Sat, 04 Mar 2023 00:00:00 +0000 /zh/tips/ - 免魔法直接使用newbing/chatgpt -免魔法使用重定向访问国外技术网址 -免魔法google翻译 + 免魔法国内直接使用系列 +newbing/chatgpt +使用重定向访问国外技术网址 +google翻译 目录配置及使用外部文件管理器 超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。 准确显示PC网页: diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 4e215ff4..a4bdf797 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -74,7 +74,7 @@

    Last Modified: 29 April 2023
    -add google translation
    +add google translate for restricted area

    
     

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 6d07b2a9..aaf57b33 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /zh/_posts/ - 2023-04-29T12:12:08+08:00 + 2023-04-29T14:24:45+08:00 /zh/ - 2023-04-29T14:04:43+08:00 + 2023-04-29T14:24:45+08:00 /zh/tips/ - 2023-04-29T12:12:08+08:00 + 2023-04-29T14:24:45+08:00 -

    免魔法直接使用newbing/chatgpt
    -免魔法使用重定向访问国外技术网址
    -免魔法google翻译

    +

    免魔法国内直接使用系列
    +newbing/chatgpt
    +使用重定向访问国外技术网址
    +google翻译

    目录配置及使用外部文件管理器
    超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode

    准确显示PC网页:
    From 830c97bf91dc372afc4159e2bc3ddd3feb892999 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 15:01:22 +0800 Subject: [PATCH 283/722] encoding '+' in links --- en/rjs/index.html | 4 ++-- en/sitemap.xml | 6 +++--- sitemap.xml | 4 ++-- zh/rjs/index.html | 6 +++--- zh/sitemap.xml | 6 +++--- zh/tips/index.html | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/en/rjs/index.html b/en/rjs/index.html index 66d790cc..0d54bff0 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -66,7 +66,7 @@

    Site search:;open('i:15site:' + location.hostname)

    Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    Google translate

    -

    Google translate to English

    +

    Google translate to English

    Remote script configuration file "default.rjs" whose lines have the following format:
    [script name]:[javascript code to return url arrays]

    Activated scripts

    @@ -77,7 +77,7 @@

    Last Modified: 29 April 2023
    -add google translate for restricted area
    +fix '+' in links for rjs.py

    
     

    diff --git a/en/sitemap.xml b/en/sitemap.xml index f14b91a8..11d06278 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -58,7 +58,7 @@ />
    /en/ - 2023-04-29T13:34:57+08:00 + 2023-04-29T14:57:17+08:00 /en/topposts/ - 2023-04-29T13:34:57+08:00 + 2023-04-29T14:57:17+08:00 /en/rjs/ - 2023-04-29T13:34:57+08:00 + 2023-04-29T14:57:17+08:00 en/sitemap.xml - 2023-04-29T13:34:57+08:00 + 2023-04-29T14:57:17+08:00 zh/sitemap.xml - 2023-04-29T14:24:45+08:00 + 2023-04-29T14:58:20+08:00 diff --git a/zh/rjs/index.html b/zh/rjs/index.html index a4bdf797..249c6346 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -64,8 +64,8 @@

    新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)

    站内搜索:;open('i:15site:' + location.hostname)

    编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    -

    免魔法Google翻译至简体

    -

    免魔法Google翻译至英文

    +

    免魔法Google翻译至简体

    +

    免魔法Google翻译至英文

    远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
    点击安装免魔法google翻译、背景图等

    远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
    @@ -74,7 +74,7 @@

    Last Modified: 29 April 2023
    -add google translate for restricted area
    +fix '+' in links for rjs.py

    
     

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index aaf57b33..ffc810cc 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -29,7 +29,7 @@ />
    /zh/ - 2023-04-29T14:24:45+08:00 + 2023-04-29T14:58:20+08:00 /zh/topposts/ - 2023-04-29T14:04:43+08:00 + 2023-04-29T14:58:20+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T14:04:43+08:00 + 2023-04-29T14:58:20+08:00

    Last Modified: 29 April 2023
    -add google translate for restricted area
    +fix '+' in links for rjs.py

    
     

    From bef3445154f83c3f82f71a77e8f67105465202ee Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 17:47:59 +0800 Subject: [PATCH 284/722] add test/alert.js --- test/alert.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/alert.js diff --git a/test/alert.js b/test/alert.js new file mode 100644 index 00000000..d3f68a40 --- /dev/null +++ b/test/alert.js @@ -0,0 +1 @@ +alert("hi"); From 99f6e7d2c75033b1e0f32d2bcdbdaf071b120df7 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 19:24:02 +0800 Subject: [PATCH 285/722] local bookmarklets to support CSP sites --- en/changelog/index.html | 7 ++++--- en/index.xml | 5 +++-- en/rjs/index.html | 3 ++- en/sitemap.xml | 8 ++++---- en/topposts/index.xml | 5 +++-- sitemap.xml | 2 +- 6 files changed, 17 insertions(+), 13 deletions(-) diff --git a/en/changelog/index.html b/en/changelog/index.html index 3cced4c7..ea5b6794 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -52,7 +52,8 @@

    pagure

    Main features

    Change logs

    -

    991: global url redirection support.
    +

    998: Bookmarklets to support CSP sites.
    +991: global url redirection support.
    988: hosts file to support response headers.
    985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
    983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
    @@ -78,8 +79,8 @@ -

    Last Modified: 17 April 2023
    -enhance redirection cookie support
    +

    Last Modified: 29 April 2023
    +bookmarklets to support CSP sites

    
     

    diff --git a/en/index.xml b/en/index.xml index 60cc73df..a4a3a931 100644 --- a/en/index.xml +++ b/en/index.xml @@ -209,7 +209,8 @@ sourceforge powerfolder pcloud pagure -Main features Change logs 991: global url redirection support. +Main features Change logs 998: Bookmarklets to support CSP sites. +991: global url redirection support. 988: hosts file to support response headers. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. 983: support &quot;hosts&quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. @@ -346,7 +347,7 @@ Instant page large size javascript code can be installed to the folder &quot;bookmarklet&quot; (long pressing button &quot;js&quot; to popup menu): Eruda Performance -Remote javascript is defined in default.
    +Note: Bookmarklets whose names begin with &quot;!
    diff --git a/en/rjs/index.html b/en/rjs/index.html index 0d54bff0..c865a407 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -55,6 +55,7 @@

    large size javascript code can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):
    Eruda
    Performance

    +

    Note: Bookmarklets whose names begin with "!" are allowed to load remote js on CSP (Content Security Policy) sites.

    Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the "search" button to popup the menu.):

    Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);

    Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);

    @@ -77,7 +78,7 @@

    Last Modified: 29 April 2023
    -fix '+' in links for rjs.py
    +bookmarklets to support CSP sites

    
     

    diff --git a/en/sitemap.xml b/en/sitemap.xml index 11d06278..f0e493c2 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -58,7 +58,7 @@ />
    /en/ - 2023-04-29T14:57:17+08:00 + 2023-04-29T19:23:15+08:00 /en/topposts/ - 2023-04-29T14:57:17+08:00 + 2023-04-29T19:23:15+08:00 /en/changelog/ - 2023-04-17T07:27:43+08:00 + 2023-04-29T19:23:15+08:00 /en/sitemap/ 2023-02-01T09:52:11+08:00 @@ -291,7 +291,7 @@ /> /en/rjs/ - 2023-04-29T14:57:17+08:00 + 2023-04-29T19:21:09+08:00 +Note: Bookmarklets whose names begin with &quot;!
    diff --git a/sitemap.xml b/sitemap.xml index fee81431..7ad457aa 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2023-04-29T14:57:17+08:00 + 2023-04-29T19:23:15+08:00 From e9ecf66872084a1cb0b57bd6ad34581952b0a419 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 29 Apr 2023 21:12:12 +0800 Subject: [PATCH 286/722] add google translate bookmarklets --- en/changelog/index.html | 2 +- en/index.xml | 1 + en/rjs/index.html | 5 +++-- en/sitemap.xml | 6 +++--- en/topposts/index.xml | 1 + sitemap.xml | 4 ++-- zh/index.xml | 1 + zh/rjs/index.html | 3 ++- zh/sitemap.xml | 6 +++--- zh/topposts/index.xml | 1 + 10 files changed, 18 insertions(+), 12 deletions(-) diff --git a/en/changelog/index.html b/en/changelog/index.html index ea5b6794..9fa4672d 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -80,7 +80,7 @@

    Last Modified: 29 April 2023
    -bookmarklets to support CSP sites
    +fix '+' in links for rjs.py

    
     

    diff --git a/en/index.xml b/en/index.xml index a4a3a931..71d95ec0 100644 --- a/en/index.xml +++ b/en/index.xml @@ -345,6 +345,7 @@ Global javascript files locates in the subfolder &quot;js&quot; of app p &lt;a target=_self&quot; href=&quot;i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js&quot;&gt;Save password Instant page large size javascript code can be installed to the folder &quot;bookmarklet&quot; (long pressing button &quot;js&quot; to popup menu): +google translation Eruda Performance Note: Bookmarklets whose names begin with &quot;! diff --git a/en/rjs/index.html b/en/rjs/index.html index c865a407..abf47a81 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -53,7 +53,8 @@ <a target=_self" href="i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js">Save password
    Instant page

    large size javascript code can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):
    -Eruda
    +google translation

    +

    Eruda
    Performance

    Note: Bookmarklets whose names begin with "!" are allowed to load remote js on CSP (Content Security Policy) sites.

    Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the "search" button to popup the menu.):

    @@ -78,7 +79,7 @@

    Last Modified: 29 April 2023
    -bookmarklets to support CSP sites
    +fix '+' in links for rjs.py

    
     

    diff --git a/en/sitemap.xml b/en/sitemap.xml index f0e493c2..4968ab6b 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -58,7 +58,7 @@ />
    /en/ - 2023-04-29T19:23:15+08:00 + 2023-04-29T21:10:54+08:00 /en/topposts/ - 2023-04-29T19:23:15+08:00 + 2023-04-29T21:10:54+08:00 /en/rjs/ - 2023-04-29T19:21:09+08:00 + 2023-04-29T21:10:54+08:00 diff --git a/sitemap.xml b/sitemap.xml index 7ad457aa..dc3b2744 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,14 +4,14 @@ en/sitemap.xml - 2023-04-29T19:23:15+08:00 + 2023-04-29T21:10:54+08:00 zh/sitemap.xml - 2023-04-29T14:58:20+08:00 + 2023-04-29T21:10:20+08:00 diff --git a/zh/index.xml b/zh/index.xml index 005c004c..011e24b3 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -495,6 +495,7 @@ gozer 广告屏蔽样式 &lt;a target=_self&quot; href=&quot;i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js&quot;&gt;记住密码 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): +免魔法google翻译 Eruda Performance 移除覆盖物 diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 249c6346..50e1c9c2 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -53,7 +53,8 @@ <a target=_self" href="i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js">记住密码
    极速网页

    大型脚本可安装到"bookmarklet"目录下(长按js按钮):
    -Eruda

    +免魔法google翻译

    +

    Eruda

    Performance
    移除覆盖物

    远程脚本配置文件default.rjs样列如下,点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单):

    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index ffc810cc..1252e070 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -29,7 +29,7 @@ />
    /zh/ - 2023-04-29T14:58:20+08:00 + 2023-04-29T21:10:20+08:00 /zh/topposts/ - 2023-04-29T14:58:20+08:00 + 2023-04-29T21:10:20+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T14:58:20+08:00 + 2023-04-29T21:10:20+08:00 Date: Sat, 29 Apr 2023 21:48:40 +0800 Subject: [PATCH 287/722] add google translate bookmarklets --- en/changelog/index.html | 2 +- en/rjs/index.html | 4 +--- en/sitemap.xml | 6 +++--- sitemap.xml | 4 ++-- zh/index.xml | 6 +++--- zh/rjs/index.html | 8 ++++---- zh/searchurl/txt/rjs.cfg | 5 ----- zh/sitemap.xml | 6 +++--- zh/topposts/index.xml | 6 +++--- 9 files changed, 20 insertions(+), 27 deletions(-) diff --git a/en/changelog/index.html b/en/changelog/index.html index 9fa4672d..dc63c069 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -80,7 +80,7 @@

    Last Modified: 29 April 2023
    -fix '+' in links for rjs.py
    +add google translate in rjs.py

    
     

    diff --git a/en/rjs/index.html b/en/rjs/index.html index abf47a81..5574de1d 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -67,8 +67,6 @@

    New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)

    Site search:;open('i:15site:' + location.hostname)

    Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    -

    Google translate

    -

    Google translate to English

    Remote script configuration file "default.rjs" whose lines have the following format:
    [script name]:[javascript code to return url arrays]

    Activated scripts

    @@ -79,7 +77,7 @@

    Last Modified: 29 April 2023
    -fix '+' in links for rjs.py
    +add google translate in rjs.py

    
     

    diff --git a/en/sitemap.xml b/en/sitemap.xml index 4968ab6b..2e8be63b 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -58,7 +58,7 @@ />
    /en/ - 2023-04-29T21:10:54+08:00 + 2023-04-29T21:37:35+08:00 /en/topposts/ - 2023-04-29T21:10:54+08:00 + 2023-04-29T21:37:35+08:00 /en/rjs/ - 2023-04-29T21:10:54+08:00 + 2023-04-29T21:37:35+08:00 en/sitemap.xml - 2023-04-29T21:10:54+08:00 + 2023-04-29T21:37:35+08:00 zh/sitemap.xml - 2023-04-29T21:10:20+08:00 + 2023-04-29T21:47:55+08:00 diff --git a/zh/index.xml b/zh/index.xml index 011e24b3..3a847347 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -496,6 +496,8 @@ gozer 广告屏蔽样式 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): 免魔法google翻译 +免魔法Google翻译至简体 +免魔法Google翻译至英文 Eruda Performance 移除覆盖物 @@ -507,10 +509,8 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov 新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b) 站内搜索:;open('i:15site:' + location.hostname) 编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v -免魔法Google翻译至简体 -免魔法Google翻译至英文 远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。: -点击安装免魔法google翻译、背景图等 +点击安装背景图等 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算): [远程脚本名]:[返回url数组的javascript代码] 其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。 diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 50e1c9c2..44b4c830 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -54,6 +54,8 @@ 极速网页

    大型脚本可安装到"bookmarklet"目录下(长按js按钮):
    免魔法google翻译

    +

    免魔法Google翻译至简体

    +

    免魔法Google翻译至英文

    Eruda

    Performance
    移除覆盖物

    @@ -65,17 +67,15 @@

    新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)

    站内搜索:;open('i:15site:' + location.hostname)

    编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    -

    免魔法Google翻译至简体

    -

    免魔法Google翻译至英文

    远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
    -点击安装免魔法google翻译、背景图等

    +点击安装背景图等

    远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
    [远程脚本名]:[返回url数组的javascript代码]

    其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用离线缓存)。此时,js脚本也可使用.link文件方式调用。

    Last Modified: 29 April 2023
    -fix '+' in links for rjs.py
    +add google translate in rjs.py

    
     

    diff --git a/zh/searchurl/txt/rjs.cfg b/zh/searchurl/txt/rjs.cfg index 43a02e6a..85d11a9d 100644 --- a/zh/searchurl/txt/rjs.cfg +++ b/zh/searchurl/txt/rjs.cfg @@ -1,6 +1 @@ 背景图:;{document.deepCss=function(a,b){if(!a||!a.style)return'';let c=b.replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()});if(a.currentStyle)return a.style[c]||a.currentStyle[c]||'';let d=document.defaultView||window;return a.style[c]||d.getComputedStyle(a,'').getPropertyValue(b)||''};Array.prototype.indexOf=Array.prototype.indexOf||function(a,b){b=b||0;for(let c=this.length;bBackground images');for(let f=0;f');d.write('');d.close()}} -google翻译:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} -googleTranslate2en:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(en)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} -google翻译至简体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(zh-CN)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} -google翻译至繁体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(zh-TW)";b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');} - diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 1252e070..8b274d87 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -29,7 +29,7 @@ />
    /zh/ - 2023-04-29T21:10:20+08:00 + 2023-04-29T21:47:55+08:00 /zh/topposts/ - 2023-04-29T21:10:20+08:00 + 2023-04-29T21:47:55+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T21:10:20+08:00 + 2023-04-29T21:47:55+08:00 From dfc14dae10719ace8cf81446319980236d36f162 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 6 May 2023 09:40:28 +0800 Subject: [PATCH 288/722] add giscus --- en/acmd/index.html | 16 ++++++++++++++++ en/adblock/index.html | 16 ++++++++++++++++ en/adblock_domain/index.html | 16 ++++++++++++++++ en/bookmark/index.html | 16 ++++++++++++++++ en/bookmarklet/index.html | 16 ++++++++++++++++ en/changelog/index.html | 16 ++++++++++++++++ en/cmds/index.html | 16 ++++++++++++++++ en/download.md | 2 +- en/filecap/index.html | 16 ++++++++++++++++ en/filenames/index.html | 16 ++++++++++++++++ en/gesture/index.html | 16 ++++++++++++++++ en/globalcss/index.html | 16 ++++++++++++++++ en/html5/index.html | 16 ++++++++++++++++ en/icons/index.html | 16 ++++++++++++++++ en/links/index.html | 16 ++++++++++++++++ en/longclick/index.html | 16 ++++++++++++++++ en/offlinecache/index.html | 16 ++++++++++++++++ en/pccopy/index.html | 16 ++++++++++++++++ en/readme/index.html | 16 ++++++++++++++++ en/redirect/index.html | 16 ++++++++++++++++ en/rjs/index.html | 16 ++++++++++++++++ en/search/index.html | 16 ++++++++++++++++ en/searchcat/index.html | 16 ++++++++++++++++ en/sitejs/index.html | 16 ++++++++++++++++ en/sitemap/index.html | 16 ++++++++++++++++ en/termux/index.html | 16 ++++++++++++++++ en/tips/index.html | 16 ++++++++++++++++ en/tools/index.html | 16 ++++++++++++++++ en/url2site/index.html | 16 ++++++++++++++++ en/urls/index.html | 16 ++++++++++++++++ zh/adblock/index.html | 16 ++++++++++++++++ zh/adblock_css/index.html | 16 ++++++++++++++++ zh/adblock_domain/index.html | 16 ++++++++++++++++ zh/androidtv/index.html | 16 ++++++++++++++++ zh/bc/index.html | 16 ++++++++++++++++ zh/bookmark/index.html | 16 ++++++++++++++++ zh/bookmarklet/index.html | 16 ++++++++++++++++ zh/cmd/index.html | 16 ++++++++++++++++ zh/cmds/index.html | 16 ++++++++++++++++ zh/filecap/index.html | 16 ++++++++++++++++ zh/filemanager/index.html | 16 ++++++++++++++++ zh/filenames/index.html | 16 ++++++++++++++++ zh/gesture/index.html | 16 ++++++++++++++++ zh/globalcss/index.html | 16 ++++++++++++++++ zh/gnuplot/index.html | 16 ++++++++++++++++ zh/hosts/index.html | 16 ++++++++++++++++ zh/html5/index.html | 16 ++++++++++++++++ zh/icons/index.html | 16 ++++++++++++++++ zh/links/index.html | 16 ++++++++++++++++ zh/loadbt/index.html | 16 ++++++++++++++++ zh/logcat/index.html | 16 ++++++++++++++++ zh/longclick/index.html | 16 ++++++++++++++++ zh/multiaccount/index.html | 16 ++++++++++++++++ zh/offlinecache/index.html | 16 ++++++++++++++++ zh/pccopy/index.html | 16 ++++++++++++++++ zh/pcdown/index.html | 16 ++++++++++++++++ zh/readme/index.html | 16 ++++++++++++++++ zh/redirect/index.html | 16 ++++++++++++++++ zh/rjs/index.html | 16 ++++++++++++++++ zh/search/index.html | 16 ++++++++++++++++ zh/searchcat/index.html | 16 ++++++++++++++++ zh/sitejs/index.html | 16 ++++++++++++++++ zh/sitemap/index.html | 16 ++++++++++++++++ zh/tcron/index.html | 16 ++++++++++++++++ zh/tips/index.html | 16 ++++++++++++++++ zh/tools/index.html | 16 ++++++++++++++++ zh/tvlive/index.html | 16 ++++++++++++++++ zh/urls/index.html | 16 ++++++++++++++++ zh/video/index.html | 16 ++++++++++++++++ 69 files changed, 1089 insertions(+), 1 deletion(-) diff --git a/en/acmd/index.html b/en/acmd/index.html index b3a2054b..9dcc6a55 100644 --- a/en/acmd/index.html +++ b/en/acmd/index.html @@ -67,6 +67,22 @@ output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &am use :! instead of shell commandline mode for file manager access
    
     

    + diff --git a/en/adblock/index.html b/en/adblock/index.html index 8c70be6b..3e22bc28 100644 --- a/en/adblock/index.html +++ b/en/adblock/index.html @@ -89,6 +89,22 @@ use relative path
    
     

    + diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 8feff018..6f8c7916 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -95,6 +95,22 @@ The first part [rootDomain] is required and the others are optional. regex is ja refine global redirection cookie support
    
     

    + diff --git a/en/bookmark/index.html b/en/bookmark/index.html index 8fec9ec8..12d531a2 100644 --- a/en/bookmark/index.html +++ b/en/bookmark/index.html @@ -90,6 +90,22 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx& add revision history
    
     

    + diff --git a/en/bookmarklet/index.html b/en/bookmarklet/index.html index c8e14c66..bf2835ee 100644 --- a/en/bookmarklet/index.html +++ b/en/bookmarklet/index.html @@ -75,6 +75,22 @@ add adblock.md
    
     

    + diff --git a/en/changelog/index.html b/en/changelog/index.html index dc63c069..a5e4f0f0 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -83,6 +83,22 @@ add google translate in rjs.py
    
     

    + diff --git a/en/cmds/index.html b/en/cmds/index.html index 4c3de25e..8d709726 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -114,6 +114,22 @@ Clipboard2QR needs libqrencode.

    add simple modification info
    
     

    + diff --git a/en/download.md b/en/download.md index 025e97b3..5b08c606 100644 --- a/en/download.md +++ b/en/download.md @@ -1,4 +1,4 @@ -#### Download links +**Download links** [uweb, termux & history versions](https://s1.asytech.cn/s/tQrgT5kBRg8Trry) [github](https://github.com/torappinfo/uweb/releases/tag/v1) diff --git a/en/filecap/index.html b/en/filecap/index.html index fca8603f..42045b54 100644 --- a/en/filecap/index.html +++ b/en/filecap/index.html @@ -82,6 +82,22 @@ epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bo fix typos from torinfo.uweb to torapp.uweb
    
     

    + diff --git a/en/filenames/index.html b/en/filenames/index.html index c6d0fa86..2c865692 100644 --- a/en/filenames/index.html +++ b/en/filenames/index.html @@ -105,6 +105,22 @@ supports hosts
    
     

    + diff --git a/en/gesture/index.html b/en/gesture/index.html index 8c442e21..5307c93e 100644 --- a/en/gesture/index.html +++ b/en/gesture/index.html @@ -69,6 +69,22 @@ back2:javascript:history.go(-2)

    add en gesture.md
    
     

    + diff --git a/en/globalcss/index.html b/en/globalcss/index.html index 852a5ab4..44cfdf41 100644 --- a/en/globalcss/index.html +++ b/en/globalcss/index.html @@ -60,6 +60,22 @@ support .js files under 'css' folder
    
     

    + diff --git a/en/html5/index.html b/en/html5/index.html index a228b098..96f6eeb1 100644 --- a/en/html5/index.html +++ b/en/html5/index.html @@ -113,6 +113,22 @@ i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uw use relative path
    
     

    + diff --git a/en/icons/index.html b/en/icons/index.html index a258ff31..f1b53f94 100644 --- a/en/icons/index.html +++ b/en/icons/index.html @@ -57,6 +57,22 @@ are used for icons in the bottom toolbar. file "0" to replace the left add flg for not following sys night mode
    
     

    + diff --git a/en/links/index.html b/en/links/index.html index 44882076..17ca2d77 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -308,6 +308,22 @@ support .js files under 'css' folder
    i:56 urls support CTRL_A to CTRL-Z 
     

    + diff --git a/en/longclick/index.html b/en/longclick/index.html index 228fe976..09b2f9a1 100644 --- a/en/longclick/index.html +++ b/en/longclick/index.html @@ -66,6 +66,22 @@ These javascript files are in the following format:

    fix typos from torinfo.uweb to torapp.uweb
    
     

    + diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index 93a3d8d0..41c38acb 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -69,6 +69,22 @@ support .js files under 'css' folder
    
     

    + diff --git a/en/pccopy/index.html b/en/pccopy/index.html index 19e90ada..965b6db1 100644 --- a/en/pccopy/index.html +++ b/en/pccopy/index.html @@ -94,6 +94,22 @@ PCs need command "xsel" available to operate on copy/paste.

    add mimetype uwebA
    
     

    + diff --git a/en/readme/index.html b/en/readme/index.html index ecfbbd50..6bc20a0f 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -100,6 +100,22 @@ enhance hosts file to add attributes to domains
    
     

    + diff --git a/en/redirect/index.html b/en/redirect/index.html index 40e4e13f..887c0a07 100644 --- a/en/redirect/index.html +++ b/en/redirect/index.html @@ -73,6 +73,22 @@ enhance redirection cookie support
    
     

    + diff --git a/en/rjs/index.html b/en/rjs/index.html index 5574de1d..240ad3a1 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -80,6 +80,22 @@ add google translate in rjs.py
    
     

    + diff --git a/en/search/index.html b/en/search/index.html index 96e6a51e..af493202 100644 --- a/en/search/index.html +++ b/en/search/index.html @@ -238,6 +238,22 @@ supports hosts
    Add bingUS engine to access bingchat directly from restricted area
     

    + diff --git a/en/searchcat/index.html b/en/searchcat/index.html index 50b6a171..37154b5d 100644 --- a/en/searchcat/index.html +++ b/en/searchcat/index.html @@ -72,6 +72,22 @@ d:mimetype:[command line with '%s' as keyword]:[base url for external resources] i:0m to support extra headers
    
     

    + diff --git a/en/sitejs/index.html b/en/sitejs/index.html index 7b14235f..19f6d92c 100644 --- a/en/sitejs/index.html +++ b/en/sitejs/index.html @@ -80,6 +80,22 @@ support .js files under 'css' folder
    
     

    + diff --git a/en/sitemap/index.html b/en/sitemap/index.html index 64a2a455..ab0e98ce 100644 --- a/en/sitemap/index.html +++ b/en/sitemap/index.html @@ -100,6 +100,22 @@ add UI config link to home.html
    
     

    + diff --git a/en/termux/index.html b/en/termux/index.html index 4a487dab..c22e2b03 100644 --- a/en/termux/index.html +++ b/en/termux/index.html @@ -80,6 +80,22 @@ With z.sh and + if(location.host=='torappinfo.github.io') + document.currentScript.setAttribute('src', 'https://giscus.app/client.js'); + diff --git a/en/tips/index.html b/en/tips/index.html index 36ae5a45..09668c1d 100644 --- a/en/tips/index.html +++ b/en/tips/index.html @@ -63,6 +63,22 @@ With bookmark, configuration folders can be sync newbinggogo
    
     

    + diff --git a/en/tools/index.html b/en/tools/index.html index 75b63997..dfd8ee4c 100644 --- a/en/tools/index.html +++ b/en/tools/index.html @@ -78,6 +78,22 @@ add en/.../tools.md
    
     

    + diff --git a/en/url2site/index.html b/en/url2site/index.html index 72f348ff..39b805c1 100644 --- a/en/url2site/index.html +++ b/en/url2site/index.html @@ -58,6 +58,22 @@ add bingAI url
    
     

    + diff --git a/en/urls/index.html b/en/urls/index.html index 2d414e6a..2966e4a9 100644 --- a/en/urls/index.html +++ b/en/urls/index.html @@ -113,6 +113,22 @@ add simple modification info
    
     

    + diff --git a/zh/adblock/index.html b/zh/adblock/index.html index 59fcdb32..41db3cd2 100644 --- a/zh/adblock/index.html +++ b/zh/adblock/index.html @@ -96,6 +96,22 @@ use relative path
    
     

    + diff --git a/zh/adblock_css/index.html b/zh/adblock_css/index.html index 4f0351a0..a95bb772 100644 --- a/zh/adblock_css/index.html +++ b/zh/adblock_css/index.html @@ -58,6 +58,22 @@ i:0g/h to use relative path
    
     

    + diff --git a/zh/adblock_domain/index.html b/zh/adblock_domain/index.html index d1e77df6..98322852 100644 --- a/zh/adblock_domain/index.html +++ b/zh/adblock_domain/index.html @@ -84,6 +84,22 @@ i:0h to use relative path
    
     

    + diff --git a/zh/androidtv/index.html b/zh/androidtv/index.html index 4e620022..b217e51e 100644 --- a/zh/androidtv/index.html +++ b/zh/androidtv/index.html @@ -57,6 +57,22 @@ i:1c for certificate
    
     

    + diff --git a/zh/bc/index.html b/zh/bc/index.html index fae0bdd4..b818512a 100644 --- a/zh/bc/index.html +++ b/zh/bc/index.html @@ -72,6 +72,22 @@ apt install bc add acmd.md
    
     

    + diff --git a/zh/bookmark/index.html b/zh/bookmark/index.html index a9204d94..a054bec8 100644 --- a/zh/bookmark/index.html +++ b/zh/bookmark/index.html @@ -84,6 +84,22 @@ AI/chatGPT:

    use [ipv6] in hosts
    
     

    + diff --git a/zh/bookmarklet/index.html b/zh/bookmarklet/index.html index dab74cf3..868db8ff 100644 --- a/zh/bookmarklet/index.html +++ b/zh/bookmarklet/index.html @@ -75,6 +75,22 @@ add adblock.md
    
     

    + diff --git a/zh/cmd/index.html b/zh/cmd/index.html index ae9392e1..1fe5e790 100644 --- a/zh/cmd/index.html +++ b/zh/cmd/index.html @@ -72,6 +72,22 @@ PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=: minor changes for zh
    
     

    + diff --git a/zh/cmds/index.html b/zh/cmds/index.html index bff3f689..fc9d53e3 100644 --- a/zh/cmds/index.html +++ b/zh/cmds/index.html @@ -99,6 +99,22 @@ add simple modification info
    
     

    + diff --git a/zh/filecap/index.html b/zh/filecap/index.html index 9a4ec659..66b51da6 100644 --- a/zh/filecap/index.html +++ b/zh/filecap/index.html @@ -96,6 +96,22 @@ google docs, 功能强大,可查看几乎一切文档,但 "我的所爱 minor changes for zh
    
     

    + diff --git a/zh/filemanager/index.html b/zh/filemanager/index.html index dce273b1..af57d0bc 100644 --- a/zh/filemanager/index.html +++ b/zh/filemanager/index.html @@ -53,6 +53,22 @@ i:0h to use relative path
    
     

    + diff --git a/zh/filenames/index.html b/zh/filenames/index.html index bb8d9611..e9fa3137 100644 --- a/zh/filenames/index.html +++ b/zh/filenames/index.html @@ -105,6 +105,22 @@ clarify home.css format
    
     

    + diff --git a/zh/gesture/index.html b/zh/gesture/index.html index 2ae6459f..6900525f 100644 --- a/zh/gesture/index.html +++ b/zh/gesture/index.html @@ -67,6 +67,22 @@ back2:javascript:history.go(-2)

    reorg for multi-languages
    
     

    + diff --git a/zh/globalcss/index.html b/zh/globalcss/index.html index 6e1b1a17..0b6dcebb 100644 --- a/zh/globalcss/index.html +++ b/zh/globalcss/index.html @@ -59,6 +59,22 @@ i:0h to use relative path
    
     

    + diff --git a/zh/gnuplot/index.html b/zh/gnuplot/index.html index 6c9513a8..03f037c1 100644 --- a/zh/gnuplot/index.html +++ b/zh/gnuplot/index.html @@ -85,6 +85,22 @@ apt install gnuplot remove /sdcard/uweb folder
    
     

    + diff --git a/zh/hosts/index.html b/zh/hosts/index.html index dc511b0c..1ce66bed 100644 --- a/zh/hosts/index.html +++ b/zh/hosts/index.html @@ -70,6 +70,22 @@ fbcdn.net

    reorg for multi-languages
    
     

    + diff --git a/zh/html5/index.html b/zh/html5/index.html index 8d616a16..e7133219 100644 --- a/zh/html5/index.html +++ b/zh/html5/index.html @@ -91,6 +91,22 @@ MoePlayer/APlayer : music player

    use relative path
    
     

    + diff --git a/zh/icons/index.html b/zh/icons/index.html index 0cd68ab2..bfd5c8ed 100644 --- a/zh/icons/index.html +++ b/zh/icons/index.html @@ -58,6 +58,22 @@ reorg for multi-languages
    
     

    + diff --git a/zh/links/index.html b/zh/links/index.html index 1c16e40d..f8922934 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -249,6 +249,22 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi enhance :0cc cookie copy
    
     

    + diff --git a/zh/loadbt/index.html b/zh/loadbt/index.html index dd126daf..9c02827a 100644 --- a/zh/loadbt/index.html +++ b/zh/loadbt/index.html @@ -98,6 +98,22 @@ BaiduPCS-Go config set -appid=266719

    fix links for generated md files
    
     

    + diff --git a/zh/logcat/index.html b/zh/logcat/index.html index 06506944..50444af7 100644 --- a/zh/logcat/index.html +++ b/zh/logcat/index.html @@ -63,6 +63,22 @@ fix links for generated md files
    
     

    + diff --git a/zh/longclick/index.html b/zh/longclick/index.html index 5148e5f6..0e05069d 100644 --- a/zh/longclick/index.html +++ b/zh/longclick/index.html @@ -67,6 +67,22 @@ js文件格式如下:

    fix typos from torinfo.uweb to torapp.uweb
    
     

    + diff --git a/zh/multiaccount/index.html b/zh/multiaccount/index.html index f617e667..d3f3473b 100644 --- a/zh/multiaccount/index.html +++ b/zh/multiaccount/index.html @@ -54,6 +54,22 @@ reorg for multi-languages
    
     

    + diff --git a/zh/offlinecache/index.html b/zh/offlinecache/index.html index 1fa0b1d3..24fd4e04 100644 --- a/zh/offlinecache/index.html +++ b/zh/offlinecache/index.html @@ -56,6 +56,22 @@ generate PDF for custom paper size
    
     

    + diff --git a/zh/pccopy/index.html b/zh/pccopy/index.html index 78cf96d1..640f7275 100644 --- a/zh/pccopy/index.html +++ b/zh/pccopy/index.html @@ -97,6 +97,22 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
    add mimetype uwebA
    
     

    + diff --git a/zh/pcdown/index.html b/zh/pcdown/index.html index 407fbfc6..7f70555c 100644 --- a/zh/pcdown/index.html +++ b/zh/pcdown/index.html @@ -73,6 +73,22 @@ chmod 755 /data/data/com.termux/files/usr/bin/pcdownload

    minor changes for zh
    
     

    + diff --git a/zh/readme/index.html b/zh/readme/index.html index 1ba38a91..7ba3ea5f 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -90,6 +90,22 @@ add google translate for restricted area
    
     

    + diff --git a/zh/redirect/index.html b/zh/redirect/index.html index 4fc309ee..a30a0cf5 100644 --- a/zh/redirect/index.html +++ b/zh/redirect/index.html @@ -106,6 +106,22 @@ item.gome.com.cn::item.gomevvv.com.cn

    update global redirection
    
     

    + diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 44b4c830..8615e102 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -78,6 +78,22 @@ add google translate in rjs.py
    
     

    + diff --git a/zh/search/index.html b/zh/search/index.html index 8af45889..36c4d212 100644 --- a/zh/search/index.html +++ b/zh/search/index.html @@ -303,6 +303,22 @@ fix bingAI always 1/20 issue
    
     

    + diff --git a/zh/searchcat/index.html b/zh/searchcat/index.html index ea7907cb..5a2023d9 100644 --- a/zh/searchcat/index.html +++ b/zh/searchcat/index.html @@ -73,6 +73,22 @@ d:mimetype:[含%s的命令行]:[外部资源url]
    automate modified date
    
     

    + diff --git a/zh/sitejs/index.html b/zh/sitejs/index.html index a4cb5a9c..233aae52 100644 --- a/zh/sitejs/index.html +++ b/zh/sitejs/index.html @@ -83,6 +83,22 @@ minor changes for zh
    
     

    + diff --git a/zh/sitemap/index.html b/zh/sitemap/index.html index 645e6287..a0308451 100644 --- a/zh/sitemap/index.html +++ b/zh/sitemap/index.html @@ -124,6 +124,22 @@ fix UI mirrors
    
     

    + diff --git a/zh/tcron/index.html b/zh/tcron/index.html index 2f6bd266..dd21dab3 100644 --- a/zh/tcron/index.html +++ b/zh/tcron/index.html @@ -85,6 +85,22 @@ cron运行期间保持唤醒锁,保证termux可以稳定运行。

    use relative path
    
     

    + diff --git a/zh/tips/index.html b/zh/tips/index.html index 21d3033d..fceb1123 100644 --- a/zh/tips/index.html +++ b/zh/tips/index.html @@ -103,6 +103,22 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA fix '+' in links for rjs.py
    
     

    + diff --git a/zh/tools/index.html b/zh/tools/index.html index 5ec68410..102cdb7a 100644 --- a/zh/tools/index.html +++ b/zh/tools/index.html @@ -86,6 +86,22 @@ add en/_posts/bookmark.md
    
     

    + diff --git a/zh/tvlive/index.html b/zh/tvlive/index.html index 3719f6b9..15d3ff54 100644 --- a/zh/tvlive/index.html +++ b/zh/tvlive/index.html @@ -342,6 +342,22 @@ reorg for multi-languages
    
     

    + diff --git a/zh/urls/index.html b/zh/urls/index.html index 4150baf8..8c84dcb1 100644 --- a/zh/urls/index.html +++ b/zh/urls/index.html @@ -130,6 +130,22 @@ add simple modification info
    
     

    + diff --git a/zh/video/index.html b/zh/video/index.html index 70097040..a31b568b 100644 --- a/zh/video/index.html +++ b/zh/video/index.html @@ -91,6 +91,22 @@ i:0h to use relative path
    
     

    + From a9bdb08c7731fbc872ec8bedf4450d6f8051f1e1 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 6 May 2023 09:56:44 +0800 Subject: [PATCH 289/722] add giscus --- en/acmd/index.html | 36 +++++++++++++++++++++--------------- en/adblock/index.html | 36 +++++++++++++++++++++--------------- en/adblock_domain/index.html | 36 +++++++++++++++++++++--------------- en/bookmark/index.html | 36 +++++++++++++++++++++--------------- en/bookmarklet/index.html | 36 +++++++++++++++++++++--------------- en/changelog/index.html | 36 +++++++++++++++++++++--------------- en/cmds/index.html | 36 +++++++++++++++++++++--------------- en/filecap/index.html | 36 +++++++++++++++++++++--------------- en/filenames/index.html | 36 +++++++++++++++++++++--------------- en/gesture/index.html | 36 +++++++++++++++++++++--------------- en/globalcss/index.html | 36 +++++++++++++++++++++--------------- en/html5/index.html | 36 +++++++++++++++++++++--------------- en/icons/index.html | 36 +++++++++++++++++++++--------------- en/links/index.html | 36 +++++++++++++++++++++--------------- en/longclick/index.html | 36 +++++++++++++++++++++--------------- en/offlinecache/index.html | 36 +++++++++++++++++++++--------------- en/pccopy/index.html | 36 +++++++++++++++++++++--------------- en/readme/index.html | 36 +++++++++++++++++++++--------------- en/redirect/index.html | 36 +++++++++++++++++++++--------------- en/rjs/index.html | 36 +++++++++++++++++++++--------------- en/search/index.html | 36 +++++++++++++++++++++--------------- en/searchcat/index.html | 36 +++++++++++++++++++++--------------- en/sitejs/index.html | 36 +++++++++++++++++++++--------------- en/sitemap/index.html | 36 +++++++++++++++++++++--------------- en/termux/index.html | 36 +++++++++++++++++++++--------------- en/tips/index.html | 36 +++++++++++++++++++++--------------- en/tools/index.html | 36 +++++++++++++++++++++--------------- en/url2site/index.html | 36 +++++++++++++++++++++--------------- en/urls/index.html | 36 +++++++++++++++++++++--------------- zh/adblock/index.html | 36 +++++++++++++++++++++--------------- zh/adblock_css/index.html | 36 +++++++++++++++++++++--------------- zh/adblock_domain/index.html | 36 +++++++++++++++++++++--------------- zh/androidtv/index.html | 36 +++++++++++++++++++++--------------- zh/bc/index.html | 36 +++++++++++++++++++++--------------- zh/bookmark/index.html | 36 +++++++++++++++++++++--------------- zh/bookmarklet/index.html | 36 +++++++++++++++++++++--------------- zh/cmd/index.html | 36 +++++++++++++++++++++--------------- zh/cmds/index.html | 36 +++++++++++++++++++++--------------- zh/filecap/index.html | 36 +++++++++++++++++++++--------------- zh/filemanager/index.html | 36 +++++++++++++++++++++--------------- zh/filenames/index.html | 36 +++++++++++++++++++++--------------- zh/gesture/index.html | 36 +++++++++++++++++++++--------------- zh/globalcss/index.html | 36 +++++++++++++++++++++--------------- zh/gnuplot/index.html | 36 +++++++++++++++++++++--------------- zh/hosts/index.html | 36 +++++++++++++++++++++--------------- zh/html5/index.html | 36 +++++++++++++++++++++--------------- zh/icons/index.html | 36 +++++++++++++++++++++--------------- zh/links/index.html | 36 +++++++++++++++++++++--------------- zh/loadbt/index.html | 36 +++++++++++++++++++++--------------- zh/logcat/index.html | 36 +++++++++++++++++++++--------------- zh/longclick/index.html | 36 +++++++++++++++++++++--------------- zh/multiaccount/index.html | 36 +++++++++++++++++++++--------------- zh/offlinecache/index.html | 36 +++++++++++++++++++++--------------- zh/pccopy/index.html | 36 +++++++++++++++++++++--------------- zh/pcdown/index.html | 36 +++++++++++++++++++++--------------- zh/readme/index.html | 36 +++++++++++++++++++++--------------- zh/redirect/index.html | 36 +++++++++++++++++++++--------------- zh/rjs/index.html | 36 +++++++++++++++++++++--------------- zh/search/index.html | 36 +++++++++++++++++++++--------------- zh/searchcat/index.html | 36 +++++++++++++++++++++--------------- zh/sitejs/index.html | 36 +++++++++++++++++++++--------------- zh/sitemap/index.html | 36 +++++++++++++++++++++--------------- zh/tcron/index.html | 36 +++++++++++++++++++++--------------- zh/tips/index.html | 36 +++++++++++++++++++++--------------- zh/tools/index.html | 36 +++++++++++++++++++++--------------- zh/tvlive/index.html | 36 +++++++++++++++++++++--------------- zh/urls/index.html | 36 +++++++++++++++++++++--------------- zh/video/index.html | 36 +++++++++++++++++++++--------------- 68 files changed, 1428 insertions(+), 1020 deletions(-) diff --git a/en/acmd/index.html b/en/acmd/index.html index 9dcc6a55..ab8c33db 100644 --- a/en/acmd/index.html +++ b/en/acmd/index.html @@ -67,21 +67,27 @@ output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &am use :! instead of shell commandline mode for file manager access
    
     

    - + diff --git a/en/adblock/index.html b/en/adblock/index.html index 3e22bc28..22386993 100644 --- a/en/adblock/index.html +++ b/en/adblock/index.html @@ -89,21 +89,27 @@ use relative path
    
     

    - + diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index 6f8c7916..b62364c1 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -95,21 +95,27 @@ The first part [rootDomain] is required and the others are optional. regex is ja refine global redirection cookie support
    
     

    - + diff --git a/en/bookmark/index.html b/en/bookmark/index.html index 12d531a2..ef5ff2f1 100644 --- a/en/bookmark/index.html +++ b/en/bookmark/index.html @@ -90,21 +90,27 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx& add revision history
    
     

    - + diff --git a/en/bookmarklet/index.html b/en/bookmarklet/index.html index bf2835ee..1e26acac 100644 --- a/en/bookmarklet/index.html +++ b/en/bookmarklet/index.html @@ -75,21 +75,27 @@ add adblock.md
    
     

    - + diff --git a/en/changelog/index.html b/en/changelog/index.html index a5e4f0f0..c64b53a2 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -83,21 +83,27 @@ add google translate in rjs.py
    
     

    - + diff --git a/en/cmds/index.html b/en/cmds/index.html index 8d709726..dedf99b5 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -114,21 +114,27 @@ Clipboard2QR needs libqrencode.

    add simple modification info
    
     

    - + diff --git a/en/filecap/index.html b/en/filecap/index.html index 42045b54..d22d9229 100644 --- a/en/filecap/index.html +++ b/en/filecap/index.html @@ -82,21 +82,27 @@ epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bo fix typos from torinfo.uweb to torapp.uweb
    
     

    - + diff --git a/en/filenames/index.html b/en/filenames/index.html index 2c865692..1fd34b8f 100644 --- a/en/filenames/index.html +++ b/en/filenames/index.html @@ -105,21 +105,27 @@ supports hosts
    
     

    - + diff --git a/en/gesture/index.html b/en/gesture/index.html index 5307c93e..288e745e 100644 --- a/en/gesture/index.html +++ b/en/gesture/index.html @@ -69,21 +69,27 @@ back2:javascript:history.go(-2)

    add en gesture.md
    
     

    - + diff --git a/en/globalcss/index.html b/en/globalcss/index.html index 44cfdf41..429bebb0 100644 --- a/en/globalcss/index.html +++ b/en/globalcss/index.html @@ -60,21 +60,27 @@ support .js files under 'css' folder
    
     

    - + diff --git a/en/html5/index.html b/en/html5/index.html index 96f6eeb1..1b00e607 100644 --- a/en/html5/index.html +++ b/en/html5/index.html @@ -113,21 +113,27 @@ i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uw use relative path
    
     

    - + diff --git a/en/icons/index.html b/en/icons/index.html index f1b53f94..21f820c5 100644 --- a/en/icons/index.html +++ b/en/icons/index.html @@ -57,21 +57,27 @@ are used for icons in the bottom toolbar. file "0" to replace the left add flg for not following sys night mode
    
     

    - + diff --git a/en/links/index.html b/en/links/index.html index 17ca2d77..64607583 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -308,21 +308,27 @@ support .js files under 'css' folder
    i:56 urls support CTRL_A to CTRL-Z 
     

    - + diff --git a/en/longclick/index.html b/en/longclick/index.html index 09b2f9a1..f002d965 100644 --- a/en/longclick/index.html +++ b/en/longclick/index.html @@ -66,21 +66,27 @@ These javascript files are in the following format:

    fix typos from torinfo.uweb to torapp.uweb
    
     

    - + diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index 41c38acb..33397202 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -69,21 +69,27 @@ support .js files under 'css' folder
    
     

    - + diff --git a/en/pccopy/index.html b/en/pccopy/index.html index 965b6db1..ee9dc054 100644 --- a/en/pccopy/index.html +++ b/en/pccopy/index.html @@ -94,21 +94,27 @@ PCs need command "xsel" available to operate on copy/paste.

    add mimetype uwebA
    
     

    - + diff --git a/en/readme/index.html b/en/readme/index.html index 6bc20a0f..3d09cf9d 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -100,21 +100,27 @@ enhance hosts file to add attributes to domains
    
     

    - + diff --git a/en/redirect/index.html b/en/redirect/index.html index 887c0a07..b5e53d1d 100644 --- a/en/redirect/index.html +++ b/en/redirect/index.html @@ -73,21 +73,27 @@ enhance redirection cookie support
    
     

    - + diff --git a/en/rjs/index.html b/en/rjs/index.html index 240ad3a1..50352d7c 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -80,21 +80,27 @@ add google translate in rjs.py
    
     

    - + diff --git a/en/search/index.html b/en/search/index.html index af493202..f46eff7f 100644 --- a/en/search/index.html +++ b/en/search/index.html @@ -238,21 +238,27 @@ supports hosts
    Add bingUS engine to access bingchat directly from restricted area
     

    - + diff --git a/en/searchcat/index.html b/en/searchcat/index.html index 37154b5d..d742b768 100644 --- a/en/searchcat/index.html +++ b/en/searchcat/index.html @@ -72,21 +72,27 @@ d:mimetype:[command line with '%s' as keyword]:[base url for external resources] i:0m to support extra headers
    
     

    - + diff --git a/en/sitejs/index.html b/en/sitejs/index.html index 19f6d92c..d116b0ff 100644 --- a/en/sitejs/index.html +++ b/en/sitejs/index.html @@ -80,21 +80,27 @@ support .js files under 'css' folder
    
     

    - + diff --git a/en/sitemap/index.html b/en/sitemap/index.html index ab0e98ce..8f18241f 100644 --- a/en/sitemap/index.html +++ b/en/sitemap/index.html @@ -100,21 +100,27 @@ add UI config link to home.html
    
     

    - + diff --git a/en/termux/index.html b/en/termux/index.html index c22e2b03..276cc290 100644 --- a/en/termux/index.html +++ b/en/termux/index.html @@ -80,21 +80,27 @@ With z.sh and - if(location.host=='torappinfo.github.io') - document.currentScript.setAttribute('src', 'https://giscus.app/client.js'); + + diff --git a/en/tips/index.html b/en/tips/index.html index 09668c1d..e44813d7 100644 --- a/en/tips/index.html +++ b/en/tips/index.html @@ -63,21 +63,27 @@ With bookmark, configuration folders can be sync newbinggogo
    
     

    - + diff --git a/en/tools/index.html b/en/tools/index.html index dfd8ee4c..fe9a2104 100644 --- a/en/tools/index.html +++ b/en/tools/index.html @@ -78,21 +78,27 @@ add en/.../tools.md
    
     

    - + diff --git a/en/url2site/index.html b/en/url2site/index.html index 39b805c1..80e58727 100644 --- a/en/url2site/index.html +++ b/en/url2site/index.html @@ -58,21 +58,27 @@ add bingAI url
    
     

    - + diff --git a/en/urls/index.html b/en/urls/index.html index 2966e4a9..0e6ae545 100644 --- a/en/urls/index.html +++ b/en/urls/index.html @@ -113,21 +113,27 @@ add simple modification info
    
     

    - + diff --git a/zh/adblock/index.html b/zh/adblock/index.html index 41db3cd2..77be4d78 100644 --- a/zh/adblock/index.html +++ b/zh/adblock/index.html @@ -96,21 +96,27 @@ use relative path
    
     

    - + diff --git a/zh/adblock_css/index.html b/zh/adblock_css/index.html index a95bb772..11040fff 100644 --- a/zh/adblock_css/index.html +++ b/zh/adblock_css/index.html @@ -58,21 +58,27 @@ i:0g/h to use relative path
    
     

    - + diff --git a/zh/adblock_domain/index.html b/zh/adblock_domain/index.html index 98322852..91d174ff 100644 --- a/zh/adblock_domain/index.html +++ b/zh/adblock_domain/index.html @@ -84,21 +84,27 @@ i:0h to use relative path
    
     

    - + diff --git a/zh/androidtv/index.html b/zh/androidtv/index.html index b217e51e..7f0cc6c5 100644 --- a/zh/androidtv/index.html +++ b/zh/androidtv/index.html @@ -57,21 +57,27 @@ i:1c for certificate
    
     

    - + diff --git a/zh/bc/index.html b/zh/bc/index.html index b818512a..bb3b525b 100644 --- a/zh/bc/index.html +++ b/zh/bc/index.html @@ -72,21 +72,27 @@ apt install bc add acmd.md
    
     

    - + diff --git a/zh/bookmark/index.html b/zh/bookmark/index.html index a054bec8..443f160c 100644 --- a/zh/bookmark/index.html +++ b/zh/bookmark/index.html @@ -84,21 +84,27 @@ AI/chatGPT:

    use [ipv6] in hosts
    
     

    - + diff --git a/zh/bookmarklet/index.html b/zh/bookmarklet/index.html index 868db8ff..a44cbac8 100644 --- a/zh/bookmarklet/index.html +++ b/zh/bookmarklet/index.html @@ -75,21 +75,27 @@ add adblock.md
    
     

    - + diff --git a/zh/cmd/index.html b/zh/cmd/index.html index 1fe5e790..d674629c 100644 --- a/zh/cmd/index.html +++ b/zh/cmd/index.html @@ -72,21 +72,27 @@ PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=: minor changes for zh
    
     

    - + diff --git a/zh/cmds/index.html b/zh/cmds/index.html index fc9d53e3..e83ccc78 100644 --- a/zh/cmds/index.html +++ b/zh/cmds/index.html @@ -99,21 +99,27 @@ add simple modification info
    
     

    - + diff --git a/zh/filecap/index.html b/zh/filecap/index.html index 66b51da6..4e7985aa 100644 --- a/zh/filecap/index.html +++ b/zh/filecap/index.html @@ -96,21 +96,27 @@ google docs, 功能强大,可查看几乎一切文档,但 "我的所爱 minor changes for zh
    
     

    - + diff --git a/zh/filemanager/index.html b/zh/filemanager/index.html index af57d0bc..e73c7830 100644 --- a/zh/filemanager/index.html +++ b/zh/filemanager/index.html @@ -53,21 +53,27 @@ i:0h to use relative path
    
     

    - + diff --git a/zh/filenames/index.html b/zh/filenames/index.html index e9fa3137..e78e630e 100644 --- a/zh/filenames/index.html +++ b/zh/filenames/index.html @@ -105,21 +105,27 @@ clarify home.css format
    
     

    - + diff --git a/zh/gesture/index.html b/zh/gesture/index.html index 6900525f..f9e1b630 100644 --- a/zh/gesture/index.html +++ b/zh/gesture/index.html @@ -67,21 +67,27 @@ back2:javascript:history.go(-2)

    reorg for multi-languages
    
     

    - + diff --git a/zh/globalcss/index.html b/zh/globalcss/index.html index 0b6dcebb..c6b5f158 100644 --- a/zh/globalcss/index.html +++ b/zh/globalcss/index.html @@ -59,21 +59,27 @@ i:0h to use relative path
    
     

    - + diff --git a/zh/gnuplot/index.html b/zh/gnuplot/index.html index 03f037c1..3467e72c 100644 --- a/zh/gnuplot/index.html +++ b/zh/gnuplot/index.html @@ -85,21 +85,27 @@ apt install gnuplot remove /sdcard/uweb folder
    
     

    - + diff --git a/zh/hosts/index.html b/zh/hosts/index.html index 1ce66bed..3f850e76 100644 --- a/zh/hosts/index.html +++ b/zh/hosts/index.html @@ -70,21 +70,27 @@ fbcdn.net

    reorg for multi-languages
    
     

    - + diff --git a/zh/html5/index.html b/zh/html5/index.html index e7133219..4dd024f0 100644 --- a/zh/html5/index.html +++ b/zh/html5/index.html @@ -91,21 +91,27 @@ MoePlayer/APlayer : music player

    use relative path
    
     

    - + diff --git a/zh/icons/index.html b/zh/icons/index.html index bfd5c8ed..82cb208e 100644 --- a/zh/icons/index.html +++ b/zh/icons/index.html @@ -58,21 +58,27 @@ reorg for multi-languages
    
     

    - + diff --git a/zh/links/index.html b/zh/links/index.html index f8922934..264ff5ff 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -249,21 +249,27 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi enhance :0cc cookie copy
    
     

    - + diff --git a/zh/loadbt/index.html b/zh/loadbt/index.html index 9c02827a..1762dab7 100644 --- a/zh/loadbt/index.html +++ b/zh/loadbt/index.html @@ -98,21 +98,27 @@ BaiduPCS-Go config set -appid=266719

    fix links for generated md files
    
     

    - + diff --git a/zh/logcat/index.html b/zh/logcat/index.html index 50444af7..d19dd378 100644 --- a/zh/logcat/index.html +++ b/zh/logcat/index.html @@ -63,21 +63,27 @@ fix links for generated md files
    
     

    - + diff --git a/zh/longclick/index.html b/zh/longclick/index.html index 0e05069d..ecbed545 100644 --- a/zh/longclick/index.html +++ b/zh/longclick/index.html @@ -67,21 +67,27 @@ js文件格式如下:

    fix typos from torinfo.uweb to torapp.uweb
    
     

    - + diff --git a/zh/multiaccount/index.html b/zh/multiaccount/index.html index d3f3473b..18c406b9 100644 --- a/zh/multiaccount/index.html +++ b/zh/multiaccount/index.html @@ -54,21 +54,27 @@ reorg for multi-languages
    
     

    - + diff --git a/zh/offlinecache/index.html b/zh/offlinecache/index.html index 24fd4e04..e24bbe71 100644 --- a/zh/offlinecache/index.html +++ b/zh/offlinecache/index.html @@ -56,21 +56,27 @@ generate PDF for custom paper size
    
     

    - + diff --git a/zh/pccopy/index.html b/zh/pccopy/index.html index 640f7275..69223227 100644 --- a/zh/pccopy/index.html +++ b/zh/pccopy/index.html @@ -97,21 +97,27 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
    add mimetype uwebA
    
     

    - + diff --git a/zh/pcdown/index.html b/zh/pcdown/index.html index 7f70555c..97284be6 100644 --- a/zh/pcdown/index.html +++ b/zh/pcdown/index.html @@ -73,21 +73,27 @@ chmod 755 /data/data/com.termux/files/usr/bin/pcdownload

    minor changes for zh
    
     

    - + diff --git a/zh/readme/index.html b/zh/readme/index.html index 7ba3ea5f..2f0a2f12 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -90,21 +90,27 @@ add google translate for restricted area
    
     

    - + diff --git a/zh/redirect/index.html b/zh/redirect/index.html index a30a0cf5..6db905bc 100644 --- a/zh/redirect/index.html +++ b/zh/redirect/index.html @@ -106,21 +106,27 @@ item.gome.com.cn::item.gomevvv.com.cn

    update global redirection
    
     

    - + diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 8615e102..29a3960a 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -78,21 +78,27 @@ add google translate in rjs.py
    
     

    - + diff --git a/zh/search/index.html b/zh/search/index.html index 36c4d212..8c11af38 100644 --- a/zh/search/index.html +++ b/zh/search/index.html @@ -303,21 +303,27 @@ fix bingAI always 1/20 issue
    
     

    - + diff --git a/zh/searchcat/index.html b/zh/searchcat/index.html index 5a2023d9..0d2b4ca8 100644 --- a/zh/searchcat/index.html +++ b/zh/searchcat/index.html @@ -73,21 +73,27 @@ d:mimetype:[含%s的命令行]:[外部资源url]
    automate modified date
    
     

    - + diff --git a/zh/sitejs/index.html b/zh/sitejs/index.html index 233aae52..9caaaa62 100644 --- a/zh/sitejs/index.html +++ b/zh/sitejs/index.html @@ -83,21 +83,27 @@ minor changes for zh
    
     

    - + diff --git a/zh/sitemap/index.html b/zh/sitemap/index.html index a0308451..06ca21f6 100644 --- a/zh/sitemap/index.html +++ b/zh/sitemap/index.html @@ -124,21 +124,27 @@ fix UI mirrors
    
     

    - + diff --git a/zh/tcron/index.html b/zh/tcron/index.html index dd21dab3..02ea233b 100644 --- a/zh/tcron/index.html +++ b/zh/tcron/index.html @@ -85,21 +85,27 @@ cron运行期间保持唤醒锁,保证termux可以稳定运行。

    use relative path
    
     

    - + diff --git a/zh/tips/index.html b/zh/tips/index.html index fceb1123..fd75471e 100644 --- a/zh/tips/index.html +++ b/zh/tips/index.html @@ -103,21 +103,27 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA fix '+' in links for rjs.py
    
     

    - + diff --git a/zh/tools/index.html b/zh/tools/index.html index 102cdb7a..d56b55ee 100644 --- a/zh/tools/index.html +++ b/zh/tools/index.html @@ -86,21 +86,27 @@ add en/_posts/bookmark.md
    
     

    - + diff --git a/zh/tvlive/index.html b/zh/tvlive/index.html index 15d3ff54..b3d2ffd7 100644 --- a/zh/tvlive/index.html +++ b/zh/tvlive/index.html @@ -342,21 +342,27 @@ reorg for multi-languages
    
     

    - + diff --git a/zh/urls/index.html b/zh/urls/index.html index 8c84dcb1..74cbf3d1 100644 --- a/zh/urls/index.html +++ b/zh/urls/index.html @@ -130,21 +130,27 @@ add simple modification info
    
     

    - + diff --git a/zh/video/index.html b/zh/video/index.html index a31b568b..458ff155 100644 --- a/zh/video/index.html +++ b/zh/video/index.html @@ -91,21 +91,27 @@ i:0h to use relative path
    
     

    - + From 56a0c2f36f19cb823294c4867bebf50a012c6241 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sat, 6 May 2023 10:49:29 +0800 Subject: [PATCH 290/722] add giscus to all mirrors --- en/acmd/index.html | 10 ++-------- en/adblock/index.html | 10 ++-------- en/adblock_domain/index.html | 10 ++-------- en/bookmark/index.html | 10 ++-------- en/bookmarklet/index.html | 10 ++-------- en/changelog/index.html | 10 ++-------- en/cmds/index.html | 10 ++-------- en/filecap/index.html | 10 ++-------- en/filenames/index.html | 10 ++-------- en/gesture/index.html | 10 ++-------- en/globalcss/index.html | 10 ++-------- en/html5/index.html | 10 ++-------- en/icons/index.html | 10 ++-------- en/links/index.html | 10 ++-------- en/longclick/index.html | 10 ++-------- en/offlinecache/index.html | 10 ++-------- en/pccopy/index.html | 10 ++-------- en/readme/index.html | 10 ++-------- en/redirect/index.html | 10 ++-------- en/rjs/index.html | 10 ++-------- en/search/index.html | 10 ++-------- en/searchcat/index.html | 10 ++-------- en/sitejs/index.html | 10 ++-------- en/sitemap/index.html | 10 ++-------- en/termux/index.html | 10 ++-------- en/tips/index.html | 10 ++-------- en/tools/index.html | 10 ++-------- en/url2site/index.html | 10 ++-------- en/urls/index.html | 10 ++-------- zh/adblock/index.html | 10 ++-------- zh/adblock_css/index.html | 10 ++-------- zh/adblock_domain/index.html | 10 ++-------- zh/androidtv/index.html | 10 ++-------- zh/bc/index.html | 10 ++-------- zh/bookmark/index.html | 10 ++-------- zh/bookmarklet/index.html | 10 ++-------- zh/cmd/index.html | 10 ++-------- zh/cmds/index.html | 10 ++-------- zh/filecap/index.html | 10 ++-------- zh/filemanager/index.html | 10 ++-------- zh/filenames/index.html | 10 ++-------- zh/gesture/index.html | 10 ++-------- zh/globalcss/index.html | 10 ++-------- zh/gnuplot/index.html | 10 ++-------- zh/hosts/index.html | 10 ++-------- zh/html5/index.html | 10 ++-------- zh/icons/index.html | 10 ++-------- zh/links/index.html | 10 ++-------- zh/loadbt/index.html | 10 ++-------- zh/logcat/index.html | 10 ++-------- zh/longclick/index.html | 10 ++-------- zh/multiaccount/index.html | 10 ++-------- zh/offlinecache/index.html | 10 ++-------- zh/pccopy/index.html | 10 ++-------- zh/pcdown/index.html | 10 ++-------- zh/readme/index.html | 10 ++-------- zh/redirect/index.html | 10 ++-------- zh/rjs/index.html | 10 ++-------- zh/search/index.html | 10 ++-------- zh/searchcat/index.html | 10 ++-------- zh/sitejs/index.html | 10 ++-------- zh/sitemap/index.html | 10 ++-------- zh/tcron/index.html | 10 ++-------- zh/tips/index.html | 10 ++-------- zh/tools/index.html | 10 ++-------- zh/tvlive/index.html | 10 ++-------- zh/urls/index.html | 10 ++-------- zh/video/index.html | 10 ++-------- 68 files changed, 136 insertions(+), 544 deletions(-) diff --git a/en/acmd/index.html b/en/acmd/index.html index ab8c33db..6c5bcf39 100644 --- a/en/acmd/index.html +++ b/en/acmd/index.html @@ -73,7 +73,7 @@ use :! instead of shell commandline mode for file manager access
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -81,13 +81,7 @@ use :! instead of shell commandline mode for file manager access
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/adblock/index.html b/en/adblock/index.html index 22386993..fcb7df13 100644 --- a/en/adblock/index.html +++ b/en/adblock/index.html @@ -95,7 +95,7 @@ use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -103,13 +103,7 @@ use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html index b62364c1..b97297df 100644 --- a/en/adblock_domain/index.html +++ b/en/adblock_domain/index.html @@ -101,7 +101,7 @@ refine global redirection cookie support
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -109,13 +109,7 @@ refine global redirection cookie support
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/bookmark/index.html b/en/bookmark/index.html index ef5ff2f1..d8685fbf 100644 --- a/en/bookmark/index.html +++ b/en/bookmark/index.html @@ -96,7 +96,7 @@ add revision history
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -104,13 +104,7 @@ add revision history
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/bookmarklet/index.html b/en/bookmarklet/index.html index 1e26acac..43a2d2f3 100644 --- a/en/bookmarklet/index.html +++ b/en/bookmarklet/index.html @@ -81,7 +81,7 @@ add adblock.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -89,13 +89,7 @@ add adblock.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/changelog/index.html b/en/changelog/index.html index c64b53a2..b792b586 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -89,7 +89,7 @@ add google translate in rjs.py
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -97,13 +97,7 @@ add google translate in rjs.py
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/cmds/index.html b/en/cmds/index.html index dedf99b5..108c2807 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -120,7 +120,7 @@ add simple modification info
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -128,13 +128,7 @@ add simple modification info
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/filecap/index.html b/en/filecap/index.html index d22d9229..09d3cdad 100644 --- a/en/filecap/index.html +++ b/en/filecap/index.html @@ -88,7 +88,7 @@ fix typos from torinfo.uweb to torapp.uweb
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -96,13 +96,7 @@ fix typos from torinfo.uweb to torapp.uweb
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/filenames/index.html b/en/filenames/index.html index 1fd34b8f..c42a6154 100644 --- a/en/filenames/index.html +++ b/en/filenames/index.html @@ -111,7 +111,7 @@ supports hosts
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -119,13 +119,7 @@ supports hosts
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/gesture/index.html b/en/gesture/index.html index 288e745e..96faefe1 100644 --- a/en/gesture/index.html +++ b/en/gesture/index.html @@ -75,7 +75,7 @@ add en gesture.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -83,13 +83,7 @@ add en gesture.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/globalcss/index.html b/en/globalcss/index.html index 429bebb0..c8e09029 100644 --- a/en/globalcss/index.html +++ b/en/globalcss/index.html @@ -66,7 +66,7 @@ support .js files under 'css' folder
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -74,13 +74,7 @@ support .js files under 'css' folder
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/html5/index.html b/en/html5/index.html index 1b00e607..90583e0c 100644 --- a/en/html5/index.html +++ b/en/html5/index.html @@ -119,7 +119,7 @@ use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -127,13 +127,7 @@ use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/icons/index.html b/en/icons/index.html index 21f820c5..a564c872 100644 --- a/en/icons/index.html +++ b/en/icons/index.html @@ -63,7 +63,7 @@ add flg for not following sys night mode
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -71,13 +71,7 @@ add flg for not following sys night mode
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/links/index.html b/en/links/index.html index 64607583..43cb297b 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -314,7 +314,7 @@ support .js files under 'css' folder
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -322,13 +322,7 @@ support .js files under 'css' folder
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/longclick/index.html b/en/longclick/index.html index f002d965..e8a9c325 100644 --- a/en/longclick/index.html +++ b/en/longclick/index.html @@ -72,7 +72,7 @@ fix typos from torinfo.uweb to torapp.uweb
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -80,13 +80,7 @@ fix typos from torinfo.uweb to torapp.uweb
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index 33397202..584ada69 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -75,7 +75,7 @@ support .js files under 'css' folder
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -83,13 +83,7 @@ support .js files under 'css' folder
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/pccopy/index.html b/en/pccopy/index.html index ee9dc054..6a030672 100644 --- a/en/pccopy/index.html +++ b/en/pccopy/index.html @@ -100,7 +100,7 @@ add mimetype uwebA
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -108,13 +108,7 @@ add mimetype uwebA
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/readme/index.html b/en/readme/index.html index 3d09cf9d..c44cf6eb 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -106,7 +106,7 @@ enhance hosts file to add attributes to domains
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -114,13 +114,7 @@ enhance hosts file to add attributes to domains
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/redirect/index.html b/en/redirect/index.html index b5e53d1d..446d34a4 100644 --- a/en/redirect/index.html +++ b/en/redirect/index.html @@ -79,7 +79,7 @@ enhance redirection cookie support
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -87,13 +87,7 @@ enhance redirection cookie support
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/rjs/index.html b/en/rjs/index.html index 50352d7c..fb63c3a5 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -86,7 +86,7 @@ add google translate in rjs.py
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -94,13 +94,7 @@ add google translate in rjs.py
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/search/index.html b/en/search/index.html index f46eff7f..11914fd4 100644 --- a/en/search/index.html +++ b/en/search/index.html @@ -244,7 +244,7 @@ supports hosts
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -252,13 +252,7 @@ supports hosts
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/searchcat/index.html b/en/searchcat/index.html index d742b768..bf0579ad 100644 --- a/en/searchcat/index.html +++ b/en/searchcat/index.html @@ -78,7 +78,7 @@ i:0m to support extra headers
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -86,13 +86,7 @@ i:0m to support extra headers
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/sitejs/index.html b/en/sitejs/index.html index d116b0ff..be49175c 100644 --- a/en/sitejs/index.html +++ b/en/sitejs/index.html @@ -86,7 +86,7 @@ support .js files under 'css' folder
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -94,13 +94,7 @@ support .js files under 'css' folder
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/sitemap/index.html b/en/sitemap/index.html index 8f18241f..58d335d1 100644 --- a/en/sitemap/index.html +++ b/en/sitemap/index.html @@ -106,7 +106,7 @@ add UI config link to home.html
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -114,13 +114,7 @@ add UI config link to home.html
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/termux/index.html b/en/termux/index.html index 276cc290..9de2cefa 100644 --- a/en/termux/index.html +++ b/en/termux/index.html @@ -86,7 +86,7 @@ add en/.../tips.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -94,13 +94,7 @@ add en/.../tips.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/tips/index.html b/en/tips/index.html index e44813d7..a7fbe426 100644 --- a/en/tips/index.html +++ b/en/tips/index.html @@ -69,7 +69,7 @@ sync newbinggogo
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -77,13 +77,7 @@ sync newbinggogo
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/tools/index.html b/en/tools/index.html index fe9a2104..1a7356ab 100644 --- a/en/tools/index.html +++ b/en/tools/index.html @@ -84,7 +84,7 @@ add en/.../tools.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -92,13 +92,7 @@ add en/.../tools.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/url2site/index.html b/en/url2site/index.html index 80e58727..0cb32fa6 100644 --- a/en/url2site/index.html +++ b/en/url2site/index.html @@ -64,7 +64,7 @@ add bingAI url
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -72,13 +72,7 @@ add bingAI url
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/en/urls/index.html b/en/urls/index.html index 0e6ae545..dcacfc72 100644 --- a/en/urls/index.html +++ b/en/urls/index.html @@ -119,7 +119,7 @@ add simple modification info
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -127,13 +127,7 @@ add simple modification info
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/adblock/index.html b/zh/adblock/index.html index 77be4d78..b6032e07 100644 --- a/zh/adblock/index.html +++ b/zh/adblock/index.html @@ -102,7 +102,7 @@ use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -110,13 +110,7 @@ use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/adblock_css/index.html b/zh/adblock_css/index.html index 11040fff..d5a1b468 100644 --- a/zh/adblock_css/index.html +++ b/zh/adblock_css/index.html @@ -64,7 +64,7 @@ i:0g/h to use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -72,13 +72,7 @@ i:0g/h to use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/adblock_domain/index.html b/zh/adblock_domain/index.html index 91d174ff..f08c7ee6 100644 --- a/zh/adblock_domain/index.html +++ b/zh/adblock_domain/index.html @@ -90,7 +90,7 @@ i:0h to use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -98,13 +98,7 @@ i:0h to use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/androidtv/index.html b/zh/androidtv/index.html index 7f0cc6c5..c08980ed 100644 --- a/zh/androidtv/index.html +++ b/zh/androidtv/index.html @@ -63,7 +63,7 @@ i:1c for certificate
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -71,13 +71,7 @@ i:1c for certificate
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/bc/index.html b/zh/bc/index.html index bb3b525b..118bd5be 100644 --- a/zh/bc/index.html +++ b/zh/bc/index.html @@ -78,7 +78,7 @@ add acmd.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -86,13 +86,7 @@ add acmd.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/bookmark/index.html b/zh/bookmark/index.html index 443f160c..0f4e7ad3 100644 --- a/zh/bookmark/index.html +++ b/zh/bookmark/index.html @@ -90,7 +90,7 @@ use [ipv6] in hosts
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -98,13 +98,7 @@ use [ipv6] in hosts
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/bookmarklet/index.html b/zh/bookmarklet/index.html index a44cbac8..e5c0b345 100644 --- a/zh/bookmarklet/index.html +++ b/zh/bookmarklet/index.html @@ -81,7 +81,7 @@ add adblock.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -89,13 +89,7 @@ add adblock.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/cmd/index.html b/zh/cmd/index.html index d674629c..878e499a 100644 --- a/zh/cmd/index.html +++ b/zh/cmd/index.html @@ -78,7 +78,7 @@ minor changes for zh
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -86,13 +86,7 @@ minor changes for zh
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/cmds/index.html b/zh/cmds/index.html index e83ccc78..e4f6901e 100644 --- a/zh/cmds/index.html +++ b/zh/cmds/index.html @@ -105,7 +105,7 @@ add simple modification info
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -113,13 +113,7 @@ add simple modification info
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/filecap/index.html b/zh/filecap/index.html index 4e7985aa..51407ab0 100644 --- a/zh/filecap/index.html +++ b/zh/filecap/index.html @@ -102,7 +102,7 @@ minor changes for zh
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -110,13 +110,7 @@ minor changes for zh
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/filemanager/index.html b/zh/filemanager/index.html index e73c7830..e2f645cd 100644 --- a/zh/filemanager/index.html +++ b/zh/filemanager/index.html @@ -59,7 +59,7 @@ i:0h to use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -67,13 +67,7 @@ i:0h to use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/filenames/index.html b/zh/filenames/index.html index e78e630e..270dde3b 100644 --- a/zh/filenames/index.html +++ b/zh/filenames/index.html @@ -111,7 +111,7 @@ clarify home.css format
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -119,13 +119,7 @@ clarify home.css format
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/gesture/index.html b/zh/gesture/index.html index f9e1b630..168967c0 100644 --- a/zh/gesture/index.html +++ b/zh/gesture/index.html @@ -73,7 +73,7 @@ reorg for multi-languages
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -81,13 +81,7 @@ reorg for multi-languages
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/globalcss/index.html b/zh/globalcss/index.html index c6b5f158..ba83cd06 100644 --- a/zh/globalcss/index.html +++ b/zh/globalcss/index.html @@ -65,7 +65,7 @@ i:0h to use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -73,13 +73,7 @@ i:0h to use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/gnuplot/index.html b/zh/gnuplot/index.html index 3467e72c..3f8d9661 100644 --- a/zh/gnuplot/index.html +++ b/zh/gnuplot/index.html @@ -91,7 +91,7 @@ remove /sdcard/uweb folder
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -99,13 +99,7 @@ remove /sdcard/uweb folder
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/hosts/index.html b/zh/hosts/index.html index 3f850e76..fd7a0a91 100644 --- a/zh/hosts/index.html +++ b/zh/hosts/index.html @@ -76,7 +76,7 @@ reorg for multi-languages
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -84,13 +84,7 @@ reorg for multi-languages
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/html5/index.html b/zh/html5/index.html index 4dd024f0..bfc8d0d4 100644 --- a/zh/html5/index.html +++ b/zh/html5/index.html @@ -97,7 +97,7 @@ use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -105,13 +105,7 @@ use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/icons/index.html b/zh/icons/index.html index 82cb208e..7b171f84 100644 --- a/zh/icons/index.html +++ b/zh/icons/index.html @@ -64,7 +64,7 @@ reorg for multi-languages
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -72,13 +72,7 @@ reorg for multi-languages
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/links/index.html b/zh/links/index.html index 264ff5ff..f2cbea76 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -255,7 +255,7 @@ enhance :0cc cookie copy
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -263,13 +263,7 @@ enhance :0cc cookie copy
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/loadbt/index.html b/zh/loadbt/index.html index 1762dab7..403eb46e 100644 --- a/zh/loadbt/index.html +++ b/zh/loadbt/index.html @@ -104,7 +104,7 @@ fix links for generated md files
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -112,13 +112,7 @@ fix links for generated md files
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/logcat/index.html b/zh/logcat/index.html index d19dd378..54bc884d 100644 --- a/zh/logcat/index.html +++ b/zh/logcat/index.html @@ -69,7 +69,7 @@ fix links for generated md files
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -77,13 +77,7 @@ fix links for generated md files
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/longclick/index.html b/zh/longclick/index.html index ecbed545..70d8c214 100644 --- a/zh/longclick/index.html +++ b/zh/longclick/index.html @@ -73,7 +73,7 @@ fix typos from torinfo.uweb to torapp.uweb
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -81,13 +81,7 @@ fix typos from torinfo.uweb to torapp.uweb
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/multiaccount/index.html b/zh/multiaccount/index.html index 18c406b9..4a074685 100644 --- a/zh/multiaccount/index.html +++ b/zh/multiaccount/index.html @@ -60,7 +60,7 @@ reorg for multi-languages
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -68,13 +68,7 @@ reorg for multi-languages
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/offlinecache/index.html b/zh/offlinecache/index.html index e24bbe71..5776507c 100644 --- a/zh/offlinecache/index.html +++ b/zh/offlinecache/index.html @@ -62,7 +62,7 @@ generate PDF for custom paper size
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -70,13 +70,7 @@ generate PDF for custom paper size
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/pccopy/index.html b/zh/pccopy/index.html index 69223227..4f2ef497 100644 --- a/zh/pccopy/index.html +++ b/zh/pccopy/index.html @@ -103,7 +103,7 @@ add mimetype uwebA
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -111,13 +111,7 @@ add mimetype uwebA
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/pcdown/index.html b/zh/pcdown/index.html index 97284be6..848b8e51 100644 --- a/zh/pcdown/index.html +++ b/zh/pcdown/index.html @@ -79,7 +79,7 @@ minor changes for zh
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -87,13 +87,7 @@ minor changes for zh
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/readme/index.html b/zh/readme/index.html index 2f0a2f12..85702578 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -96,7 +96,7 @@ add google translate for restricted area
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -104,13 +104,7 @@ add google translate for restricted area
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/redirect/index.html b/zh/redirect/index.html index 6db905bc..35d1d0a4 100644 --- a/zh/redirect/index.html +++ b/zh/redirect/index.html @@ -112,7 +112,7 @@ update global redirection
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -120,13 +120,7 @@ update global redirection
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/rjs/index.html b/zh/rjs/index.html index 29a3960a..d8ac0689 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -84,7 +84,7 @@ add google translate in rjs.py
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -92,13 +92,7 @@ add google translate in rjs.py
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/search/index.html b/zh/search/index.html index 8c11af38..30b8539d 100644 --- a/zh/search/index.html +++ b/zh/search/index.html @@ -309,7 +309,7 @@ fix bingAI always 1/20 issue
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -317,13 +317,7 @@ fix bingAI always 1/20 issue
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/searchcat/index.html b/zh/searchcat/index.html index 0d2b4ca8..718dc8e8 100644 --- a/zh/searchcat/index.html +++ b/zh/searchcat/index.html @@ -79,7 +79,7 @@ automate modified date
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -87,13 +87,7 @@ automate modified date
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/sitejs/index.html b/zh/sitejs/index.html index 9caaaa62..96e542b6 100644 --- a/zh/sitejs/index.html +++ b/zh/sitejs/index.html @@ -89,7 +89,7 @@ minor changes for zh
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -97,13 +97,7 @@ minor changes for zh
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/sitemap/index.html b/zh/sitemap/index.html index 06ca21f6..c308bd5e 100644 --- a/zh/sitemap/index.html +++ b/zh/sitemap/index.html @@ -130,7 +130,7 @@ fix UI mirrors
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -138,13 +138,7 @@ fix UI mirrors
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/tcron/index.html b/zh/tcron/index.html index 02ea233b..a5db144c 100644 --- a/zh/tcron/index.html +++ b/zh/tcron/index.html @@ -91,7 +91,7 @@ use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -99,13 +99,7 @@ use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/tips/index.html b/zh/tips/index.html index fd75471e..70a290bc 100644 --- a/zh/tips/index.html +++ b/zh/tips/index.html @@ -109,7 +109,7 @@ fix '+' in links for rjs.py
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -117,13 +117,7 @@ fix '+' in links for rjs.py
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/tools/index.html b/zh/tools/index.html index d56b55ee..99ceebbb 100644 --- a/zh/tools/index.html +++ b/zh/tools/index.html @@ -92,7 +92,7 @@ add en/_posts/bookmark.md
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -100,13 +100,7 @@ add en/_posts/bookmark.md
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/tvlive/index.html b/zh/tvlive/index.html index b3d2ffd7..fee0ba38 100644 --- a/zh/tvlive/index.html +++ b/zh/tvlive/index.html @@ -348,7 +348,7 @@ reorg for multi-languages
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -356,13 +356,7 @@ reorg for multi-languages
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/urls/index.html b/zh/urls/index.html index 74cbf3d1..8b4de053 100644 --- a/zh/urls/index.html +++ b/zh/urls/index.html @@ -136,7 +136,7 @@ add simple modification info
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -144,13 +144,7 @@ add simple modification info
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - diff --git a/zh/video/index.html b/zh/video/index.html index 458ff155..07fecdf7 100644 --- a/zh/video/index.html +++ b/zh/video/index.html @@ -97,7 +97,7 @@ i:0h to use relative path
    data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE=" data-category="Announcements" data-category-id="DIC_kwDOEgNLGc4CQjsh" - data-mapping="pathname" + data-mapping="title" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" @@ -105,13 +105,7 @@ i:0h to use relative path
    data-theme="light" data-lang="en" data-loading="lazy" - crossorigin="anonymous" async disabled> - - From d082e9cf5b05b76c2add0b8bfe25676e6fdb4be6 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 7 May 2023 23:25:05 +0800 Subject: [PATCH 291/722] add 4everland --- README.md | 2 +- README.zh-Hans.md | 2 +- en/bookmark/index.html | 2 +- en/download.md | 3 ++- en/index.xml | 2 +- en/readme/index.html | 6 +++--- en/sitemap.xml | 10 +++++----- en/unlist/index.xml | 2 +- sitemap.xml | 4 ++-- zh/_posts/index.xml | 3 +-- zh/bookmark/index.html | 6 +++--- zh/index.xml | 5 ++--- zh/readme/index.html | 6 +++--- zh/sitemap.xml | 10 +++++----- zh/unlist/index.xml | 2 +- 15 files changed, 32 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 782faf30..d2fc6751 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Downloads [Uweb browser: downloads, plugins and tips](https://torappinfo.github.io/uweb/en/) -(Mirrors: [netlify](https://uwebzh.netlify.app/en/) [gitlab](https://jamesfengcao.gitlab.io/uweb/en/) [stormkit](https://uweb.stormkit.dev/en/) [surge](https://uweb.surge.sh/en/) [codeberg](https://jamesfengcao.codeberg.page/en/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html) [pages](https://muweb.pages.dev/en/) [vercel](https://uweb.vercel.app/en/) [bitbucket](https://torappinfo.bitbucket.io/en/) [render](https://uweb.onrender.com/en/)) +(Mirrors: [netlify](https://uwebzh.netlify.app/en/) [gitlab](https://jamesfengcao.gitlab.io/uweb/en/) [stormkit](https://uweb.stormkit.dev/en/) [surge](https://uweb.surge.sh/en/) [codeberg](https://jamesfengcao.codeberg.page/en/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html) [4everland](https://uweb.4everland.app/en/) [fleek](https://ik4ev-laaaa-aaaad-qd4sq-cai.ic.fleek.co/en/) [pages](https://muweb.pages.dev/en/) [vercel](https://uweb.vercel.app/en/) [bitbucket](https://torappinfo.bitbucket.io/en/) [render](https://uweb.onrender.com/en/)) - Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux. - Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. diff --git a/README.zh-Hans.md b/README.zh-Hans.md index 9c386558..f27dac7c 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -7,7 +7,7 @@ 下载 [超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/) -(备用镜像: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) +(备用镜像: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [4everland](https://uweb.4everland.app/zh/) [fleek](https://ik4ev-laaaa-aaaad-qd4sq-cai.ic.fleek.co/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/)) - 国内可以直接使用bingChat/必应写作/chatgpt - 免魔法国内直接使用google翻译 diff --git a/en/bookmark/index.html b/en/bookmark/index.html index d8685fbf..964d3eda 100644 --- a/en/bookmark/index.html +++ b/en/bookmark/index.html @@ -86,7 +86,7 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx& SMILES2structure

    -

    Last Modified: 5 March 2023
    +

    Last Modified: 6 May 2023
    add revision history

    
     

    diff --git a/en/download.md b/en/download.md index 5b08c606..a3ad2e49 100644 --- a/en/download.md +++ b/en/download.md @@ -1,4 +1,5 @@ **Download links** + [uweb, termux & history versions](https://s1.asytech.cn/s/tQrgT5kBRg8Trry) [github](https://github.com/torappinfo/uweb/releases/tag/v1) @@ -7,4 +8,4 @@ [powerfolder](https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/) -[pagure](https://releases.pagure.org/uweb/) \ No newline at end of file +[pagure](https://releases.pagure.org/uweb/) diff --git a/en/index.xml b/en/index.xml index 71d95ec0..911d8be2 100644 --- a/en/index.xml +++ b/en/index.xml @@ -492,7 +492,7 @@ Swiping on the top part of content window (near the top address bar by default) Amazon appstore Downloads Uweb browser: downloads, plugins and tips -(Mirrors: netlify gitlab stormkit surge codeberg repo pages vercel bitbucket render) +(Mirrors: netlify gitlab stormkit surge codeberg repo 4everland fleek pages vercel bitbucket render) Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux. Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. diff --git a/en/readme/index.html b/en/readme/index.html index c44cf6eb..a1247e8f 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -52,7 +52,7 @@

    Amazon appstore
    Downloads

    Uweb browser: downloads, plugins and tips
    -(Mirrors: netlify gitlab stormkit surge codeberg repo pages vercel bitbucket render)

    +(Mirrors: netlify gitlab stormkit surge codeberg repo 4everland fleek pages vercel bitbucket render)

    • Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux.
    • Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.
    • @@ -96,8 +96,8 @@
    -

    Last Modified: 3 April 2023
    -enhance hosts file to add attributes to domains
    +

    Last Modified: 7 May 2023
    +add 4everland

    
     

    + + diff --git a/en/searchurl/bingAI/js/module/generateImages.js b/en/searchurl/bingAI/js/module/generateImages.js new file mode 100644 index 00000000..5266ca41 --- /dev/null +++ b/en/searchurl/bingAI/js/module/generateImages.js @@ -0,0 +1,72 @@ + +const sleep = (delay) => new Promise((resolve) => setTimeout(resolve, delay)) +/** + * @param text 生成图像的描述 + * @param requestId 请求id,如果不是对话生成图片可以为undefined + * @param countF 回调函数,获取当前是第几次请求。 + * @return [...{img:url,mImg:url}...] img:图片url mIng:缩略图url + * */ +export default async function generateImages(text,requestId,countF){ + let theUrls = new URLSearchParams(); + theUrls.append('re', '1'); + theUrls.append('showselective', '1'); + theUrls.append('sude', '1'); + theUrls.append('kseed', '7500'); + theUrls.append('SFX', '2'); + theUrls.append('q', text); + theUrls.append('iframeid', requestId); + let theUrl = `${window.location.origin}/images/create?${theUrls.toString()}`; + let response = await fetch(theUrl); + let html = (await response.text()); + let cookieID = response.headers.get('cookieID'); + + //如果返回的是有错误的页面 + let urr = new RegExp('class="gil_err_mt">([^<>]*)').exec(html); + if(urr && urr[1]){ + let error = `

    ${urr[1]}

    `; + urr = new RegExp('class="gil_err_sbt">(([^<>]*<(a|div)[^<>]*>[^<>]*[^<>]*)*)').exec(html); + if(urr && urr[1]){ + error = error+`

    ${urr[1]}

    `; + } + throw new Error(error); + } + + //如果没错误就匹配链接获取图片 + urr = new RegExp('"/(images/create/async/results/(\\S*))"').exec(html); + if(!urr || !urr[1]){ + console.log(html); + throw new Error("请求图片返回不正确的页面,无法加载图片。"); + } + let ur = urr[1]; + ur = ur.replaceAll('&','&'); + let imgPageHtmlUrl = `${window.location.origin}/${ur}`; + for(let count = 1;count<=20;count++){ + if((!!countF)&&(typeof countF =='function')){ + countF(count); + } + await sleep(3000); + let imgPageHtml; + try{ + imgPageHtml = (await (await fetch(imgPageHtmlUrl,{headers:{"cookieID":cookieID}})).text()); + }catch(e){ + console.error(e); + } + if(!imgPageHtml){ + continue; + } + //用正则找全部图片 + let allSrc = imgPageHtml.matchAll(/]*src="([^"]*)"[^<>]*>/g); + let imgs = []; + for(let src;!(src=allSrc.next()).done;){ + imgs[imgs.length] = { + img:src.value[1].split('?')[0], + mImg:src.value[1].replaceAll('&','&') + } + } + if(imgs.length>0){ + return imgs; + }else{ + throw new Error("服务器未正常返回图片!"); + } + } +} diff --git a/js/gissues.js b/js/gissues.js index 64ecbfb1..1ab225f2 100644 --- a/js/gissues.js +++ b/js/gissues.js @@ -41,10 +41,10 @@ attrs.description = descriptionMeta ? descriptionMeta.content : ''; let ogtitleMeta = document.querySelector("meta[property='og:title'],meta[name='og:title']"); attrs['og:title'] = ogtitleMeta ? ogtitleMeta.content : ''; - document.head.insertAdjacentHTML('afterbegin', ""); + document.head.insertAdjacentHTML('afterbegin', ""); let Origin = "https://gissues.gitee.io"; let url = Origin + "/Gissues.html"; - script.insertAdjacentHTML('afterend', "
    \n \n
    "); + script.insertAdjacentHTML('afterend', "
    "); let container = script.nextElementSibling; script.parentElement.removeChild(script); addEventListener('message', function (event) { From eb328d7609069582c29065cd5c29d70464054b99 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 9 May 2023 23:00:28 +0800 Subject: [PATCH 295/722] add bingAI image creator --- README.zh-Hans.md | 2 +- en/_posts/index.xml | 1 + en/index.xml | 1 + en/offlinecache/index.html | 5 +- en/searchurl/bingAI/css/DrawImg.css | 205 ++++++++++++++++++ en/searchurl/bingAI/draw.html | 10 +- .../bingAI/js/{module => }/generateImages.js | 6 +- en/sitemap.xml | 6 +- sitemap.xml | 4 +- zh/_posts/index.xml | 4 +- zh/index.xml | 6 +- zh/readme/index.html | 6 +- zh/sitemap.xml | 10 +- zh/tips/index.html | 10 +- zh/unlist/index.xml | 2 +- 15 files changed, 246 insertions(+), 32 deletions(-) create mode 100644 en/searchurl/bingAI/css/DrawImg.css rename en/searchurl/bingAI/js/{module => }/generateImages.js (92%) diff --git a/README.zh-Hans.md b/README.zh-Hans.md index b2ecb57e..3180a789 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -9,7 +9,7 @@ [超微浏览器下载及使用技巧](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) (备用镜像: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [4everland](https://uweb.4everland.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [github](https://torappinfo.github.io/uweb/zh/) [fleek](https://ik4ev-laaaa-aaaad-qd4sq-cai.ic.fleek.co/zh/) [bitbucket](https://torappinfo.bitbucket.io/zh/) [netlify](https://uwebzh.netlify.app/zh/) [surge](https://uweb.surge.sh/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [vercel](https://uweb.vercel.app/zh/)) -- 国内可以直接使用bingChat/必应写作/chatgpt +- 国内可以直接使用bingChat/必应写作/AI画图/chatgpt - 免魔法国内直接使用google翻译 - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 diff --git a/en/_posts/index.xml b/en/_posts/index.xml index ad71c061..406101b2 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -15,6 +15,7 @@ Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network. bingChat UI Install bingChat UI ai.html for censored area (bingChat UI) Install bingWrite UI write.html for censored area (bingWrite) +Install bingAI image creator UI draw.html for censored area (bingAI image creator) Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (. diff --git a/en/index.xml b/en/index.xml index 10cce946..d622fad4 100644 --- a/en/index.xml +++ b/en/index.xml @@ -15,6 +15,7 @@ Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network. bingChat UI Install bingChat UI ai.html for censored area (bingChat UI) Install bingWrite UI write.html for censored area (bingWrite) +Install bingAI image creator UI draw.html for censored area (bingAI image creator) Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (. diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index ae537fd5..0e4c515e 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -51,6 +51,7 @@

    bingChat UI

    Install bingChat UI ai.html for censored area (bingChat UI)

    Install bingWrite UI write.html for censored area (bingWrite)

    +

    Install bingAI image creator UI draw.html for censored area (bingAI image creator)

    Serverless local sites

    Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox).

    Any folder under "sitecache" can be visited as a local site. Urls with search queries can be dynamically processed by the js/wasm code in the local file.

    @@ -65,8 +66,8 @@ -

    Last Modified: 19 April 2023
    -support .js files under 'css' folder
    +

    Last Modified: 9 May 2023
    +add init bingAI draw

    
     

    @@ -13,8 +14,13 @@
    - From 54c1db0255e0edb2902919d8ee6f201a4c130ca5 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 10 May 2023 09:02:04 +0800 Subject: [PATCH 297/722] fix bingAI draw --- en/searchurl/bingAI/draw.html | 14 ++++++++------ en/searchurl/bingAI/js/generateImages.js | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/en/searchurl/bingAI/draw.html b/en/searchurl/bingAI/draw.html index 5b096cef..40e0bba3 100644 --- a/en/searchurl/bingAI/draw.html +++ b/en/searchurl/bingAI/draw.html @@ -3,6 +3,14 @@ Draw + @@ -16,12 +24,6 @@