您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Just open the image - 2/5/2022, 11:54:53 AM
// ==UserScript== // @name Better imgbase.ru // @namespace Violentmonkey Scripts // @match https://imgbase.ru/* // @grant none // @version 1.0.1 // @author - // @description Just open the image - 2/5/2022, 11:54:53 AM // ==/UserScript== href = window.location.href segments = href.split('/') if((segments.length == 6) && (segments[segments.length - 1] == "")) { window.location = href + "1/" } if((segments.length == 7) && (segments[segments.length - 2] == "1") && (segments[segments.length - 1] == "")) { var intervalID function go() { img = document.querySelector("div#img_full > img") if(img !== null) { clearInterval(intervalID) window.location = img.src } } intervalID = setInterval(go, 100) }