From df40846eb5b91b2a469d752eee84adf7f7deda76 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sat, 29 Apr 2023 13:54:40 +0800
Subject: [PATCH 1/8] 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 72f3292..4ad068e 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 28f05de..434e3b8 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 2270eea..328e82d 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 cd2d307..7e469d7 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 bab4356..2b98dfe 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 2/8] 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 434e3b8..0f3606a 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 328e82d..ee8ade6 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -494,8 +494,6 @@ gozer 广告屏蔽样式
<a target=_self" href="i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js">记住密码
极速网页
大型脚本可安装到"bookmarklet"目录下(长按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 7e469d7..4e215ff 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 2b98dfe..6d07b2a 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 3/8] 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 7894a56..9c38655 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 4ad068e..66d790c 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 0f3606a..e6acf78 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 371f056..e885f84 100644
--- a/zh/_posts/index.xml
+++ b/zh/_posts/index.xml
@@ -104,9 +104,10 @@ c[cssFlag]: For example, "c12" 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 ee8ade6..005c004 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -104,9 +104,10 @@ c[cssFlag]: For example, "c12" 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 4e215ff..a4bdf79 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 6d07b2a..aaf57b3 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 4/8] 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 66d790c..0d54bff 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 f14b91a..11d0627 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 a4bdf79..249c634 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 aaf57b3..ffc810c 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 5/8] 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 0000000..d3f68a4
--- /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 6/8] 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 3cced4c..ea5b679 100644
--- a/en/changelog/index.html
+++ b/en/changelog/index.html
@@ -52,7 +52,8 @@
pagure
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 60cc73d..a4a3a93 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 "hosts" 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 "bookmarklet" (long pressing button "js" to popup menu):
Eruda
Performance
-Remote javascript is defined in default.
+Note: Bookmarklets whose names begin with "!
-
diff --git a/en/rjs/index.html b/en/rjs/index.html
index 0d54bff..c865a40 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 11d0627..f0e493c 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 "!
diff --git a/sitemap.xml b/sitemap.xml
index fee8143..7ad457a 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 7/8] 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 ea5b679..9fa4672 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 a4a3a93..71d95ec 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -345,6 +345,7 @@ Global javascript files locates in the subfolder "js" of app p
<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
Performance
Note: Bookmarklets whose names begin with "!
diff --git a/en/rjs/index.html b/en/rjs/index.html
index c865a40..abf47a8 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 f0e493c..4968ab6 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 7ad457a..dc3b274 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 005c004..011e24b 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -495,6 +495,7 @@ gozer 广告屏蔽样式
<a target=_self" href="i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js">记住密码
极速网页
大型脚本可安装到"bookmarklet"目录下(长按js按钮):
+免魔法google翻译
Eruda
Performance
移除覆盖物
diff --git a/zh/rjs/index.html b/zh/rjs/index.html
index 249c634..50e1c9c 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 ffc810c..1252e07 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 8/8] 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 9fa4672..dc63c06 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 abf47a8..5574de1 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 4968ab6..2e8be63 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 011e24b..3a84734 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -496,6 +496,8 @@ gozer 广告屏蔽样式
极速网页
大型脚本可安装到"bookmarklet"目录下(长按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 50e1c9c..44b4c83 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 43a02e6..85d11a9 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