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.

Auteur
windingwind
Nombre d'installations quotidiennes
0
Nombre d'installations
430
Évaluations
3 0 0
Version
0.3
Créer
2020-02-22
Mis à jour
2020-08-11
Size
3,32 ko
Licence
S/O
S'applique à
Tous les sites

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