Commit Graph
75 Commits
Author SHA1 Message Date
xixu-me 1f74a391b7 Add URL converter link to popup menu
A new link to the URL converter (https://xuc.xi-xu.me/) has been added to the popup menu for easier access.
2025-08-19 18:56:54 +08:00
xixu-me a57fddb857 Merge pull request #10 from xixu-me/dependabot/github_actions/github-actions-a331d3ec2d
actions(deps): bump actions/checkout from 4 to 5 in the github-actions group
2025-08-18 21:53:50 +08:00
dependabot[bot] f9abababdb actions(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:53:05 +00:00
GitHub Action 92f9326bb9 chore: 更新版本到 2.0.2 [skip ci] v2.0.2 2025-08-13 12:34:22 +00:00
xixu-me e80768c70a Merge pull request #7 from xixu-me/dependabot/github_actions/github-actions-cd7291ea65
actions(deps): bump actions/setup-python from 4 to 5 in the github-actions group
2025-08-11 23:24:08 +08:00
dependabot[bot] be6539c2c2 actions(deps): bump actions/setup-python in the github-actions group
Bumps the github-actions group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).


Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 15:23:22 +00:00
GitHub Action 011d269446 chore: 更新版本到 2.0.1 [skip ci] 2025-08-11 05:16:14 +00:00
xixu-me 06a503eab0 Improve WebExtension API compatibility and error handling
Adds robust error handling for missing or inaccessible WebExtension APIs, including safe fallbacks for runtime, tabs, and downloads. Enhances sendMessage wrappers for both runtime and tabs to handle various argument patterns and errors gracefully. Exports the compatibility layer in more environments (window, self, global) and logs the environment where it is loaded. This improves reliability in diverse extension contexts and non-browser environments.
2025-08-10 20:18:56 +08:00
xixu-me 77e525b64e Add Edge extension link to README
Included a link to the Microsoft Edge add-on for Xget in the list of places to leave a review.
2025-08-10 19:19:09 +08:00
xixu-me 77198bcb62 Remove benchmark section from README
The benchmark table and related notes have been removed from the documentation, possibly to avoid outdated or location-dependent performance claims.
2025-08-10 19:14:42 +08:00
xixu-me 796d50182e Add Firefox support and update cross-browser documentation
Expanded extension support to include Firefox alongside Chromium browsers. Updated README with detailed installation, build, and troubleshooting instructions for both Chromium and Firefox, clarified browser compatibility, and improved cross-browser guidance throughout code comments and documentation. Minor terminology changes were made in scripts and workflow files to consistently refer to 'Chromium' instead of 'Chrome/Chromium'.
2025-08-10 19:12:03 +08:00
xixu-me 95bb7d56f9 Refactor and document build, dev, and extension scripts
Added detailed docstrings and comments to Python build and dev scripts, improving maintainability and clarity. Enhanced JavaScript files (background.js, content.js, popup.js, platform-detector.js, webext-compat.js) with module-level and function-level documentation. Standardized package naming in build.py and updated the GitHub Actions workflow for simplified, platform-agnostic publishing, removing platform selection input and automating release steps for Chrome, Edge, and Firefox. Improved code quality checks and test coverage in dev.py.
2025-08-10 18:43:32 +08:00
xixu-me 3019487608 Simplify release workflow and remove Firefox notes
Removed detailed Firefox-specific release notes and manual Firefox publishing reminders from the GitHub Actions workflow. The release step now relies on auto-generated release notes, streamlining the publishing process for multi-browser support.
2025-08-10 14:09:03 +08:00
xixu-me 74759cae4f Update Firefox extension ID in manifest
Changed the gecko extension ID from 'xget-now@xixu.me' to 'i@xi-xu.me' and removed the deprecated 'applications' field. This aligns the manifest with current Firefox extension manifest standards.
2025-08-10 14:06:04 +08:00
GitHub Action d56ff757ea chore: 更新版本到 2.0.0 [skip ci] 2025-08-10 05:52:24 +00:00
xixu-me 8babb688a6 Merge pull request #6 from xixu-me/alert-autofix-4
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
2025-08-10 13:50:24 +08:00
xixu-meandCopilot Autofix powered by AI 4e8f821de4 Potential fix for code scanning alert no. 4: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-10 13:48:05 +08:00
xixu-me 130eec751f Add Firefox support and cross-browser compatibility layer
This update introduces full Firefox support using a new manifest-firefox.json (Manifest V2), adds a webext-compat.js compatibility layer for unified API usage, and refactors all extension scripts (background.js, content.js, popup.js) to use the new webext API. The build and development process is automated with new Python scripts (build.py, dev.py), and GitHub Actions workflows are updated to support multi-platform build, test, and release. Platform detection and capability abstraction are added, and all relevant files and manifests are updated for cross-browser compatibility.
2025-08-10 13:44:08 +08:00
xixu-me ad5b3cae72 Refactor download event handling and redirection logic
Prevents multiple registrations of the download listener and refactors the download handling logic to immediately call suggest, then process redirection asynchronously. Improves error handling and notification logic for redirected downloads.
2025-08-10 12:24:44 +08:00
xixu-me ed3a4c0ee3 Prevent multiple suggest calls in handleDownload
Introduces a guard to ensure the suggest callback is only called once in handleDownload, avoiding potential issues from multiple invocations in error or early return scenarios.
2025-08-10 12:12:23 +08:00
xixu-me 367c9fee96 Rename extension from Xget for Chromium to Xget Now
Updated all references, documentation, metadata, and user-facing strings to use the new name 'Xget Now' instead of 'Xget for Chromium'. This includes changes in issue templates, workflow files, privacy and security policies, README, manifest, package.json, popup UI, and code comments/logs. Repository URLs and links have also been updated to reflect the new project name.
2025-08-10 12:06:54 +08:00
GitHub Action d78b231fe9 chore: 更新版本到 2.0.0 [skip ci] 2025-08-08 14:12:53 +00:00
xixu-me 12d2a235bf Add compact style for setting group and label
Introduced 'compact' classes for .setting-group and .setting-label to adjust padding and margin for a more condensed layout. Applied these classes to the extension enable setting for improved UI spacing.
2025-08-08 21:56:37 +08:00
xixu-me 3966bae9c0 Enhance scrollbars and scrolling UX in popup
Improved the appearance and behavior of scrollbars in the .content and .platforms sections with custom styles, smooth scrolling, and auto-hide features. Added JavaScript logic for dynamic scrollbar visibility, visual feedback during scrolling, and keyboard navigation support for better accessibility and user experience.
2025-08-08 21:53:00 +08:00
xixu-me 8b576adbba Improve popup UI with modern styles and status animation
Refactors popup.html with enhanced CSS for a more modern, visually appealing interface, including new color variables, gradients, and interactive effects. Updates status message handling in popup.js to animate hiding with CSS transitions. Also updates some UI text and icons for clarity and consistency.
2025-08-08 21:42:14 +08:00
xixu-me 09e87db44a Add support for 20+ platforms and UI overhaul
Expanded download acceleration support to over 20 platforms including npm, PyPI, Maven, RubyGems, CRAN, SourceForge, arXiv, F-Droid, and more. Refactored platform configuration into a dedicated file, updated content/background scripts for broader detection and redirection, and redesigned the popup UI for categorized platform toggles. Updated manifest, package metadata, and documentation to reflect the new capabilities and version 2.0.0.
2025-08-08 21:17:24 +08:00
xixu-me d37b67c320 Update README.md 2025-07-30 10:10:34 +08:00
xixu-me 9f9a544b00 Update README.md 2025-07-26 07:57:51 +08:00
xixu-me 69cf36da68 Add Crx 搜搜 mirror link to README
Added a new row in the download table with a link to view the extension on Crx 搜搜 as a mirror source.
2025-07-23 20:21:36 +08:00
xixu-me 3183c24ae8 Update license wording in README
Changed the wording from '本项目' (this project) to '本存储库' (this repository) in the license section for improved clarity.
2025-07-21 19:41:57 +08:00
xixu-me 4dbd0ea25f Update installation instructions in README
Clarified the step to download and extract the latest release file before installing the extension in Chromium-based browsers.
2025-07-21 18:11:32 +08:00
xixu-me aba18148a7 Update GitHub Releases link to latest release
Changed the Releases page link in the README to point directly to the latest release for easier access to the most recent extension version.
2025-07-21 18:03:33 +08:00
xixu-me ef4009b913 Simplify extension packaging to a single zip file
Consolidated Chrome and Edge extension packages into a single 'extension.zip' for all Chromium-based browsers. Removed CRX packaging and updated workflow, release notes, and README to reflect the unified distribution method.
2025-07-21 17:59:56 +08:00
xixu-me 5a210a1d0a Update Chrome references in docs and workflow
Replaced 'Chrome 浏览器' with 'Chrome' in both the publish workflow and README for consistency and clarity.
2025-07-21 17:49:24 +08:00
xixu-me 1f154e475d Update Chrome Web Store URLs in docs and workflow
Corrected the Chrome Web Store links in both the README and GitHub Actions workflow to remove the redundant '/xget-for-chrome' path segment. This ensures users are directed to the correct extension page.
2025-07-21 17:47:02 +08:00
xixu-me aba0591c3d Update Chrome Web Store references and links
Renamed all references from 'Chrome 网上应用店' to 'Chrome 应用商店' in workflow and README for consistency. Updated Chrome Web Store and Microsoft Edge Add-ons links to include language and region parameters.
2025-07-21 17:41:23 +08:00
GitHub Action 385e0ab2fa chore: 更新版本到 1.3.0 [skip ci] v1.3.0 2025-07-19 06:53:33 +00:00
xixu-me 18a863a73b Update extension description and manifest formatting
Revised the extension description in both manifest.json and package.json to clarify supported sites and improve user understanding. Also updated manifest.json formatting for consistency and readability.
2025-07-19 14:52:42 +08:00
GitHub Action 2e2dc34dd0 chore: 更新版本到 1.3.0 [skip ci] 2025-07-18 12:14:55 +00:00
xixu-me 599d0c6217 Update GitHub links to Xget-for-Chromium
Replaces all incorrect or broken GitHub URLs referencing 'Xget for Chromium' with the correct 'Xget-for-Chromium' format across documentation, workflow, package.json, and popup.html. This ensures consistency and prevents navigation errors for users and contributors.
2025-07-18 20:13:04 +08:00
xixu-me 37a326486b 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.
2025-07-18 20:09:45 +08:00
xixu-me f3830e66d4 Update privacy policy for Edge support and date
Clarified that extension settings sync applies to both Chrome and Microsoft Edge, and updated the last modified date to 2025-07-18.
2025-07-18 20:07:37 +08:00
xixu-me d24429fdfa Revert "Rename extension references to Chromium"
This reverts commit ef7aca33f7.
2025-07-18 20:04:44 +08:00
xixu-me ef7aca33f7 Rename extension references to Chromium
Updated all documentation, configuration, and code references from 'Xget for Chrome' to 'Xget for Chromium' for consistency with supported browsers. This includes issue templates, workflow files, privacy and security policies, source code logs, manifest, and popup UI.
2025-07-18 20:03:21 +08:00
xixu-me 36e6eea15b Update manual install guide link in workflow
Changed the manual installation guide link in publish-extension.yml to use the correct anchor for installation instructions in Chinese.
2025-07-12 18:23:11 +08:00
xixu-me a4c5a681d5 Merge branch 'main' of https://github.com/xixu-me/Xget-for-Chrome 2025-07-12 18:19:30 +08:00
xixu-me 1c80aedf67 Update publish message formatting in workflow
Removed the 'v' prefix from the version variable in the success notification message to ensure consistent formatting when publishing the Chrome extension.
2025-07-12 18:19:27 +08:00
GitHub Action 337be3e62e chore: 更新版本到 1.2.0 [skip ci] v1.2.0 2025-07-12 10:17:01 +00:00
xixu-me de7b76b150 Localize publish workflow to Chinese
Translated all workflow names, step descriptions, comments, and release notes in .github/workflows/publish-extension.yml from English to Chinese to improve accessibility for Chinese-speaking developers.
2025-07-12 18:16:24 +08:00
xixu-me d37e74e53f Update privacy policy and README wording
Revised PRIVACY_POLICY.md for clarity, transparency, and updated effective date. README.md wording changed from '仓库' to '存储库' for consistency, and other minor language improvements for accuracy and readability.
2025-07-12 10:57:37 +08:00