Google Chrome中的Nofollow突出显示
前几天,我发现了这个出色的书签,可让您快速轻松地查看nofollow链接铬合金最现代的浏览器。
Nofollow?
书签由以下JavaScript组成。
javascript:function%20highlightNofollow(){var%20newStyle=document.createElement('style');newStyle.type='text/css';newStyle.appendChild(document.createTextNode('a[rel~=nofollow]{border:1px%20dashed%20#852!%20important;background-color:#fcc!%20important;}'));document.getElementsByTagName('head')[0].appendChild(newStyle);};highlightNofollow();
它基本上将以下CSS规则放入您的文档中,从而突出显示具有rel=“nofollow”属性的所有链接。
a[rel~=nofollow] { border:1px dashed #852! important; background-color:#fcc! important; }
看看johnmu.com上的小书签。