On "new reddit" some notifications (those with "Reply back") in the notification menu aren't marked as read. It is fixabled with this userstyle.
Fix notifications not marked as visited in menu by procyon-b
Details
Authorprocyon-b
LicenseCC BY-NC 4.0
Categoryreddit
Created
Updated
Size995 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
It works in both light and dark modes.
Note that it won't work in incognito windows, and not for long if you clear your browsing history.
Source code
/* ==UserStyle==
@name Reddit - fix notifications not marked as visited in menu
@namespace https://github.com/Procyon-b
@version 0.2
@description Userstyle to display reluctant unread notifications in menu as read
@author Achernar
==/UserStyle== */
@-moz-document domain("reddit.com") {
/* faulty visited notification background. Handle light and dark modes */
header ._3mUSJN4kdLCGjq-K-JLJw._2n4UrzwZ3VBdRmFUYAHF_9 { /*20230305*/
background-color: var(--newRedditTheme-body) !important;
}
header ._3mUSJN4kdLCGjq-K-JLJw._2n4UrzwZ3VBdRmFUYAHF_9 > a { /*20230305*/
background-color: var(--newRedditTheme-activeAlpha10) !important;
}
html.theme-dark header ._3mUSJN4kdLCGjq-K-JLJw._2n4UrzwZ3VBdRmFUYAHF_9 > a { /*20230811*/
background-color: var(--newRedditTheme-activeAlpha20) !important;
}
header ._3mUSJN4kdLCGjq-K-JLJw._2n4UrzwZ3VBdRmFUYAHF_9 > a:visited /*20230305*/ {
background-color: var(--newRedditTheme-body) !important;
}
}