E-Hentai Show Filenames

Shows filenames under images in galleries

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

You will need to install an extension such as Tampermonkey to install this 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        E-Hentai Show Filenames
// @description Shows filenames under images in galleries 
// @author      sanitysama
// @namespace   95.211.209.53-e85f8079-b847-455f-b080-8467e2977711@sanitysama
// @include     https://exhentai.org/g/*/*/*
// @include     https://e-hentai.org/g/*/*/*
// @description Shows filenames under images in galleries
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js
// @version     1.1.1
// ==/UserScript==

// This script is from:
// https://userscripts-mirror.org/scripts/show/171622

$(document).ready(function() {

    $('.gdtl').attr('style','height: 327px');
    $('.gdtl a').attr('style','word-wrap: break-word').each(function() {
        var fn = $(this).find('img').map(function() {
            return this.title;
        }).get();
        $(this).append(' - ' + fn);
    });

});