您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically clicks the convert button after you upload an image to ezgif to convert
当前为
- // ==UserScript==
- // @name Auto Convert after upload on ezgif
- // @namespace https://github.com/AbdurazaaqMohammed
- // @version 1.0.1
- // @author Abdurazaaq Mohammed
- // @description Automatically clicks the convert button after you upload an image to ezgif to convert
- // @match https://ezgif.com/*/*.*
- // @grant none
- // @homepage https://github.com/AbdurazaaqMohammed/userscripts
- // @license The Unlicense
- // @supportURL https://github.com/AbdurazaaqMohammed/userscripts/issues
- // ==/UserScript==
- (function() {
- 'use strict';
- const form = document.querySelector(".primary.button"); //submit button
- if(form) {
- if(!document.querySelector("#output").querySelector('img')) { //check if the result image is there. The convert button remains after converting so we can't just check for that
- form.click();
- }
- }
- })();