E-Hentai Show Filenames

Shows filenames under images in galleries

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

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 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        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);
    });

});