Commit Graph
58 Commits
Author SHA1 Message Date
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
xixu-me a1e258a4b8 Localize documentation and extension messages to Chinese
Converted all major documentation files (README, PRIVACY_POLICY, SECURITY, pull request template) to Chinese. Updated extension source files (background.js, content.js, popup.html, popup.js) to use Chinese comments and user-facing messages for improved localization and user experience.
2025-07-12 10:49:56 +08:00
xixu-me 40103d8a05 Update README.md 2025-07-11 22:32:54 +08:00
xixu-me bc0772f292 Update Microsoft Edge Add-ons store link
Changed the Microsoft Edge Add-ons store link in both the workflow and README to reflect the new extension URL.
2025-07-11 19:08:07 +08:00
xixu-me 3094b7970f Update release notes formatting in workflow
Improved the formatting of the release notes in the publish-extension workflow by changing headings to use '##' and removing redundant version references. Also removed the 'Changes' section to streamline the release body.
2025-07-11 18:40:56 +08:00
xixu-me e52c4c3ec6 Add dynamic tag and name to GitHub Release step
The GitHub Release workflow now sets the release tag and name using the extension version output, improving release traceability and automation.
2025-07-11 18:35:55 +08:00
GitHub Action e2615d5ee0 chore: update version to 1.1.0 [skip ci] v1.1.0 2025-07-11 10:27:17 +00:00
xixu-me 2cec4362a8 Switch publish workflow to manual version input
Changed the GitHub Actions workflow to use workflow_dispatch with a required version input instead of triggering on version tags. Added steps to commit and push version updates, create and push tags, and updated release link formatting.
2025-07-11 18:25:48 +08:00
xixu-me 5b215f2aa2 Clarify extension installation instructions
Updated references to Chrome, Microsoft Edge, and Chromium-based browsers in workflow and README to improve clarity. Installation steps and file descriptions now more accurately reflect supported browsers and manual installation options.
2025-07-11 18:20:28 +08:00
xixu-me aa590fcd9a Improve host validation for download link detection
Refactored isDownloadLink to use URL parsing for host checks on GitHub and Hugging Face links, improving accuracy and robustness. Added error handling for invalid URLs and clarified host-specific download patterns.
2025-07-11 17:56:26 +08:00
xixu-me b08a854da6 Merge pull request #3 from xixu-me/alert-autofix-1
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
2025-07-11 17:49:50 +08:00
xixu-meandCopilot Autofix powered by AI 6a8c88930b Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-11 17:49:37 +08:00
xixu-me 417e7bbf07 Merge pull request #2 from xixu-me/alert-autofix-3
Potential fix for code scanning alert no. 3: Incomplete URL substring sanitization
2025-07-11 17:48:28 +08:00
xixu-me 7cf2c55368 Merge pull request #1 from xixu-me/dependabot/github_actions/github-actions-45154b2adb
actions(deps): bump softprops/action-gh-release from 1 to 2 in the github-actions group
2025-07-11 17:47:36 +08:00
xixu-meandCopilot Autofix powered by AI b915e32b6b Potential fix for code scanning alert no. 3: Incomplete URL substring sanitization
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-11 17:46:51 +08:00
dependabot[bot] f3ae0bd279 actions(deps): bump softprops/action-gh-release
Bumps the github-actions group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 09:46:43 +00:00
xixu-me 1bf90efe75 Add Dependabot configuration for npm and Actions
Introduces .github/dependabot.yml to automate dependency updates for npm packages and GitHub Actions. Sets weekly update schedule, groups related dependencies, and assigns/reviews PRs to xixu-me.
2025-07-11 17:46:00 +08:00
xixu-me d1f12eb1a7 Simplify installation instructions and update store links
Streamlined installation steps in README and workflow release notes for clarity. Updated Chrome Web Store and Edge Add-ons links to direct URLs, removed redundant manual installation details, and improved formatting for easier user navigation.
2025-07-11 17:41:55 +08:00