Pseudo On Visited Link
I want the pseudo element to disappear when a link is visited but it's not working. I could be doing something wrong. Need help.
https://codepen.io/Arslan-Akbar/pen/mdzvgzB
3 Replies
you can't manipulate
:visited
like that https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector#limits_to_visited_link_styles
it's a privacy issueInterestingly you can change the background color so, if this is something you really need to do, you could change it to be the same color as your background.
it really messed with me, I was trying to write a userscript that hid visited links, but it's just impossible (and for good reason too)