diff --git a/README.zh.md b/README.zh.md index 9c38655..7894a56 100644 --- a/README.zh.md +++ b/README.zh.md @@ -4,13 +4,12 @@ [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -下载 +Downloads [超微浏览器下载及使用技巧](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/)) +(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/)) -- 国内可以直接使用bingChat/必应写作/chatgpt -- 免魔法国内直接使用google翻译 +- 国内可以直接使用newbing/chatgpt - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 diff --git a/en/changelog/index.html b/en/changelog/index.html index dc63c06..3cced4c 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -52,8 +52,7 @@

pagure

Main features

Change logs

-

998: Bookmarklets to support CSP sites.
-991: global url redirection support.
+

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.
@@ -79,8 +78,8 @@ -

Last Modified: 29 April 2023
-add google translate in rjs.py
+

Last Modified: 17 April 2023
+enhance redirection cookie support


 

diff --git a/en/index.xml b/en/index.xml index 71d95ec..60cc73d 100644 --- a/en/index.xml +++ b/en/index.xml @@ -209,8 +209,7 @@ sourceforge powerfolder pcloud pagure -Main features Change logs 998: Bookmarklets to support CSP sites. -991: global url redirection support. +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. @@ -345,10 +344,9 @@ 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;! +Remote javascript is defined in default. diff --git a/en/rjs/index.html b/en/rjs/index.html index 5574de1..72f3292 100644 --- a/en/rjs/index.html +++ b/en/rjs/index.html @@ -53,10 +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):
-google translation

-

Eruda
+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);

@@ -67,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

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

Last Modified: 29 April 2023
-add google translate in rjs.py
+support .js files under 'css' folder


 

diff --git a/en/sitemap.xml b/en/sitemap.xml index 2e8be63..f14b91a 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -58,7 +58,7 @@ /> /en/ - 2023-04-29T21:37:35+08:00 + 2023-04-29T13:34:57+08:00 /en/topposts/ - 2023-04-29T21:37:35+08:00 + 2023-04-29T13:34:57+08:00 /en/changelog/ - 2023-04-29T19:23:15+08:00 + 2023-04-17T07:27:43+08:00 /en/sitemap/ 2023-02-01T09:52:11+08:00 @@ -291,7 +291,7 @@ /> /en/rjs/ - 2023-04-29T21:37:35+08:00 + 2023-04-29T13:34:57+08:00 +Remote javascript is defined in default.
diff --git a/sitemap.xml b/sitemap.xml index d4b252b..28f05de 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,14 +4,14 @@ en/sitemap.xml - 2023-04-29T21:37:35+08:00 + 2023-04-29T13:34:57+08:00 zh/sitemap.xml - 2023-04-29T21:47:55+08:00 + 2023-04-29T13:11:23+08:00 diff --git a/test/alert.js b/test/alert.js deleted file mode 100644 index d3f68a4..0000000 --- a/test/alert.js +++ /dev/null @@ -1 +0,0 @@ -alert("hi"); diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index e885f84..371f056 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -104,10 +104,9 @@ 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 3a84734..2270eea 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -104,10 +104,9 @@ 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网页: @@ -496,8 +495,7 @@ gozer 广告屏蔽样式 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): 免魔法google翻译 -免魔法Google翻译至简体 -免魔法Google翻译至英文 +google翻译 Eruda Performance 移除覆盖物 @@ -510,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翻译、背景图等 远程脚本配置文件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 44b4c83..cd2d307 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -53,9 +53,8 @@ <a target=_self" href="i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js">记住密码
极速网页

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

-

免魔法Google翻译至简体

-

免魔法Google翻译至英文

+免魔法google翻译

+

google翻译

Eruda

Performance
移除覆盖物

@@ -68,14 +67,14 @@

站内搜索:;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翻译、背景图等

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

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

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


 

diff --git a/zh/searchurl/txt/rjs.cfg b/zh/searchurl/txt/rjs.cfg index 85d11a9..43a02e6 100644 --- a/zh/searchurl/txt/rjs.cfg +++ b/zh/searchurl/txt/rjs.cfg @@ -1 +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://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 8b274d8..bab4356 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-29T14:24:45+08:00 + 2023-04-29T12:12:08+08:00 /zh/ - 2023-04-29T21:47:55+08:00 + 2023-04-29T13:11:23+08:00 /zh/tips/ - 2023-04-29T14:24:45+08:00 + 2023-04-29T12:12:08+08:00 /zh/topposts/ - 2023-04-29T21:47:55+08:00 + 2023-04-29T13:11:23+08:00 2022-09-24T14:06:03+08:00 /zh/rjs/ - 2023-04-29T21:47:55+08:00 + 2023-04-29T13:11:23+08:00 -

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

+

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

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

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

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


 

diff --git a/zh/topposts/index.xml b/zh/topposts/index.xml index 69d576d..0183962 100644 --- a/zh/topposts/index.xml +++ b/zh/topposts/index.xml @@ -198,8 +198,7 @@ tgz install::toybox tar -xzf %f -C / 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): 免魔法google翻译 -免魔法Google翻译至简体 -免魔法Google翻译至英文 +google翻译 Eruda Performance 移除覆盖物 @@ -212,7 +211,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翻译、背景图等 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算): [远程脚本名]:[返回url数组的javascript代码] 其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。