Bluesky Image/Video Download Button

Adds a download button to Bluesky images and videos.

目前為 2025-12-26 提交的版本,檢視 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
KanashiiWolfthe-nelsonator
評價
0 0 0
版本
2.1.0
建立日期
2024-10-18
更新日期
2025-12-26
尺寸
24.8 KB
授權條款
MIT
腳本執行於

IMPORTANT NOTE: the script does not work with Greasemonkey, please use Tampermonkey or Violentmonkey. Also, if you wish to have a Save As dialog box pop up, you need to adjust that in your own browser.

This script is a modification to coredumperror's Bluesky Image Downloader: https://greasyfork.org/en/scripts/495794-bluesky-image-downloader

The main three five changes:

  1. The filename template can be altered on the fly on the page (look at the Bluesky settings page and click "Filenaming" then press enter to submit the changes).
  2. Changed from a full page scan every 300ms to using MutationObservers to reduce redundant scans and CPU load.
  3. Adds video support.
  4. Marks downloaded media with a green checkmark.
  5. Adds a download all button (which also becomes a green checkmark when all media is downloaded).

/** Edit filename_template to change the file name format: *

  • <%uname> Bluesky short username eg: oh8
  • <%username> Bluesky full username eg: oh8.bsky.social
  • <%post_id> Post ID eg: 3krmccyl4722w
  • <%post_time> Post timestamp eg: 1715347800000 (Time when post was made)
  • <%timestamp> Current timestamp eg: 1550557810891 (Time when downloaded)
  • <%img_num> Image number within post eg: 0, 1, 2, or 3
  • <%title> ALT text *
  • default: "@<%uname>-<%post_id>-<%img_num>"
  • result: "oh8 3krmccyl4722w_p0.jpg"
  • Could end in .png or any other image file extension,
  • as the script downloads the original image from Bluesky's API. *
  • example: "<%username> <%timestamp> <%post_id>_p<%image_num>"
  • result: "oh8.bsky.social 1716298367 3krmccyl4722w_p1.jpg"
  • This will make it so the images are sorted in the order in
  • which you downloaded them, instead of the order in which
  • they were posted. */