Your localstorage solution is really neat and a very novel approach but in this case were there any reasons not to go with a combination of :visited and ::after to do the same thing? I'm playing with using js to create an empty span within each link tag that i can then use css to insert a check mark and make visible on visited links. I like the idea of the check marks on visited links as an aesthetic feature as well.
Hey thanks so much! I felt just creating a hook rather than an entirely new DOM element was a cleaner solution, at least for the way I wanted to use it. Something like :visited:after unfortunately doesn't work on its own, due to the limitations set on :visited.
Your localstorage solution is really neat and a very novel approach but in this case were there any reasons not to go with a combination of :visited and ::after to do the same thing? I'm playing with using js to create an empty span within each link tag that i can then use css to insert a check mark and make visible on visited links. I like the idea of the check marks on visited links as an aesthetic feature as well.