Not reviewed
No code review on record
We have not reviewed this extension’s code, so we cannot vouch for it either way. Check the permissions below to decide whether it asks for more than it needs.
Want us to read this extension's code? Ask for a review and we'll queue it.
2 indicators in this extension
Every finding is verified by a security analyst. Unlock the code evidence, indicators and version history.
What our analysis found
MidJourney 中文增强插件 is not yet reviewed by Extension Auditor. It comes from a publisher with 4 extensions and was last updated in May 2025.
MidJourney 中文增强插件 Edge extension security report
ID: kbehbeglhnekahghhllbjngmegamadkg
Supported Languages
Extension Info & Metadata
Publisher Contextual Analysis
- Author
- cwser1
Install growth
2 indicators in this extension
Every finding is verified by a security analyst. Unlock the code evidence, indicators and version history.
About this extension
将 MidJourney 网站英文界面翻译为中文,支持简繁切换、缓存优化与动态监听。
Read the publisher’s full description
### MidJourney 中文增强插件描述 #### 插件概述 MidJourney 中文增强插件是一款专门为 MidJourney 网站设计的浏览器扩展,旨在为用户提供更加友好的中文使用体验。它可以将 MidJourney 网站的英文界面自动翻译成中文,并且支持简体和繁体中文的切换,同时具备缓存优化和动态监听功能,提升用户的使用效率和舒适度。 #### 主要功能 1. **界面翻译**:自动将 MidJourney 网站的英文界面翻译成中文,包括页面文本、标题、提示信息等,让用户无需手动查找翻译工具,即可轻松理解界面内容。 2. **简繁切换**:支持简体中文(zh - Hans)和繁体中文(zh - Hant)两种语言模式的切换,用户可以根据自己的语言习惯选择合适的显示语言。 3. **缓存优化**:插件会将翻译词典进行缓存,避免每次访问都需要重新下载,减少加载时间。缓存有效期为 6 小时,过期后会自动重新加载最新的词典数据。 4. **动态监听**:使用 `MutationObserver` 动态监听页面内容的变化,当页面有新元素加载或文本内容更新时,自动对其进行翻译,确保页面始终以中文显示。 5. **控制面板**:在页面右下角提供一个控制按钮(🌐),点击按钮可以弹出控制面板。控制面板提供以下功能: - **启用/禁用翻译**:用户可以通过勾选“启用翻译”复选框来开启或关闭翻译功能。 - **语言切换**:通过单选按钮选择简体中文或繁体中文。 - **清除缓存**:点击“清除缓存”按钮可以手动清除翻译词典的缓存,插件会在下次加载时重新下载最新的词典数据。 #### 技术实现 1. **manifest.json**: - 声明插件的基本信息,如名称、描述、版本等。 - 定义插件所需的权限,包括 `storage` 权限用于本地存储配置信息和缓存数据,以及 `host_permissions` 权限用于访问 MidJourney 网站。 - 指定内容脚本 `content.js`,该脚本会在 MidJourney 网站加载完成后自动执行。 2. **content.js**: - **配置管理**:从本地存储中读取插件的配置信息,包括是否启用翻译和选择的语言。 - **词典加载**:异步加载简体中文和繁体中文的翻译词典,并将其缓存到本地存储中。 - **翻译功能**:实现文本翻译和属性翻译的功能,根据用户选择的语言从相应的词典中查找翻译结果。 - **节点处理**:递归处理页面中的所有节点,对文本节点和具有特定属性的元素进行翻译。 - **动态监听**:使用 `MutationObserver` 监听页面内容的变化,对新添加的节点和文本内容进行实时翻译。 - **控制面板**:在页面中创建一个控制按钮和控制面板,提供用户交互功能,如启用/禁用翻译、切换语言和清除缓存。 #### 使用方法 1. 安装插件后,访问 MidJourney 网站,插件会自动将页面翻译成中文。 2. 点击页面右下角的控制按钮(🌐),弹出控制面板。 3. 在控制面板中,您可以根据需要启用或禁用翻译功能,切换简体中文或繁体中文,以及清除缓存。 #### 注意事项 - 插件依赖于网络连接来加载翻译词典,如果网络不稳定,可能会影响翻译的准确性和加载速度。 - 清除缓存后,插件会重新下载翻译词典,可能会导致页面加载时间延长。
User reviews
Extension files
Browse and explore files within this extension package
Gain full insight into all external connections.
Upgrade for full visibility.
URLs
View the external URLs this extension communicates with to understand its network activity and data interactions.
2 indicators in this extension
Every finding is verified by a security analyst. Unlock the code evidence, indicators and version history.
Gain full insight into all external connections.
Upgrade for full visibility.