EH移动优化

仅自用

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         EH移动优化
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  仅自用
// @author       HTT
// @license      MIT
// @match        https://e-hentai.org/
// @match        https://e-hentai.org/?page=*
// @match        https://e-hentai.org/?f_search=*
// @match        https://e-hentai.org/tag/*
// @match        https://e-hentai.org/uploader*
// @match        https://e-hentai.org/watched
// @match        https://e-hentai.org/popular
// @match        https://exhentai.org/
// @match        https://exhentai.org/?page=*
// @match        https://exhentai.org/?f_search=*
// @match        https://exhentai.org/tag/*
// @match        https://exhentai.org/uploader*
// @match        https://exhentai.org/watched
// @match        https://exhentai.org/popular
// @icon         https://www.google.com/s2/favicons?domain=exhentai.org
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
for(var i = 0;i < 26;i++){
    document.getElementsByClassName("glhide").item(i).style.display = 'none';
}

for(var i = 0;i < 25;i++){
    document.getElementsByClassName("gl3c glname").item(i).height = 90;
    document.getElementsByClassName("glink").item(i).style.fontSize = "28px";
    document.getElementsByClassName("gl3c glname").item(0).children[0].target = "_blank";
}

for(var i = 0;i<document.getElementsByClassName("gt").length;i++){
    document.getElementsByClassName("gt").item(i).style.fontSize = "22px";
}
    // Your code here...
})();