Web Browsers Blog Archive - Mar 2019

Posts Below
3/4/2019 - Web browser bookmarklets to change Reddit comment sort order with a single click (Bookmarklets)

    Hide/Show:


   ▲ Top  ▼ Bottom  △ TOC
Web browser bookmarklets to change Reddit comment sort order with a single click
Monday, March 4th, 2019
15:31:26 GMT


Bookmarklets

I couldn't find a way to permanently set the Reddit comment sort order without logging in.

So, I made some web browser bookmarklets, written in JavaScript, that can change the Reddit comment sort order with a single click.


I made 2 slightly different sets of these bookmarklets, since I also wanted to be able to more easily switch to the faster-loading "np" ("No Participation") version of Reddit pages.

So, the 2nd set is the one I prefer.


This 1st set of bookmarklets changes only the sort order.

Old - New - Controversial - Q&A - Top - Best


This 2nd set of bookmarklets additionally converts the web page's address from "www.reddit.com" to "np.reddit.com", since Reddit's "np" ("No Participation") pages load noticeably faster on my computer:

Old - New - Controversial - Q&A - Top - Best


These bookmarklets might work in various Firefox-like browsers, maybe even Firefox.

But, I've only tested them in my favorite web browser, Pale Moon (version 27.4.1).


To install them, you can just dragdrop the above links into your bookmarks toolbar.

Or, you could right-click on your bookmarks toolbar, choose "New Bookmark", then copy and paste one of the below source code snippets into the "Location" field of the new bookmark, give the bookmark a name, then click Add.


In the Pale Moon web browser, to show or hide your Bookmarks Toolbar, go to the "View" menu, then the "Toolbars" menu item, and choose "Bookmarks Toolbar".


Source code of 1st set of bookmarklets, which only change the Reddit comment sort order:


Sort by Old
(chronological order)


Sort by New
(reverse chronological order)


Sort by Controversial
("posts that have very even amounts of up/downvotes and a lot of activity")


Sort by Q&A
("shows all the comments to which te original poster replied to")


Sort by Top
("the most upvotes regardless of downvotes")


Sort by Best
("highest upvote to downvote ratio")



Source code of 2nd set of bookmarklets, which change the Reddit comment sort order and also convert the web page's address from "www.reddit.com" to "np.reddit.com", since Reddit's "np" ("No Participation") pages load noticeably faster on my computer:


Sort by Old
(chronological order)


Sort by New
(reverse chronological order)


Sort by Controversial
("posts that have very even amounts of up/downvotes and a lot of activity")


Sort by Q&A
("shows all the comments to which te original poster replied to")


Sort by Top
("the most upvotes regardless of downvotes")


Sort by Best
("highest upvote to downvote ratio")

   ▲ Top  ▼ Bottom  △ TOC


    Hide/Show: