Confirm and Upload - Imgur

Auto clicks on the Confirm and Upload button on Imgur.

ติดตั้งสคริปต์นี้?
สคริปต์ที่แนะนำของผู้เขียน

คุณอาจชื่นชอบ Auto Set Youtube Volume

ติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

// ==UserScript==
// @name         Confirm and Upload - Imgur
// @namespace    ConfirmandUpload
// @version      5
// @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://update.greasyfork.org/scripts/519092/arrivejs%20%28Latest%29.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
})();