notranslate-防止chrome翻译代码段和公式

A tampermonkey script aims to prevent unnecessary translation of code segment and math equations.

当前为 2020-03-26 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
windingwind
评分
0 0 0
版本
0.2
创建于
2020-02-22
更新于
2020-03-26
大小
4.8 KB
许可证
暂无
适用于
所有网站

notranslate-防止chrome翻译代码段和公式

使用chrome翻译功能时经常把不必要的公式和代码段也翻译了,造成不必要的困扰? 该脚本用来为一些特定的公式和代码段添加"notranslate"样式类,以阻止翻译。 This script aims to prevent unnecessary translation of code segment and math equations.

How To Use如何使用

要使用该脚本,请在认为有需要的时候(比如页面加载完毕后,翻译之前)使用键盘ctrl+Q,然后确认。 请注意,需要在点击“翻译”之前进行操作。 To use this script, use the keyboard ctrl + Q when the page is ready (such as after the page is loaded and before translation), and then confirm. Please note that you need to do this before clicking "Translate".

Possible Problems可能的问题

由于脚本尚不完善,可能一些类型的内容未列入列表。您可以自己修改脚本的behaviorList。 如果您愿意,请联系我更新脚本。通过GitHub或者mail。 Because the script is not yet complete, some types of content may not be detected. You can modify the behaviorList of the script yourself. If you like, please contact me to update the script. Via GitHub or mail.