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.

نووسەر
windingwind
Daily installs
0
Total installs
417
Ratings
3 0 0
وەشان
0.3
Created
2020-02-22
Updated
2020-08-11
مۆڵەت
نییە
Applies to
هەموو سایتەکان

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