Universal Image Uploader

Paste/drag/select images, batch upload to Imgur; auto-copy Markdown/HTML/BBCode/link; site button integration with SPA observer; local history.

2025-10-22 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

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 or Violentmonkey 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!)

ئاپتورى
Pipecraft
باھا نومۇرى
0 0 0
نەشرى
0.1.1
قۇرۇلغان ۋاقتى
2025-10-22
يېڭىلانغان ۋاقتى
2025-10-22
Size
38.3 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Universal Image Uploader

A user script that lets you paste, drag, or select images and batch-upload them to Imgur, then auto-copy the result in Markdown/HTML/BBCode/plain link. It also integrates configurable site buttons (works with SPA pages) and keeps a local upload history for quick reuse.

中文版

screencapture

screencapture

screencapture

screencapture

screencapture

screencapture

Features (MVP)

  • 📥 Paste, drag-and-drop, or file picker to collect images
  • 📤 Batch upload to Imgur with progress display
  • 📋 Auto-copy output in Markdown / HTML / BBCode / Link
  • 🕘 Local history to quickly re-copy and reuse uploads
  • 🔘 Optional site button injection with SPA observer (per-site settings)

Installation

Prerequisites

Install one of the following user script managers:

Install Script

  1. Click here to install the script from GitHub
  2. Click here to install the script from Greasy Fork

Usage

  • Open any site, paste or drop images onto the page, or use the panel’s file picker
  • Watch the upload queue and progress
  • When finished, the script auto-copies based on your selected format
  • Use history to quickly copy past uploads

Output Formats

  • Markdown: ![alt](url)
  • HTML: <img src="url" alt="alt" />
  • BBCode: [img]url[/img]
  • Link: url

Configuration

  • Per-site output format: remember Markdown / HTML / BBCode / Link
  • Per-site button injection (optional): selector, position (before | inside | after), text

Site Button Settings

  • Open the panel and switch to "Settings".
  • Enter a CSS selector for the target element (e.g., .comment-screenshot-control).
  • Choose position: Before inserts before, After inserts after, Inside appends as the last child.
  • Set button content: plain text or a single-root HTML snippet. Leaving it empty uses the localized default.
  • Click Save & Insert to persist the rule locally and inject immediately. A DOM observer keeps it inserted on SPA pages.
  • Use Remove button (temporary) to clear injected buttons without deleting rules.
  • Use Clear settings to remove all saved rules.
  • Each rule in the list supports Edit and Delete.
  • Tips: prefer stable, unique selectors to avoid multiple insertions.

Roadmap (Planned / Not Yet Implemented)

  • 🌐 Multi-provider uploads: SM.MS, Cloudflare Images, self-hosted S3/MinIO
  • 🛠 Image processing options: quality, resize, compression, format (JPEG/PNG/WebP), EXIF removal
  • 📦 Queue controls: concurrency slider, retry/backoff, cancel/pause
  • 🧩 Template system: fully customizable output formats and HTML snippets
  • 🗂 History enhancements: filters by time/provider/tags, batch copy, faster reuse

Changelog

  • v0.1.0 — Initial MVP: Imgur upload, batch & progress, auto-copy (Markdown/HTML/BBCode/Link), local history, SPA-aware button injection

More Useful Scripts

Here are some other useful scripts that can enhance your browsing experience:

🏷️ UTags - Add User Tags to Links

  • Link: Greasy Fork
  • Features: Add custom tags and notes to user, post, video and other links
  • Highlights: Support special tag filtering (like spam, block, clickbait, etc.), data export/import, auto-mark viewed posts
  • Supported Sites: V2EX, X(Twitter), Reddit, GitHub, Bilibili, Zhihu, Linux.do, Youtube and 50+ websites
  • Description: Super useful tag management tool for adding tags to forum users or posts, making it easy to identify or block low-quality content

🔗 Links Helper

  • Link: Greasy Fork
  • Features: Open third-party website links in new tabs, parse text links into hyperlinks
  • Highlights: Support custom rules, parse Markdown and BBCode formats, convert image links to image tags
  • Supported Sites: Universal for all websites, including Google, YouTube, GitHub, V2EX, etc.
  • Description: Enhance link browsing experience, automatically process various link formats for more convenient web browsing

🔍 Find Scripts For This Site

  • Link: Greasy Fork
  • Features: Quickly find user scripts for the current website
  • Highlights: Support for multiple popular script repositories, easy discovery of useful scripts
  • Supported Sites: Works on any website to find relevant userscripts
  • Description: A convenient tool to discover and install userscripts specifically designed for the websites you visit

License

MIT License - see the LICENSE file for details.

Related Links