Quick-load Dreamwidth comment pages

Loads top comments from all pages and threads in any Dreamwidth post into a single page

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

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

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!)

Autor
rallamajoop
Denně instalací
0
Celkem instalací
38
Hodnocení
0 0 0
Verze
1.11
Vytvořeno
26. 09. 2022
Aktualizováno
28. 09. 2022
Size
4,5 KB
Licence
MIT
Spustit na

For Dreamwidth posts with multiple pages, this makes it possible to load the top comments of each thread on all pages into one page. Useful for anyone who wants to scan quickly through multiple pages or run text search for particular keywords in one place, without having to separately click and load each individual page of comments.

By default*, the script runs only when the user has selected the 'Top-Level Comments only' link on any DW post (or added ?view=top-only to the URL, to the same effect). Later pages of comments will be added to the bottom of the page as they're loaded in sequential order, and may take some time to complete on larger posts.

Full threads can be accessed as normal by clicking on the 'Thread' links ‒ though I'd recommend opening threads in new tabs so you don't need to load the whole post more than once. 'Show all comments' links will work as normal on the first page, but will be broken on pages after that, as making them work proved too complicated (I've left the text indicating how many replies there are, but disabled the non-working links).


(* If you know what you're doing, of course, you could easily modify the script to load threaded or flat-view comments in the same format, but loading times are going to get ridiculous pretty quickly that way, and threads are still not guaranteed to behave on later pages.)