a:visited不工作在mozilla,但工作正常在IE [英] a:visited is not working on mozilla but works fine on IE
问题描述
a:visited函数在我的IE上工作正常,但不在mozilla。它对Mozilla没有影响。 Css类是
a:visited function works fine on my IE but not on mozilla. It has no effect on Mozilla. Css class is
ul#menu1 li a:link, a:visited {
display: block; height: 18px; padding: 5px 0 6px 15px;
text-decoration: none; clear: both; color: #666;
}
推荐答案
问题是在最近版本的Firefox(以及大多数其他浏览器)中删除了恶意网站可以通过使用它来设置您的浏览历史 - 他们会设置一个访问的
颜色,产生一个负载的URL(即使是隐藏的,所以用户不会知道它),并检查他们的颜色。
The problem is that a malicious web site could work out your browsing history by using it - they would set a visited
colour, produce a load of URLs (even hidden ones so the user doesn't know about it), and check their colour. It caused quite a bit of noise in browser security circles a couple of years ago.
访问的
功能可能会在浏览器安全圈中造成相当多的噪音。
The visited
feature can be switched back on again in Firefox, by going to the security preferences, but it is disabled by default, and most users will have it switched off.
有关更多信息,请参阅此处了解更多信息。在Firefox中通过转到安全首选项来重新启用,但默认情况下已禁用,大多数用户将关闭。问题以及Firefox如何修复它: http:// blog.mozilla.com/security/2010/03/31/plugging-the-css-history-leak/
See here for more info on the problem and how Firefox went about fixing it: http://blog.mozilla.com/security/2010/03/31/plugging-the-css-history-leak/
这篇关于a:visited不工作在mozilla,但工作正常在IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!