translatorTest

translate from japanise to chinese use translate

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Kny Rx
Daily installs
0
Total installs
3
Ratings
0 0 0
Version
2024-10-06
Created
2024-10-06
Updated
2024-10-06
Size
2.08 KB
License
MIT
Applies to

使用方法

1、如果打开的是本地html文件,请在油猴插件的拓展管理中勾选“允许访问文件 URL”

2、将脚本适用路径“/”后的部分改为你本地需要进行翻译的文件路径,如/rpgx/index.html,这样油猴才能将你打开的网页和脚本匹配上,或将适用路径修改为*,这意味着所有的网页都会适用此脚本

3、脚本会实例化MutationObserver对象监听dom元素#scene-viewer下的元素变化,子元素更新时调用翻译接口将源文本翻译为中文

4、瞎写的,属于能用不好用的东西