Revert "Rename extension references to Chromium"

This reverts commit ef7aca33f7.
This commit is contained in:
xixu-me committed 2025-07-18 20:04:44 +08:00
1 parent ef7aca33f7
commit d24429fdfa
10 files changed
+31 -21

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ body:
id: version id: version
attributes: attributes:
label: Extension Version label: Extension Version
description: What version of Xget for Chromium are you using? description: What version of Xget for Chrome are you using?
placeholder: "1.0.0" placeholder: "1.0.0"
validations: validations:
required: true required: true
+1 -1
View File
@@ -6,7 +6,7 @@ body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
Have a question about Xget for Chromium? We're here to help! Have a question about Xget for Chrome? We're here to help!
- type: dropdown - type: dropdown
id: category id: category
+2 -2
View File
@@ -172,7 +172,7 @@ jobs:
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
tag_name: v${{ steps.version.outputs.version }} tag_name: v${{ steps.version.outputs.version }}
name: Xget for Chromium ${{ steps.version.outputs.version }} name: Xget for Chrome ${{ steps.version.outputs.version }}
files: | files: |
chrome-extension.zip chrome-extension.zip
edge-extension.zip edge-extension.zip
@@ -221,7 +221,7 @@ jobs:
- name: 通知成功 - name: 通知成功
run: | run: |
echo "🎉 成功发布 Xget for Chromium ${{ steps.version.outputs.version }} 到多个商店!" echo "🎉 成功发布 Xget for Chrome ${{ steps.version.outputs.version }} 到多个商店!"
echo "🔗 Chrome 网上应用店: https://chrome.google.com/webstore/detail/${{ secrets.CHROME_EXTENSION_ID }}" echo "🔗 Chrome 网上应用店: https://chrome.google.com/webstore/detail/${{ secrets.CHROME_EXTENSION_ID }}"
echo "🔗 Microsoft Edge 加载项: 查看发布页面获取手动安装文件" echo "🔗 Microsoft Edge 加载项: 查看发布页面获取手动安装文件"
echo "📦 GitHub 发布: https://github.com/${{ github.repository }}/releases/tag/v${{ steps.version.outputs.version }}" echo "📦 GitHub 发布: https://github.com/${{ github.repository }}/releases/tag/v${{ steps.version.outputs.version }}"
+2 -2
View File
@@ -4,13 +4,13 @@
## 概述 ## 概述
Xget for Chromium 是一个开源浏览器扩展,旨在通过 Xget 代理服务重定向下载链接来加速 GitHub、GitLab 和 Hugging Face 的下载。我们承诺保护您的隐私并确保数据处理的透明度。 Xget for Chrome 是一个开源浏览器扩展,旨在通过 Xget 代理服务重定向下载链接来加速 GitHub、GitLab 和 Hugging Face 的下载。我们承诺保护您的隐私并确保数据处理的透明度。
## 我们的隐私承诺 ## 我们的隐私承诺
**我们不收集、存储或传输您的个人数据。** **我们不收集、存储或传输您的个人数据。**
Xget for Chromium 扩展遵循“隐私优先”的设计原则,所有处理都在您的浏览器本地进行。 Xget for Chrome 扩展遵循“隐私优先”的设计原则,所有处理都在您的浏览器本地进行。
## 收集的信息 ## 收集的信息
+2 -2
View File
@@ -1,4 +1,4 @@
# Xget for Chromium # Xget for Chrome
一个强大的 Chromium 浏览器扩展,通过自动将下载重定向到 [Xget](https://github.com/xixu-me/Xget) 代理服务,从而加速 GitHub、GitLab 和 Hugging Face 的下载。 一个强大的 Chromium 浏览器扩展,通过自动将下载重定向到 [Xget](https://github.com/xixu-me/Xget) 代理服务,从而加速 GitHub、GitLab 和 Hugging Face 的下载。
@@ -209,7 +209,7 @@ Xget 是基于 Cloudflare Workers 构建的高性能、安全的代理服务,
启用 Chrome 开发者工具并检查控制台选项卡中的调试消息: 启用 Chrome 开发者工具并检查控制台选项卡中的调试消息:
- 扩展加载:「Xget for Chromium:内容脚本已加载」 - 扩展加载:「Xget for Chrome:内容脚本已加载」
- 下载重定向:「重定向下载:[原始] -> [xget]」 - 下载重定向:「重定向下载:[原始] -> [xget]」
- 设置更改:「设置已更新!点击刷新页面」 - 设置更改:「设置已更新!点击刷新页面」
+3 -3
View File
@@ -2,7 +2,7 @@
## 支持的版本 ## 支持的版本
我们积极支持 Xget for Chromium 的最新版本。为以下版本提供安全更新: 我们积极支持 Xget for Chrome 的最新版本。为以下版本提供安全更新:
| 版本 | 支持状态 | | 版本 | 支持状态 |
| ------- | ------------------ | | ------- | ------------------ |
@@ -10,7 +10,7 @@
## 报告漏洞 ## 报告漏洞
如果你在 Xget for Chromium 中发现安全漏洞,请负责任地报告: 如果你在 Xget for Chrome 中发现安全漏洞,请负责任地报告:
### 如何报告 ### 如何报告
@@ -63,4 +63,4 @@
- 更新时审查权限 - 更新时审查权限
- 报告可疑行为 - 报告可疑行为
感谢你帮助保持 Xget for Chromium 的安全! 感谢你帮助保持 Xget for Chrome 的安全!
+1 -1
View File
@@ -33,7 +33,7 @@ const DEFAULT_SETTINGS = {
// 初始化扩展 // 初始化扩展
chrome.runtime.onInstalled.addListener(async () => { chrome.runtime.onInstalled.addListener(async () => {
console.log("Xget for Chromium 已安装"); console.log("Xget for Chrome 已安装");
// 如果尚未设置,则设置默认设置 // 如果尚未设置,则设置默认设置
const settings = await chrome.storage.sync.get(DEFAULT_SETTINGS); const settings = await chrome.storage.sync.get(DEFAULT_SETTINGS);
+1 -1
View File
@@ -21,7 +21,7 @@ const PLATFORMS = {
// 初始化内容脚本 // 初始化内容脚本
(async function () { (async function () {
console.log("Xget for Chromium:内容脚本已加载"); console.log("Xget for Chrome:内容脚本已加载");
// 监听来自后台脚本的消息 // 监听来自后台脚本的消息
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => { chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
+16 -6
View File
@@ -7,14 +7,16 @@
"128": "icons/icon128.png" "128": "icons/icon128.png"
}, },
"default_popup": "popup.html", "default_popup": "popup.html",
"default_title": "Xget for Chromium" "default_title": "Xget for Chrome"
}, },
"background": { "background": {
"service_worker": "background.js" "service_worker": "background.js"
}, },
"content_scripts": [ "content_scripts": [
{ {
"js": ["content.js"], "js": [
"content.js"
],
"matches": [ "matches": [
"https://github.com/*", "https://github.com/*",
"https://gitlab.com/*", "https://gitlab.com/*",
@@ -36,13 +38,21 @@
"128": "icons/icon128.png" "128": "icons/icon128.png"
}, },
"manifest_version": 3, "manifest_version": 3,
"name": "Xget for Chromium", "name": "Xget for Chrome",
"permissions": ["downloads", "storage", "activeTab"], "permissions": [
"downloads",
"storage",
"activeTab"
],
"version": "1.2.0", "version": "1.2.0",
"web_accessible_resources": [ "web_accessible_resources": [
{ {
"matches": ["<all_urls>"], "matches": [
"resources": ["icons/*"] "<all_urls>"
],
"resources": [
"icons/*"
]
} }
] ]
} }
+2 -2
View File
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Xget for Chromium</title> <title>Xget for Chrome</title>
<style> <style>
body { body {
width: 380px; width: 380px;
@@ -211,7 +211,7 @@
</head> </head>
<body> <body>
<div class="header"> <div class="header">
<h1>Xget for Chromium</h1> <h1>Xget for Chrome</h1>
<div class="subtitle">下载加速器</div> <div class="subtitle">下载加速器</div>
</div> </div>