How to Change the Color of Visited Links on Safari

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

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.

Advertisement

Step 1

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

Video of the Day

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.

Advertisement

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.

Advertisement

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.

Video of the Day

Advertisement

Advertisement

references & resources

Report an Issue

screenshot of the current page

Screenshot loading...