Greasy Fork is available in English.

notranslate-Prevent translating snippets and formulas

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

Autor
windingwind
Denně instalací
0
Celkem instalací
122
Hodnocení
1 0 0
Verze
0.3
Vytvořeno
22. 02. 2020
Aktualizováno
11. 08. 2020
Licence
neuvedeno
Spustit na
všech stránkách

notranslate-Prevent translating snippets and formulas

When using chrome translation, math equations and code segments are translated, causing unnecessary trouble? This script aims to prevent unnecessary translation of code segment and math equations.

How To Use

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

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.

Updates

  • v0.3 fixe some problems with MathJax formulas (thanks @zheng-gl) 2020/04/02
  • v0.2 add support
  • v0.1 initial update