diff --git a/en/rjs/index.html b/en/rjs/index.html index 02eb452..72f3292 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 2d09b8d..f14b91a 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 8b0667f..2270eea 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 ce7f7a9..cd2d307 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 5740f4e..bab4356 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