Confirm and Upload - Imgur

Auto clicks on the Confirm and Upload button on Imgur.

Versione datata 06/06/2024. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Confirm and Upload - Imgur
// @namespace    ConfirmandUpload
// @version      4
// @description  Auto clicks on the Confirm and Upload button on Imgur.
// @author       hacker09
// @match        https://imgur.com/*
// @icon         https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://imgur.com/upload&size=64
// @require      https://greasyfork.org/scripts/21927-arrive-js/code/arrivejs.js
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  document.arrive('.TosConfirmationDialog-confirm--do', (async function() { //Creates a new async function
    document.querySelector('.TosConfirmationDialog-confirm--do').click(); //Click on the Confirm and Upload button
    Arrive.unbindAllArrive(); //Remove the advent listener arrive for better page performance
  })); //Finishes the async function
})();