Websites changing link colors upon visiting them is a common feature aimed at improving browsing efficiency, but it poses a significant privacy risk.
The color-changing mechanism is based on CSS utilizing the browser history to mark visited links, which could be exploited by malicious sites to track users' browsing activities.
This privacy vulnerability allows websites to potentially extract valuable data about users' browsing history, leading to concerns about user deanonymization and targeted advertising.
While attempts to address this issue have been made over the years, the long-standing vulnerability was recently fixed in Chrome 136 by implementing 'partitioned browsing history' to enhance user privacy.