GitHub Downloader

在 GitHub 代码页面添加下载功能,支持选择性下载文件和目录为 ZIP 格式,支持递归下载子目录,以及可拖拽的智能按钮交互

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Penn Hui
Daily installs
2
Total installs
3
Ratings
0 0 0
Version
1.1
Created
2026-02-10
Updated
2026-02-10
Size
71.9 KB
License
MIT
Applies to

基于lly-ke的脚本GitHub 仓库下载器进行二次开发,新增智能按钮交互系统。

智能按钮交互支持:

  • 拖拽移动 - 按住按钮拖动到屏幕任意位置
  • 边缘吸附 - 距离左右边缘 ≤ 20px 时自动吸附对齐
  • 自动半隐藏 - 停靠后延迟 400ms 自动隐藏 50%,悬停时立即展开
  • 智能面板定位 - 根据按钮位置自动选择最佳展开方向(四方向)
  • 状态持久化 - 保存按钮位置、停靠状态、用户偏好设置
  • 窗口响应式 - 窗口大小变化时自动检查按钮位置有效性
  • 用户控制菜单 - 通过右键菜单提供重置位置、切换设置等功能

简单演示

自动半隐藏效果

自动半隐藏

智能面板展开效果

智能展开面板