Skip to content
/ MixEn Public

Randomly replaces a fraction of Chinese words with English equivalents.

Notifications You must be signed in to change notification settings

July-Tea/MixEn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简介

MixEn 是一款 Chrome 浏览器扩展,能随机将网页中的中文词语替换为对应的英文单词。

安装

从源码安装

  1. 克隆仓库
git clone https://github.com/July-Tea/MixEn.git
cd MixEn
  1. 安装依赖
npm install
  1. 构建项目
npm run build
  1. 加载扩展
  • 打开 Chrome,访问 chrome://extensions/
  • 启用「开发者模式」
  • 点击「加载已解压的扩展程序」
  • 选择 extension 文件夹

使用方法

  1. 安装扩展后,访问任意包含中文内容的网页
  2. 扩展将自动处理页面,将部分中文词语替换为英文
  3. 将鼠标悬停在替换的单词上,可查看原始中文和完整翻译
  4. 点击扩展图标打开设置面板,调整替换参数

配置

点击扩展图标打开配置面板:

选项 说明 默认值
替换比例 控制被替换词语的百分比 10%
站点黑名单 排除特定网站,支持通配符

黑名单示例

*.example.com
https://specific-site.com/*

贡献

欢迎提交 Issue 和 Pull Request!

About

Randomly replaces a fraction of Chinese words with English equivalents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published