Category Archives: webmaster

highlight the links with nofollow attribute

If you want to highlight the links with nofollow attribute on the page you visit, you can install a plugin on your browser or just add this javascript bookmarklet.

javascript:var css = ‘a[rel=nofollow]{background:red !important; color:#fff !important;}’, head = document.getElementsByTagName(‘head’)[0], style = document.createElement(‘style’);style.type = ‘text/css’;if (style.styleSheet){ style.styleSheet.cssText = css;} else { style.appendChild(document.createTextNode(css));}head.appendChild(style);

The less I use plugin the faster your browser is.