Wanted to say thanks for the JS fix Maestra, and make a small contribution:
The above JS works 99% of the time, but a user found that when they clicked on the little unread notification in the categories list, it took them to a page that doesn’t exist. E.g., for meta.discourse.org they’d end up here: Discourse Meta.
The minor edit I used to fix this is to slap the following at the top of your first section of code for the categories list, right after the if: ‘link-fixed’ bit.
var ignore = /(unread|new|top)/
//ignore unread, new, top links
The ‘top’ part might not be necessary in retrospect, but whatever it doesn’t hurt anything.
edit - I suppose more sophisticated regex might be in order if one of your categories has “new”, “unread”, or “top” in the name, though.