Deleplace / programming-idioms

A collection of good snippets, in a lot of languages
Apache License 2.0
129 stars 8 forks source link

Color visited links #88

Open ghost opened 5 years ago

ghost commented 5 years ago

Sometimes I will see a link that looks interesting and click it, only to discover that I have seen the page already. It would be helpful if we could color visited links. Here is my workaround, prog-idioms.user.css:

/*==userstyle==
@version 1.0.0
@namespace cup
@name Programming Idioms
==/userstyle==*/
@-moz-document domain("programming-idioms.org") {
   [href^="/idiom/"]:visited {
      color: hsl(270 100% 50%);
   }
}
Deleplace commented 5 years ago

I don't remember having css to prevent the standard colorization of visited links (my custom css is here), but I acknowledge that they don't seem to be displayed differently than unvisited links.

A few things in no particular order: