您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Dodatkowy przycisk ułatwiający szybką konwersję gifów lub obrazków do postaci gfycatów
// ==UserScript== // @name Gfycator 500+ // @version 1.0 // @description Dodatkowy przycisk ułatwiający szybką konwersję gifów lub obrazków do postaci gfycatów // @author tRNA // @license GNU AGPLv3 // @match http://*.wykop.pl/* // @namespace https://gf.qytechs.cn/pl/users/56863 // @grant none // ==/UserScript== $(document).ready(function() { function Main() { $("#ButtonGfycat").remove(); $(".nospace").find(".selectUrl").find("p").find("a").after('<button id="ButtonGfycat" type="button" class="button" tabindex="2"><i id="loading" class="fa fa-spinner fa-spin" style="display: none"></i>Gfycatuj</button>'); document.getElementById('ButtonGfycat').onclick = function() { $("#loading").show(); var SingleValues = $("input[name='url']").val(); var StatusResponse; $.getJSON('http://upload.gfycat.com/transcode?fetchUrl=' + SingleValues, function(jd) { if (jd.error !== undefined) { StatusResponse = 'Błąd: ' + jd.error; } else { StatusResponse = 'https://gfycat.com/' + jd.gfyname; } $("input[name='url']").val(StatusResponse); $("#loading").hide(); }); }; } function ClickEvent() { $("fieldset.row.buttons.dnone").on("click", "a.button.openAddMediaOverlay", function(e) { setTimeout(Main, 10); }); } $("div.row.elements.actions").on("click", " a.affect.btnReply", function(e) { setTimeout(ClickEvent, 10); }); $("fieldset.row.buttons.dnone").on("click", "a.button.openAddMediaOverlay", function(e) { setTimeout(Main, 10); }); $(document).ajaxComplete(function() { $("div.row.elements.actions").on("click", " a.affect.btnReply", function(e) { setTimeout(ClickEvent, 10); }); }); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址