Rename extension references from Chrome to Chromium
Updated all documentation, configuration, and code references from 'Xget for Chrome' to 'Xget for Chromium' for consistency with the supported browser family. This includes issue templates, workflow files, privacy and security policies, README, manifest, package metadata, background and content scripts, and popup UI.
This commit is contained in:
1 parent
f3830e66d4
commit
37a326486b
11 files changed
+36
-46
No files matched your search
@@ -12,7 +12,7 @@ body:
|
||||
id: version
|
||||
attributes:
|
||||
label: Extension Version
|
||||
description: What version of Xget for Chrome are you using?
|
||||
description: What version of Xget for Chromium are you using?
|
||||
placeholder: "1.0.0"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -6,7 +6,7 @@ body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Have a question about Xget for Chrome? We're here to help!
|
||||
Have a question about Xget for Chromium? We're here to help!
|
||||
|
||||
- type: dropdown
|
||||
id: category
|
||||
|
||||
@@ -172,7 +172,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: v${{ steps.version.outputs.version }}
|
||||
name: Xget for Chrome ${{ steps.version.outputs.version }}
|
||||
name: Xget for Chromium ${{ steps.version.outputs.version }}
|
||||
files: |
|
||||
chrome-extension.zip
|
||||
edge-extension.zip
|
||||
@@ -185,7 +185,7 @@ jobs:
|
||||
|
||||
- **Chrome 网上应用店**: [从 Chrome 网上应用店安装](https://chromewebstore.google.com/detail/ajiejgobfcifcikbahpijopolfjoodgf)
|
||||
- **Microsoft Edge 加载项**: [从 Microsoft Edge 加载项安装](https://microsoftedge.microsoft.com/addons/detail/jigpfhbegabdenhihpplcjhpfdcgnalc)
|
||||
- **手动安装**: 下载下面的文件或查看 [安装指南](https://github.com/xixu-me/Xget-for-Chrome?tab=readme-ov-file#-%E5%AE%89%E8%A3%85) 获取详细说明
|
||||
- **手动安装**: 下载下面的文件或查看 [安装指南](https://github.com/xixu-me/Xget for Chromium?tab=readme-ov-file#-%E5%AE%89%E8%A3%85) 获取详细说明
|
||||
|
||||
## 📁 可用文件
|
||||
|
||||
@@ -221,7 +221,7 @@ jobs:
|
||||
|
||||
- name: 通知成功
|
||||
run: |
|
||||
echo "🎉 成功发布 Xget for Chrome ${{ steps.version.outputs.version }} 到多个商店!"
|
||||
echo "🎉 成功发布 Xget for Chromium ${{ steps.version.outputs.version }} 到多个商店!"
|
||||
echo "🔗 Chrome 网上应用店: https://chrome.google.com/webstore/detail/${{ secrets.CHROME_EXTENSION_ID }}"
|
||||
echo "🔗 Microsoft Edge 加载项: 查看发布页面获取手动安装文件"
|
||||
echo "📦 GitHub 发布: https://github.com/${{ github.repository }}/releases/tag/v${{ steps.version.outputs.version }}"
|
||||
+5
-5
@@ -4,13 +4,13 @@
|
||||
|
||||
## 概述
|
||||
|
||||
Xget for Chrome 是一个开源浏览器扩展,旨在通过 Xget 代理服务重定向下载链接来加速 GitHub、GitLab 和 Hugging Face 的下载。我们承诺保护您的隐私并确保数据处理的透明度。
|
||||
Xget for Chromium 是一个开源浏览器扩展,旨在通过 Xget 代理服务重定向下载链接来加速 GitHub、GitLab 和 Hugging Face 的下载。我们承诺保护您的隐私并确保数据处理的透明度。
|
||||
|
||||
## 我们的隐私承诺
|
||||
|
||||
**我们不收集、存储或传输您的个人数据。**
|
||||
|
||||
Xget for Chrome 扩展遵循“隐私优先”的设计原则,所有处理都在您的浏览器本地进行。
|
||||
Xget for Chromium 扩展遵循“隐私优先”的设计原则,所有处理都在您的浏览器本地进行。
|
||||
|
||||
## 收集的信息
|
||||
|
||||
@@ -121,7 +121,7 @@ Xget for Chrome 扩展遵循“隐私优先”的设计原则,所有处理都
|
||||
### 开源透明性
|
||||
|
||||
- 扩展是完全开源的
|
||||
- 源代码可在 [GitHub](https://github.com/xixu-me/Xget-for-Chrome) 上获得
|
||||
- 源代码可在 [GitHub](<https://github.com/xixu-me/Xget> for Chromium) 上获得
|
||||
- 您可以审查、验证和审计所有代码
|
||||
|
||||
## 您的权利
|
||||
@@ -168,7 +168,7 @@ Xget for Chrome 扩展遵循“隐私优先”的设计原则,所有处理都
|
||||
|
||||
如果您对此隐私政策有任何问题、疑虑或建议,请:
|
||||
|
||||
- **GitHub Issues**:在我们的 [GitHub 存储库](https://github.com/xixu-me/Xget-for-Chrome/issues) 上打开一个 issue
|
||||
- **GitHub Issues**:在我们的 [GitHub 存储库](<https://github.com/xixu-me/Xget> for Chromium/issues) 上打开一个 issue
|
||||
- **电子邮件**:通过我们的 GitHub 配置文件联系维护者
|
||||
|
||||
## 法律合规
|
||||
@@ -211,6 +211,6 @@ Xget for Chrome 扩展遵循“隐私优先”的设计原则,所有处理都
|
||||
---
|
||||
|
||||
**最后更新**:2025 年 7 月 18 日
|
||||
**联系方式**:[GitHub Issues](https://github.com/xixu-me/Xget-for-Chrome/issues)
|
||||
**联系方式**:[GitHub Issues](<https://github.com/xixu-me/Xget> for Chromium/issues)
|
||||
|
||||
此隐私政策是我们对透明度和用户隐私承诺的一部分。我们相信您有权了解您使用的软件如何处理您的数据,以及在这种情况下,确认它不会处理您的个人数据。
|
||||
@@ -1,4 +1,4 @@
|
||||
# Xget for Chrome
|
||||
# Xget for Chromium
|
||||
|
||||
一个强大的 Chromium 浏览器扩展,通过自动将下载重定向到 [Xget](https://github.com/xixu-me/Xget) 代理服务,从而加速 GitHub、GitLab 和 Hugging Face 的下载。
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#### 选项 1:从 GitHub Releases 安装(推荐)
|
||||
|
||||
1. **下载扩展**
|
||||
- 前往 [Releases 页面](https://github.com/xixu-me/Xget-for-Chrome/releases)
|
||||
- 前往 [Releases 页面](<https://github.com/xixu-me/Xget> for Chromium/releases)
|
||||
- 下载最新发布文件:
|
||||
- `chrome-extension.zip` - 适用于 Chrome 浏览器
|
||||
- `edge-extension.zip` - 适用于 Microsoft Edge
|
||||
@@ -54,8 +54,8 @@
|
||||
1. **克隆存储库**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/xixu-me/Xget-for-Chrome.git
|
||||
cd Xget-for-Chrome
|
||||
git clone https://github.com/xixu-me/Xget for Chromium.git
|
||||
cd Xget for Chromium
|
||||
```
|
||||
|
||||
2. **在浏览器中加载**
|
||||
@@ -209,7 +209,7 @@ Xget 是基于 Cloudflare Workers 构建的高性能、安全的代理服务,
|
||||
|
||||
启用 Chrome 开发者工具并检查控制台选项卡中的调试消息:
|
||||
|
||||
- 扩展加载:「Xget for Chrome:内容脚本已加载」
|
||||
- 扩展加载:「Xget for Chromium:内容脚本已加载」
|
||||
- 下载重定向:「重定向下载:[原始] -> [xget]」
|
||||
- 设置更改:「设置已更新!点击刷新页面」
|
||||
|
||||
@@ -253,5 +253,5 @@ Xget 是基于 Cloudflare Workers 构建的高性能、安全的代理服务,
|
||||
|
||||
- ⭐ 为此存储库点星
|
||||
- 📝 在 [Chrome 网上应用店](https://chromewebstore.google.com/detail/ajiejgobfcifcikbahpijopolfjoodgf) 留下评价
|
||||
- 🐛 通过 [GitHub Issues](https://github.com/xixu-me/Xget-for-Chrome/issues) 报告错误或建议功能
|
||||
- 🐛 通过 [GitHub Issues](<https://github.com/xixu-me/Xget> for Chromium/issues) 报告错误或建议功能
|
||||
- 📢 与其他可能受益于更快下载的人分享
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
|
||||
## 支持的版本
|
||||
|
||||
我们积极支持 Xget for Chrome 的最新版本。为以下版本提供安全更新:
|
||||
我们积极支持 Xget for Chromium 的最新版本。为以下版本提供安全更新:
|
||||
|
||||
| 版本 | 支持状态 |
|
||||
| ------- | ------------------ |
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
## 报告漏洞
|
||||
|
||||
如果你在 Xget for Chrome 中发现安全漏洞,请负责任地报告:
|
||||
如果你在 Xget for Chromium 中发现安全漏洞,请负责任地报告:
|
||||
|
||||
### 如何报告
|
||||
|
||||
@@ -63,4 +63,4 @@
|
||||
- 更新时审查权限
|
||||
- 报告可疑行为
|
||||
|
||||
感谢你帮助保持 Xget for Chrome 的安全!
|
||||
感谢你帮助保持 Xget for Chromium 的安全!
|
||||
+1
-1
@@ -33,7 +33,7 @@ const DEFAULT_SETTINGS = {
|
||||
|
||||
// 初始化扩展
|
||||
chrome.runtime.onInstalled.addListener(async () => {
|
||||
console.log("Xget for Chrome 已安装");
|
||||
console.log("Xget for Chromium 已安装");
|
||||
|
||||
// 如果尚未设置,则设置默认设置
|
||||
const settings = await chrome.storage.sync.get(DEFAULT_SETTINGS);
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ const PLATFORMS = {
|
||||
|
||||
// 初始化内容脚本
|
||||
(async function () {
|
||||
console.log("Xget for Chrome:内容脚本已加载");
|
||||
console.log("Xget for Chromium:内容脚本已加载");
|
||||
|
||||
// 监听来自后台脚本的消息
|
||||
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
||||
|
||||
+7
-17
@@ -7,16 +7,14 @@
|
||||
"128": "icons/icon128.png"
|
||||
},
|
||||
"default_popup": "popup.html",
|
||||
"default_title": "Xget for Chrome"
|
||||
"default_title": "Xget for Chromium"
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"js": [
|
||||
"content.js"
|
||||
],
|
||||
"js": ["content.js"],
|
||||
"matches": [
|
||||
"https://github.com/*",
|
||||
"https://gitlab.com/*",
|
||||
@@ -38,21 +36,13 @@
|
||||
"128": "icons/icon128.png"
|
||||
},
|
||||
"manifest_version": 3,
|
||||
"name": "Xget for Chrome",
|
||||
"permissions": [
|
||||
"downloads",
|
||||
"storage",
|
||||
"activeTab"
|
||||
],
|
||||
"name": "Xget for Chromium",
|
||||
"permissions": ["downloads", "storage", "activeTab"],
|
||||
"version": "1.2.0",
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"matches": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"resources": [
|
||||
"icons/*"
|
||||
]
|
||||
"matches": ["<all_urls>"],
|
||||
"resources": ["icons/*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+5
-5
@@ -2,12 +2,12 @@
|
||||
"author": "Xi Xu",
|
||||
"browser": "chrome",
|
||||
"bugs": {
|
||||
"url": "https://github.com/xixu-me/Xget-for-Chrome/issues"
|
||||
"url": "https://github.com/xixu-me/Xget for Chromium/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "通过 Xget 重定向下载实现加速的 Chrome 扩展",
|
||||
"devDependencies": {},
|
||||
"homepage": "https://github.com/xixu-me/Xget-for-Chrome#readme",
|
||||
"homepage": "https://github.com/xixu-me/Xget for Chromium#readme",
|
||||
"keywords": [
|
||||
"chrome-extension",
|
||||
"download-accelerator",
|
||||
@@ -20,10 +20,10 @@
|
||||
"license": "GPL-3.0",
|
||||
"main": "background.js",
|
||||
"manifest_version": 3,
|
||||
"name": "xget-for-chrome",
|
||||
"name": "xget for chromium",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/xixu-me/Xget-for-Chrome.git"
|
||||
"url": "https://github.com/xixu-me/Xget for Chromium.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "不需要构建过程 - 扩展直接从源码运行",
|
||||
@@ -36,4 +36,4 @@
|
||||
"validate": "node -e \"JSON.parse(require('fs').readFileSync('manifest.json', 'utf8')); console.log('✅ manifest.json 格式有效')\""
|
||||
},
|
||||
"version": "1.2.0"
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Xget for Chrome</title>
|
||||
<title>Xget for Chromium</title>
|
||||
<style>
|
||||
body {
|
||||
width: 380px;
|
||||
@@ -211,7 +211,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<h1>Xget for Chrome</h1>
|
||||
<h1>Xget for Chromium</h1>
|
||||
<div class="subtitle">下载加速器</div>
|
||||
</div>
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
<span class="link-text">部署你自己的 Xget 服务</span>
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/xixu-me/Xget-for-Chrome"
|
||||
href="https://github.com/xixu-me/Xget for Chromium"
|
||||
target="_blank"
|
||||
class="link-item"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user