rallamajoop (
rallamajoop) wrote in
yuletide2022-09-27 09:30 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Add-on for quick-loading posts with multiple pages of comments
I wrote a Greasemonkey script a while back that's been useful for browsing through comments on posts like the Fandom Promo Post and Nomination Coordiation Station, and figured I'd link it here in case it's useful to anyone else. You can find it here at Greasyfork.
What it does
Basically, the script grabs just the top comments from all threads on all pages in any Dreamwidth post and compiles them into one page. Handy for when you want to run a Ctrl-F/textsearch for favourite tropes or genres in people's recs, or just want to browse without having to click through and separately search many different pages.
Further details at at this link, or under the cut below.
How to use it
Once you've got the script installed, just click the to the "Top-level comments only" link on any DW post (the regular threaded view shouldn't be affected). 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).
Like any GM script, you can can also disable it pretty easily from the monkey icon on your browser if it gives you any trouble.
How to install it
If you haven't used Greasemonkey or similar tools before, it's basically an add-on that makes it easy for people to create/install/use custom javascript-based scripts like this one. Greasyfork's own help section has you covered.
Script should work on whichever of the Greasemonkey variants (TaperMonkey, ViolentMonkey, etc) you prefer and/or is compatible with your browser (though if it doesn't, feel free to let me know and I'll see what I can do.)
Feedback and suggestions
Are welcome if you've got any!
What it does
Basically, the script grabs just the top comments from all threads on all pages in any Dreamwidth post and compiles them into one page. Handy for when you want to run a Ctrl-F/textsearch for favourite tropes or genres in people's recs, or just want to browse without having to click through and separately search many different pages.
Further details at at this link, or under the cut below.
How to use it
Once you've got the script installed, just click the to the "Top-level comments only" link on any DW post (the regular threaded view shouldn't be affected). 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).
Like any GM script, you can can also disable it pretty easily from the monkey icon on your browser if it gives you any trouble.
How to install it
If you haven't used Greasemonkey or similar tools before, it's basically an add-on that makes it easy for people to create/install/use custom javascript-based scripts like this one. Greasyfork's own help section has you covered.
Script should work on whichever of the Greasemonkey variants (TaperMonkey, ViolentMonkey, etc) you prefer and/or is compatible with your browser (though if it doesn't, feel free to let me know and I'll see what I can do.)
Feedback and suggestions
Are welcome if you've got any!