Nofollow Highlighting In Google Chrome
Published by philipnorton42 on Fri, 11/28/2008 - 18:26I found this excellent bookmarklet the other day which allows you to see nofollow links quickly and easily in Chrome most modern browsers.
The bookmarklet consists of the following 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();
Which basically puts the following CSS rules into your document, thus highlighting any links with the rel="nofollow" attribute.
1 2 3 4 | a[rel~=nofollow] {
border:1px dashed #852! important;
background-color:#fcc! important;
} |
Take a look at the bookmarklet on johnmu.com.
Category:
Add new comment