且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Javascript找到链接的颜色

更新时间:2023-12-03 09:38:04

已禁用对访问链接的检测作为一种隐私措施.谢谢你.

The detection of visited links is disabled as a privacy measure. And thanks for that.

参考与CSS相关的隐私相关更改:已访问

简而言之,这是无法完成的.话虽这么说,可能会有骇客入侵,但最有可能很快将其修补,结果是不可靠.

In short, it can't be done. That said, there might be hacks, but those would most likely quickly be patched and as a result being unreliable.

据我了解,这是在大多数浏览器中实现的.

From what I read, this is implemented in most browsers.

例如,使用计时攻击是如何破解历史的一个例子.简而言之:

As an example of how one could hack the history is using timing attacks. That is in short:

  1. 您想知道用户是否访问过 aleister_crowley.com
  2. 您找到一个所有用户都将缓存的商品,例如 aleister_crowley.com/profile.jpg
  3. 您添加了脚本以将该图片加载到您的网站中,并花费了多长时间.

如果用户访问了该页面,则由于用户浏览器中的缓存,图像将快速加载.因此,您可以估计用户实际上已经访问了该页面.

If user has visited the page the image would load quickly due to caching in the users browser. As such you can estimate the user has, in fact, visited that page.

本文的更多内容.

那么,当然,您的网站已转为阴暗面时就是这种情况.

Then of course, this would be a case were your site has flipped to the dark side.