-
Notifications
You must be signed in to change notification settings - Fork 0
/
ehg-exh-thumbnailpanelheight.user.js
44 lines (43 loc) · 1.45 KB
/
ehg-exh-thumbnailpanelheight.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// ==UserScript==
// @name Thumbnail height set
// @namespace dragontamer8740.thumbHeight
// @description changes thumbnail height to allow more text in results. use along with usercontent.css.
// @include http://g.e-hentai.org/*
// @include http://e-hentai.org/*
// @include http://exhentai.org/*
// @include https://g.e-hentai.org/*
// @include https://e-hentai.org/*
// @include https://exhentai.org/*
// @include http://exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/*
// @match http://g.e-hentai.org/*
// @match http://e-hentai.org/*
// @match http://exhentai.org/*
// @match https://g.e-hentai.org/*
// @match https://e-hentai.org/*
// @match https://exhentai.org/*
// @match http://exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/*
// @version 1
// @grant none
// ==/UserScript==
var list=document.querySelectorAll(".id1");
var len=list.length;
var i=0;
while(i<len)
{
var elem=list[i];
elem.setAttribute("style", elem.getAttribute("style").replace("350px","365px"));
i++;
}
/* usercontent.css:
@-moz-document url-prefix(http://exhentai.org/),url-prefix(https://exhentai.org/),url-prefix(http://e-hentai.org/),url-prefix(https://e-hentai.org/)
{
div.id2
{
-moz-appearance: none !important;
max-height: 65px !important;
min-height: 30px !important;
display: table-cell !important;
vertical-align: middle !important;
}
}
*/