https://github.com/aiktb/donttranslatecode
🥝 Don't translate code blocks on the pages, keep them elegant!
https://github.com/aiktb/donttranslatecode
browser-extension chrome-extension firefox-addon plasmo translate
Last synced: 2 months ago
JSON representation
🥝 Don't translate code blocks on the pages, keep them elegant!
- Host: GitHub
- URL: https://github.com/aiktb/donttranslatecode
- Owner: aiktb
- License: mit
- Created: 2023-10-13T07:56:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-13T19:19:50.000Z (6 months ago)
- Last Synced: 2025-03-23T19:44:39.467Z (3 months ago)
- Topics: browser-extension, chrome-extension, firefox-addon, plasmo, translate
- Language: TypeScript
- Homepage:
- Size: 1.14 MB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Don't Translate Code
Web Translator will no longer translate code blocks on the pages, and it will no longer make the font of the code look weird.
Special thanks to **_[plasmo](https://github.com/PlasmoHQ/plasmo)_** for taking the frustration out of browser extension development for me.

## Features
- [x] Prevents the translator from translating `pre` elements.
- [x] Force the font of `code` & `pre` elements to `Intel One Mono`.## Contribution
Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) before making a pull request.
This includes instructions on how to setup development environment, test extensions, and build the final product.