The given approach has been disabled for security reasons.
As it is possible to retrieve a visitor’s history by checking for visited links, certain measures have been taken by browser vendors to prevent this.
Source: Mozilla Foundation Blog.
Checked in Chrome and FF – both don’t support $("a:visited")
any longer.