gelbooru click image to view in same tab

click image to view in same tab on most popular boorus

Verze ze dne 18. 06. 2021. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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>');
})();