Greasy Fork is available in English.

Universal Image Paste to Upload

Paste an image from your clipboard directly into the first available file upload input on the page.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
AnnaRoblox
Günlük kurulumlar
0
Toplam kurulumlar
0
Değerlendirmeler
0 0 0
Versiyon
1.0
Oluşturulma
18.12.2025
Güncellenme
18.12.2025
Boyut
2,52 KB
Lisans
MIT
Geçerli
Tüm siteler

How it works
1 Clipboard Detection: It checks event.clipboardData for any item with a MIME type starting with image/.

2 The DataTransfer Object: You can't just set input.value = "path/to/file" for security reasons. Instead, we use the DataTransfer API to simulate a file being dropped onto the input.

3 Smart Targeting: The script looks for all elements. It tries to find one that is visible (width and height > 0) so it doesn't accidentally dump the image into a hidden background field.

4 Event Dispatching: After attaching the file, it manually triggers the change event. This is crucial because many sites (like Discord or GitHub) wait for that event to start the upload process.