math-shield

MathShield

MathShield is a Chrome extension that fixes broken math when translating webpages.

The problem

When using tools like Google Translate on pages with MathJax, formulas often break.

Example:
https://pho.rs/p/4191

After translation:

Result: the problem becomes unusable.


The solution

MathShield fixes this by:


Features


Installation

  1. Download or clone this repository
  2. Open Chrome and go to: chrome://extensions/
  3. Enable Developer mode
  4. Click Load unpacked
  5. Select the project folder

Usage

  1. Open a page with math (e.g. the example above)
  2. Use browser translation
  3. MathShield automatically fixes the formulas

Status

Core functionality is complete.
Tested on physics/math problem pages with heavy LaTeX usage.


Notes