Quick-load Dreamwidth comment pages

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

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да инсталирате разширение, като например Tampermonkey .

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

Автор
rallamajoop
Инсталации дневно
0
Инсталации общо
38
Рейтинг
0 0 0
Версия
1.11
Създаден
26.09.2022
Обновен
28.09.2022
Размер
5 КБ
Лиценз
MIT
Работи на

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