How can I change the visited links color in Chrome?

19,424

Solution 1

Here's a solution that works for all platforms and for all versions of Chrome.

  1. Install the Stylist extension.
    EDIT: Stylish extension (that extension was no longer available, this alternative should work.)

  2. Click SETTINGS in Chrome

  3. Click EXTENSIONS

  4. Find the Stylist extension and click OPTIONS

  5. Click STYLES

  6. Click ADD NEW STYLE

  7. Where it says "Style Name", name the style

  8. Click the ALL SITE check box

  9. Where it says "Stylesheet Text", copy and paste the following:
    A:visited { color: red ! important }

  10. Click SAVE

  11. Find a page with visited link, refresh, and you'll see the new color.

You can find colors you like here, and you can also use a color code like rgb(255, 0, 0) in place of red.

Source

Solution 2

Below worked for me, very good solution:

"If you want to DIY extension:

Create or Navigate to folder 'c:\Users[local user]\AppData\Local\Google\Chrome\UserData\Default\User StyleSheets\'

Create or edit 'Custom.css' within 'User StyleSheets':

A:visited, A:visited *{color:orchid !important}

note: this code can also be used in @Vic Jang's answer.

Create or edit 'manifest.json':

{ "name": "my_custom_css", "version": "1", "content_scripts": [{ "matches": [":///*"], "css": ["Custom.css"] }], "manifest_version": 2 }

goto URL with chrome: 'chrome://extensions'

check the 'Developer mode' box

click on 'Load unpacked extension...'

Navigate to the 'User StyleSheets' folder which contains the 'Custom.css' & 'manifest.json'

check the 'Enabled' box next to the 'my_custom_css' extension you created

restart chrome"

Share:
19,424

Related videos on Youtube

ElCharly64
Author by

ElCharly64

I'm an informatics engineer. I work most with php and other web-related languages. I'm a frequent visitor of stackoverflow and would like to participate as a collaborator.

Updated on September 19, 2022

Comments

  • ElCharly64
    ElCharly64 over 1 year

    I use Google Chrome Browser and I find the unvisited and visited links colors are too close each other. They are very hard to distinguish, at least to me.

    I tried the old approach of modifying the Custom.css configuration file in Chrome's user data folder and no change occurred.

    I'm open to solutions which include javascript code or css settings which I can run/modify in the developer's window (F12), even though they are not permanent settings.

  • Finni McFinger
    Finni McFinger almost 8 years
    It's unfortunate that an extension is required. Here at Alcatraz...errr...work we are unable to install extensions. I guess developers shouldn't be trusted with that sort of capability.
  • Al Lelopath
    Al Lelopath almost 8 years
    I am unable to access either of these links, I get "This site can’t provide a secure connection"
  • lemontwist
    lemontwist almost 7 years
    THANK YOU!! I can actually see what links I've visited now! What a difference that makes!
  • Ph0t0n
    Ph0t0n over 6 years
    I feel your pain. The Stylish chrome extension works quite well to make up for Google's lack of customization. For years I had to keep asking people around me if a link was visited and even they had a hard time sometimes depending on the monitor. I found a nice Stylish theme for google.com, but it was still hard tell the difference so I looked through the stylesheet and replaced the visited link hex color code with a nice bright color!
  • Karthick Ganesan
    Karthick Ganesan almost 4 years
    When I use 'Load Unpacked' and navigate to this folder I get the 'Failed to load extension' error with the error message reading "Invalid value for 'content_scripts[0].matches[0]': Invalid scheme. Could not load manifest." Can you help?
  • Karthick Ganesan
    Karthick Ganesan almost 4 years
    This works like a charm! +1. However, this goes beyond just the Google results page and colors any link that I've already visited (e.g. [1] 'Home' link in the left sidebar of SO, [2] My Inbox Messages / Achievements icon links within SO beside my profile frame). Please see this. Any help in restricting this to work on Google search results page alone?
  • Karthick Ganesan
    Karthick Ganesan almost 4 years
    Thanks for the update :) However, this seems to work only device-specific.
  • xam
    xam almost 4 years
    If you want, to restrict the colors, to work, on Google search results page alone, then replace code within 'manifest.json' file: "matches": ["*://*/*"], with: "matches": ["*://www.google.com/*"],, then click reload button, next to the enable/disable flip-switch, on 'chrome://extensions' menu.
  • Karthick Ganesan
    Karthick Ganesan over 3 years
    Is this DIY extension portable? Because I see the Custom.css and manifest.json file has to be created in each computer that I use.
  • xam
    xam over 3 years
    I don't think it is 'portable', unless you published it privately ,and sync your settings, with your Google account: support.google.com/chrome/a/answer/2714278
  • JvdBerg
    JvdBerg almost 3 years
    link to styllist is dead
  • Vic Jang
    Vic Jang over 2 years
    @JvdBerg I think it's no longer available. I can't find it either. I believe this extension serves the same purpose, feel free to give it a try. Stylish: chrome.google.com/webstore/detail/stylish-custom-themes-for/‌​…