From df40846eb5b91b2a469d752eee84adf7f7deda76 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sat, 29 Apr 2023 13:54:40 +0800
Subject: [PATCH] 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