How to use CSS to increase the contrast on visited hyperlinks?

I am using a browser custom-CSS for changing the color visited hyperlinks to magenta, just to be able to see what I clicked or not.

The problem is that in some cases the contrast is too bad for this and I do want to add some kind of glowing around the text from the CSS, just to be able to improve the contrast.

I tried to follow some guides I found online for adding this but I seen no effect on my test pages.

text-shadow: 2px 2px 3px red !important;

Note: I tried this only on Safari and Chrome (OS X).

Answers


After some research, I've found out that this is actually intended behaviour, due to privacy limitations. You may style:

  • Color
  • Background-color
  • Border-color
  • Outline color

Here's an article on the subject: https://developer.mozilla.org/en-US/docs/CSS/Privacy_and_the_:visited_selector


Need Your Help

Show mysql query using Smarty php

php mysql smarty

I'm making a blog as a school project and is a bit stuck.

Load JSON data into a ExtJs Grid

extjs extjs3

I am new to ExtJs and I am not able to load JSON data into the grid in any form - either inline or from a static JSON data file. Any help is highly appreciated.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.