gelbooru click

click image to view in same tab

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         gelbooru click
// @namespace    wololo
// @version      0.2
// @description  click image to view in same tab
// @author       sanitysama
// @match        *://gelbooru.com/index.php?page=post*
// @match        *://danbooru.donmai.us/posts/*
// @match        *://chan.sankakucomplex.com/post/show/*
// @match        *://safebooru.org/index.php?page=post*
// @match        *://rule34.xxx/index.php?page=post*
// @match        *://safebooru.donmai.us/posts/*
// @match        *://booru.allthefallen.moe/posts/*
// @match        *://e621.net/posts/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @run-at       document-end
// @grant        none
// ==/UserScript==

(function() {
    $('#image').attr('onClick', 'window.location.assign(this.src)');
})();