How to hide the link if it was visited?

I would like to remove the link from the page when it was visited. But ... how if a pseudo-class: have you visited privacy restrictions? (I can't use mapping: no, for example)

(As I would like) Example:

.someclass a:link {display:block;}

.someclass a:visited {display:none;}

Thanks guys.

Details: I also use an external link, so I can’t use jquery or localstore cookies, and the links will be delivered by email, so I can’t use jquery when I click in the class “X”.

+4
source share
2 answers

, : , - . , javascript , URL-. , , . . :

http://www.impressivewebs.com/styling-visited-links/

+3

, , , .

a:link {display:block;}
a:visited {color:white}

http://jsfiddle.net/NGSs8/5/

0

Source: https://habr.com/ru/post/1525657/


All Articles