您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
click image to view in same tab on most popular boorus
// ==UserScript== // @name gelbooru click image to view in same tab // @namespace wololo // @version 0.1 // @description click image to view in same tab on most popular boorus // @author sanitysama // @include *://gelbooru.com/index.php?page=post* // @include *://danbooru.donmai.us/posts/* // @include *://e621.net/posts/* // @include *://chan.sankakucomplex.com/post/show/* // @include *://safebooru.org/index.php?page=post* // @include *://rule34.xxx/index.php?page=post* // @include *://safebooru.donmai.us/posts/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @require https://code.jquery.com/jquery-3.6.0.min.js // @run-at document-end // @grant none // ==/UserScript== (function() { 'use strict'; var a = $('#image:nth-of-type(1)').attr('src'); $('#image:nth-of-type(1)').wrap('<a href="' + a +'"></a>'); })();