GitHub - tnychn/opencc-extension: 🀄️ A browser extension to convert webpages between different Chinese variants. Powered by OpenCC. (original) (raw)

A browser extension that converts text in the current active tab between different Chinese variants.

This extension is powered by opencc-js, which is a JavaScript API wrapper around the great OpenCC project.

Most of the variants supported by OpenCC are supported:

Note

Only Chrome and Firefox are tested. Other browsers may also work but are not guaranteed to.

Features

See usage for more ways to convert text.

Usage

Specify the language settings in the extension popup.

Left: Convert Text Selection on Webpage
Right: Convert Any Text in Text Box

Left: One Click
Right: Auto Mode

Note

For performance reason, auto mode will not convert text on webpages which explicitly specify their lang attributes to be languages other than zh in their HTML documents.

When auto mode is enabled, a grey badge with the letter A appears on the corner of the extension icon.

All text in the webpage of the current active tab is converted whenever it loads or is updated.

Credits


~ crafted with ♥︎ by tnychn ~
MIT © 2024 Tony Chan