სურათის ჩასმის უნივერსალური მხარდაჭერა

საშუალებას გაძლევთ სურათები პირდაპირ ჩასვათ ფაილის ატვირთვის ველებში სხვადასხვა საიტზე.

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

ავტორი
Murasame-chan
დღიური ინსტალაციები
1
მთლიანი ინსტალაციები
1
რეიტინგი
0 0 0
ვერსია
1.0.0
შექმნილია
27.05.2026
განახლებულია
27.05.2026
Size
11,3 KB
ლიცენზია
MIT
გამოყენებს მათ
ყველა საიტი

Feature Description

This script enables file upload fields on web pages to support direct pasting of images from the clipboard.

After you have copied an image or taken a screenshot, simply press Ctrl + V / Cmd + V on any website that supports file uploads; the script will attempt to automatically insert the image from your clipboard into the page's <input type="file"> upload control.

Usage Instructions

  1. Install and enable the script.
  2. Open any website that contains a file upload control.
  3. Copy an image, or use your system's screenshot tool to capture an image to the clipboard.
  4. Press Ctrl + V / Cmd + V while on the web page.
  5. If an available file upload field exists on the page, the image will be automatically inserted into the upload control.

Matching Logic

The script searches for the target upload control in the following order:

  1. The currently focused file upload field.
  2. The first visible file upload field found on the page.
  3. If no visible upload fields are found, the first hidden upload field found on the page is used as a fallback.

Once the image has been inserted, the script triggers a change event, allowing the website's own upload logic to detect the file change.

Privacy Statement

The script itself does not actively upload, transmit, or store any image data.

It only reads the image currently held in your clipboard when you perform a paste action, and then hands that image over to the file upload control within the current web page. Whether or not the image is subsequently uploaded depends entirely on the target website's own upload logic.

Important Notes

  • Only processes image content found in the clipboard.
  • Does not interfere with the pasting of ordinary text.
  • Primarily designed for websites that utilize standard <input type="file"> elements.
  • May not function correctly on websites using entirely custom upload components, cross-origin iframes, specialized editors, or those that intercept paste events.
  • The script outputs debugging logs to the browser's developer console to assist in troubleshooting issues related to pasting and upload control matching.

Applicable Scenarios

  • Directly pasting screenshots when posting on forums.
  • Quickly uploading images within online customer support interfaces or ticketing systems.
  • Rapidly adding images to Markdown editors, blog administration dashboards, or image hosting pages.
  • Any scenario requiring the frequent uploading of clipboard images to a web page.