OneDrive Shared Folder - Bulk Image Downloader

Bulk download all images from a OneDrive shared folder link (optionally recursive).

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
sharmanhall
今日安裝
0
安裝總數
0
評價
0 0 0
版本
1.0.1
建立日期
2025-12-16
更新日期
2025-12-16
尺寸
15.1 KB
授權條款
MIT
腳本執行於

OneDrive Shared Folder – Bulk Image Downloader

Bulk-download all images from a shared OneDrive folder link (onedrive.live.com or 1drv.ms) with one click.

Screenshot of the script UI working

This userscript adds a small control panel to the OneDrive page so you can:

  • Auto-detect the current share link (or paste one in)
  • Scan the folder for images
  • Download everything in bulk
  • Optionally recurse subfolders
  • Control download concurrency to avoid throttling

✅ Features

  • Works on shared OneDrive folders
  • Bulk download all image files
    • Downloads common formats: JPG/JPEG, PNG, GIF, WEBP, BMP, TIFF, SVG, HEIC/HEIF, AVIF
  • Recursive mode
    • When enabled, the script will also scan and download images inside subfolders
  • Safe filenames
    • Sanitizes filenames for Windows/macOS compatibility
    • Adds a uniqueness suffix when two files would otherwise collide
  • Concurrency control
    • Choose how many simultaneous downloads to run (helps speed vs. throttling balance)
  • Live status logging
    • Shows progress, counts, and failures in the built-in status panel

🧰 How to Use

  1. Install Tampermonkey (or a compatible userscript manager)
  2. Install this script
  3. Open the shared OneDrive folder link
  4. Click Start downloading
  5. If your browser asks to allow multiple downloads, click Allow

⚙️ Options

  • Shared link
    • Auto-filled from the current page (you can paste a different share link if needed)
  • Recurse subfolders
    • ON = include subfolders
    • OFF = only current folder
  • Concurrency
    • Higher = faster, but may increase throttling / failures
    • Lower = steadier, usually more reliable

🔐 Permissions / Notes

  • The script uses OneDrive’s shared-item API to list files and then downloads image items directly.
  • Most browsers will prompt for permission when a site triggers multiple downloads — this is normal.
  • This script is intended for folders you already have access to via a share link.

🧾 Changelog

1.0.1

  • Added direct update URL for the script

1.0.0

  • Initial release: bulk image downloading + recursive scan + concurrency + live log panel