forked from tastytea/userscripts
Goodreads expand: Expand book details too.
This commit is contained in:
parent
5f5cc9257a
commit
c555e69ad1
|
@ -1,10 +1,10 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Goodreads expand
|
// @name Goodreads expand
|
||||||
// @description Show the whole description / author information on goodreads.com.
|
// @description Show the whole description / author information / book details on goodreads.com.
|
||||||
// @description:de Zeige die ganze beschreibung / author·inneninformation auf goodreads.com an.
|
// @description:de Zeige die ganze beschreibung / author·inneninformation / buchdetails auf goodreads.com an.
|
||||||
// @version 2020.08.18.1
|
// @version 2021.04.20.1
|
||||||
// @author tastytea
|
// @author tastytea
|
||||||
// @copyright 2020, tastytea (https://tastytea.de/)
|
// @copyright 2020, 2021, tastytea (https://tastytea.de/)
|
||||||
// @license GPL-3.0-only
|
// @license GPL-3.0-only
|
||||||
// @namespace tastytea.de
|
// @namespace tastytea.de
|
||||||
// @homepageURL https://schlomp.space/tastytea/userscripts
|
// @homepageURL https://schlomp.space/tastytea/userscripts
|
||||||
|
@ -39,4 +39,11 @@
|
||||||
const links = root.getElementsByTagName("a");
|
const links = root.getElementsByTagName("a");
|
||||||
links[links.length - 1].text = "(less)";
|
links[links.length - 1].text = "(less)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bookdata = document.getElementById("bookDataBox");
|
||||||
|
if (bookdata !== null)
|
||||||
|
{
|
||||||
|
bookdata.setAttribute("style", "display: block;");
|
||||||
|
document.getElementById("bookDataBoxShow").setAttribute("style", "display: none;");
|
||||||
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user