How to Change the Color of Visited Links on Safari

By Brendan O'Brien

Safari is a browser made by Apple for Mac computers. Users can set the browser to refer to their own style sheet that sits on their computer's hard drive. This is a nice feature if you want to change elements of Web browsing, such as the color of visited links. You may want to do this if you are on a page that you want to keep track of the links that you clicked and the default color is the same as unclicked links.

Step 1

Launch the Text Editor application on your Mac, and click "Format" in the main menu. Choose "Make Plain Text" if available.

Step 2

Type "a:visited { color: (color) !important; }" in a new text file with (color) being the color that you want visited links to be. Replace "(color)" with the code of the corresponding desired color. For example, if you want visited links to be green, type "a:visited { color: #00FF00 !important; }" in the text file.

Step 3

Click "File" in the main menu bar, and then click "Save As." Name the file "CustomLinkColor.css" and save it to your desktop. Click the "Use .Css" button in the dialog box.

Step 4

Launch Safari. Click "File" in the main menu bar and choose "Preferences." Click the "Advanced" tab. Click the "Style Sheet" drop-down menu and select "Other." Navigate to the "CustomLinkColor.css" file you saved in Step 3. Highlight it and click "Choose."

Step 5

Restart your browser. The color of visited links will change to the color that you designated.

Tips & Warnings

  • Remember that changing the color of visited links will work only on websites that are not referring to overriding style sheets.