mirror of https://github.com/torappinfo/uweb
Compare commits
3 Commits
b7b4361758
...
75cb8c0c1e
Author | SHA1 | Date |
---|---|---|
James Feng Cao | 75cb8c0c1e | 2 months ago |
James Feng Cao | 21e0757831 | 2 months ago |
James Feng Cao | 4b66fe2881 | 2 months ago |
@ -0,0 +1,129 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<link rel="stylesheet" href="../style.css#" type="text/css" />
|
||||
<title></title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<h3 id="mirrors-clickable-with-uweb-browser">Mirrors (clickable with uweb browser)</h3>
|
||||
<p><a href="i:0mi:5h:https://gitee.com/jamesfengcao/uweb/raw/master/redirect.html">试验1</a><br>
|
||||
<a href="i:0m?:https://gitcode.net/uweb/uweb/-/raw/master/redirect.html">2</a><br>
|
||||
<a href="i:0m?:https://raw.gitcode.com/uweb/uweb/raw/master/redirect.html">4</a><br>
|
||||
<a href="i:0m?:https://gitea.com/torappinfo/uweb/raw/branch/master/redirect.html">5</a><br>
|
||||
<a href="i:0mi:5h?format=raw::https://sourceforge.net/p/uwebbrowser/code/ci/master/tree/redirect.html">6</a><br>
|
||||
<a href="i:0mi:5h?format=raw::https://rocketgit.com/user/torappinfo/uweb/source/tree/branch/master/blob_download/redirect.html">7</a><br>
|
||||
<a href="i:0m?:https://notabug.org/torappinfo/uweb/raw/master/redirect.html">8</a><br>
|
||||
<a href="i:0mi:5h:https://git.launchpad.net/uweb/plain/redirect.html">9</a><br>
|
||||
<a href="i:0m?:https://framagit.org/torappinfo/uweb/-/raw/master/redirect.html">10</a><br>
|
||||
<a href="i:0m?:https://agit.ai/jamesfengcao/uweb/raw/branch/master/redirect.html">11</a><br>
|
||||
<a href="i:0m?:https://git.froggi.es/jamesfengcao/uweb/raw/branch/master/redirect.html">12</a><br>
|
||||
<a href="i:0m?:https://git.disroot.org/torappinfo/uweb/raw/branch/master/redirect.html">13</a><br>
|
||||
<a href="i:0m?:https://gitdab.com/jamesfengcao/uweb/raw/branch/master/redirect.html">14</a><br>
|
||||
<a href="i:0mi:5h/xxxx/?path=::https://dev.azure.com/jamesfengcao/1d8bf6c7-7c24-4441-bc5e-9709dcaf37fc/_apis/git/repositories/2a588d9b-f25a-46c0-bb3b-f685c635fcf8/itemsxxxx/redirect.html">15</a><br>
|
||||
<a href="i:0mi:5h:https://pagure.io/uweb/raw/master/f/redirect.html">16</a><br>
|
||||
<a href="i:0m?:https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/raw/master/redirect.html">17</a><br>
|
||||
<a href="i:0mi:5h:https://fastly.jsdelivr.net/gh/torappinfo/uweb/redirect.html">18</a><br>
|
||||
<a href="i:0m?:https://dagshub.com/torappinfo/uweb/raw/master/redirect.html">19</a><br>
|
||||
<a href="i:0mi:5h:https://gitgud.io/jamesfengcao/uweb/-/raw/master/redirect.html">20</a><br>
|
||||
<a href="i:0m?:https://gitly.org/jamesfengcao/uweb/raw/master/redirect.html">gitly</a><br>
|
||||
<a href="i:0m?:https://gitnet.fr/jamesfengcao/uweb/raw/branch/master/redirect.html">gitnet</a><br>
|
||||
<a href="i:0m?:https://repo.palemoon.org/jamesfengcao/uweb/raw/branch/master/redirect.html ">palemoon</a><br>
|
||||
<a href="i:0m?:https://tildegit.org/jamesfengcao/uweb/raw/branch/master/redirect.html">tilde</a><br>
|
||||
<a href="i:0m?:https://git.dotclear.org/jamesfengcao/uweb/raw/branch/master/redirect.html">dotclear</a><br>
|
||||
<a href="i:0m?:https://git.minetest.land/jamesfengcao/uweb/raw/branch/master/redirect.html ">minetest</a><br>
|
||||
<a href="i:0m?:https://forge.chapril.org/jamesfengcao/uweb/raw/branch/master/redirect.html">chapril</a><br>
|
||||
<a href="i:0m?:https://git.cryto.net/jamesfengcao/uweb/raw/branch/master/redirect.html ">cryto</a><br>
|
||||
<a href="i:0m?:https://code.antopie.org/jamesfengcao/uweb/raw/branch/master/redirect.html">antopie</a></p>
|
||||
<h3 id="repositories">Repositories</h3>
|
||||
<p><a href="https://gitlab.com/jamesfengcao/uweb">gitlab</a><br>
|
||||
<a href="https://sourceforge.net/p/uwebbrowser">sourceforge</a><br>
|
||||
<a href="https://github.com/torappinfo/uweb">github</a><br>
|
||||
<a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io">bitbucket</a><br>
|
||||
<a href="https://codeberg.org/jamesfengcao/pages/src/branch/master/README.md">codeberg</a><br>
|
||||
<a href="https://gitee.com/jamesfengcao/uweb">gitee</a><br>
|
||||
<a href="https://gitcode.com/uweb/uweb/overview">gitcode</a><br>
|
||||
<a href="https://gitcode.net/uweb/uweb">gitcode</a><br>
|
||||
<a href="https://atomgit.com/jamesfengcao/uweb">atomgit</a><br>
|
||||
<a href="https://www.gitlink.org.cn/jamesfengcao/uweb">gitlink</a><br>
|
||||
<a href="https://gitgud.io/jamesfengcao/uweb">gitgud</a><br>
|
||||
<a href="https://git.disroot.org/torappinfo/uweb/src/branch/master/README.md">disroot</a><br>
|
||||
<a href="https://gitea.com/torappinfo/uweb/src/branch/master/README.md">gitea</a><br>
|
||||
<a href="https://notabug.org/torappinfo/uweb/src/master/README.md">notabug</a><br>
|
||||
<a href="https://framagit.org/torappinfo/uweb">framagit</a><br>
|
||||
<a href="https://agit.ai/jamesfengcao/uweb/src/branch/master/README.md">agit</a><br>
|
||||
<a href="https://git.froggi.es/jamesfengcao/uweb/src/branch/master/README.md">froggi</a><br>
|
||||
<a href="https://gitdab.com/jamesfengcao/uweb/src/branch/master/README.md">gitdab</a><br>
|
||||
<a href="https://pagure.io/uweb/blob/master/f/README.md">pagure</a><br>
|
||||
<a href="https://dagshub.com/torappinfo/uweb/src/master/README.md">dagshub</a><br>
|
||||
<a href="https://gitnet.fr/jamesfengcao/uweb/src/branch/master/README.md">gitnet</a><br>
|
||||
<a href="https://repo.palemoon.org/jamesfengcao/uweb/src/branch/master/README.md">palemoon</a><br>
|
||||
<a href="https://tildegit.org/jamesfengcao/uweb/src/branch/master/README.md">tilde</a><br>
|
||||
<a href="https://git.dotclear.org/jamesfengcao/uweb/src/branch/master/README.md">dotclear</a><br>
|
||||
<a href="https://git.minetest.land/jamesfengcao/uweb/src/branch/master/README.md">mimetest</a><br>
|
||||
<a href="https://forge.chapril.org/jamesfengcao/uweb/src/branch/master/README.md">chapril</a><br>
|
||||
<a href="https://git.cryto.net/jamesfengcao/uweb/src/branch/master/README.md">cryto</a><br>
|
||||
<a href="https://code.antopie.org/jamesfengcao/uweb/src/master/README.md">antopie</a></p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 2 April 2024<br>
|
||||
mv mirrors to unlist/<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
<script id='jsgiscus'
|
||||
src='https://giscus.app/client.js'
|
||||
data-repo="torappinfo/uweb"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
|
||||
data-category="Announcements"
|
||||
data-category-id="DIC_kwDOEgNLGc4CQjsh"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="light"
|
||||
data-lang="en"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous" async>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,128 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||
<title>Text selection</title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
||||
|
||||
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">Text selection
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
<li><a href="../tags/termux">termux</a> </li>
|
||||
|
||||
<li><a href="../tags/ssh">ssh</a> </li>
|
||||
|
||||
<li><a href="../tags/PC">PC</a> </li>
|
||||
|
||||
<li><a href="../tags/clipboard">clipboard</a> </li>
|
||||
|
||||
<li><a href="../tags/Windows">Windows</a> </li>
|
||||
|
||||
</ul>
|
||||
<p>Click the following links to install menus for long pressing the button "link":<br>
|
||||
<a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
|
||||
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
|
||||
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
|
||||
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
|
||||
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
|
||||
<p>The file "default.select" defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:<br>
|
||||
[Name]:[mimetype]:[command line]</p>
|
||||
<p>[mimetype] specifies input/output for [command line].<br>
|
||||
It formats as "[input mimetype]/[output mimetype]".<br>
|
||||
[input mimetype] can be the following:</p>
|
||||
<ul>
|
||||
<li>"html": rich text</li>
|
||||
<li>"" (empty): text</li>
|
||||
<li>".js" file name under configuration folder. The js file is evaluated and its return value is passed to [command line] as standard input.</li>
|
||||
</ul>
|
||||
<p>[output mimetype] is same as the one defined in "<a href="../cmds/index.html">Commands</a>".</p>
|
||||
<ul>
|
||||
<li>regular mimetype such as "text/html": output as the mimetype</li>
|
||||
<li>"uweb": output as links</li>
|
||||
<li>"uwebA": output as "A" link, all characters including newlines are part of the link.</li>
|
||||
<li>"clip": output to clipboard</li>
|
||||
<li>"termux": output as termux command</li>
|
||||
</ul>
|
||||
<p><a target="_self" href="i:0hcheck.js:../../zh/searchurl/txt/check.js">checked.js</a>: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][<em>[postfix]]". For example, "file:///sdcard/?</em>.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).</p>
|
||||
<p>default.select sample file:<br>
|
||||
copy2addressbar:/uweb:printf i:15;cat<br>
|
||||
copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>
|
||||
<p>Here we assume that the user PC has IP address as "192.168.2.102".<br>
|
||||
To use ssh or scp, users need to install uweb compatible Termux provided on the <a href="../index.html">uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>
|
||||
PCs need command "xsel" available to operate on copy/paste.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 25 May 2023<br>
|
||||
rework cf/redirect.js<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
if(location.href.indexOf("/zh/")>0){
|
||||
var script = document.createElement("script");
|
||||
script.type = "text/javascript";
|
||||
script.src = "../../js/gissues.js";
|
||||
script.setAttribute("repo","jamesfengcao/uweb");
|
||||
script.setAttribute("issue-term","title");
|
||||
script.setAttribute("theme","github-light");
|
||||
script.async = true;
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
</script>
|
||||
<script id='jsgiscus'
|
||||
src='https://giscus.app/client.js'
|
||||
data-repo="torappinfo/uweb"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
|
||||
data-category="Announcements"
|
||||
data-category-id="DIC_kwDOEgNLGc4CQjsh"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="light"
|
||||
data-lang="en"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous" async>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,595 +0,0 @@
|
||||
/* 头部分 */
|
||||
|
||||
#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 {}
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
{"clientTcpRtt":172,"longitude":"120.60200","latitude":"31.30930","tlsCipher":"AEAD-AES256-GCM-SHA384","continent":"AS","asn":4134,"clientAcceptEncoding":"br, gzip, deflate","country":"CN","tlsClientAuth":{"certIssuerDNLegacy":"","certIssuerSKI":"","certSubjectDNRFC2253":"","certSubjectDNLegacy":"","certFingerprintSHA256":"","certNotBefore":"","certSKI":"","certSerial":"","certIssuerDN":"","certVerified":"NONE","certNotAfter":"","certSubjectDN":"","certPresented":"0","certRevoked":"0","certIssuerSerial":"","certIssuerDNRFC2253":"","certFingerprintSHA1":""},"tlsExportedAuthenticator":{"clientFinished":"b7f5ebe4898f01fbdbf9b0a444e1edc7956472268f27576d15fe6e048855ae5fe9f514231998caf937773f6a53901960","clientHandshake":"44f40162794883f93892c883c4121ca289621ad38b27615555cc0f471283da68ad39a438b0e956abc6613792f5fb81de","serverHandshake":"d3ec250200a505c5bc98a049d3f63720e3baea922338e6f94d61a28d9dfed9c1078dc8fa74e83f6719938122e6887a85","serverFinished":"710a654a0cfdd69ce712c7464801d1661f5b797ddd3cccf7f78f4abbd34564ebb7e9c00282fe7923875226284bde9b67"},"tlsVersion":"TLSv1.3","city":"Suzhou","timezone":"Asia/Shanghai","colo":"SJC","region":"Jiangsu","requestPriority":"","botManagement":{"corporateProxy":false,"verifiedBot":false,"ja3Hash":"0cce74b0d9b7f8528fb2181588d23793","staticResource":false,"detectionIds":{},"score":2},"clientTrustScore":2,"httpProtocol":"HTTP/1.1","regionCode":"JS","asOrganization":"China Telecom","edgeRequestKeepAliveStatus":1}
|
@ -1,24 +0,0 @@
|
||||
import { serve } from "https://deno.land/std/http/server.ts";
|
||||
async function handler(req: Request): Promise<Response> {
|
||||
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);
|
@ -1,60 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="alternate" type="application/rss+xml" href="/en/tags/pc/index.xml" title="uweb browser: unlimited power">
|
||||
|
||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||
<title>PC</title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
||||
|
||||
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
|
||||
|
||||
|
||||
<a class="logo" href="index.xml">RSS</a>
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">PC</h1>
|
||||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../textprocess/index.html">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<ul>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>PC on uweb browser: unlimited power</title>
|
||||
<link>/en/tags/pc/</link>
|
||||
<description>Recent content in PC on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Fri, 01 Dec 2023 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/en/tags/pc/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
The file &quot;default.select&quot; defines text processing menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue