Forum Moderators: open

Message Too Old, No Replies

Spot Link NoFollow in Explorer?

is there a java IE add-in similar to firefox to find no follow links

         

tictoc

11:37 pm on Jan 28, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Does anyone know a way to set up IE6 to make it highlight nofollow link attributes on websites when you browse them?

RonPK shows a javascript favelet which should work for IE

[webmasterworld.com...]

But he says to drag & drop the link into the Links toolbar - I am confused on that what do you drop it in the links toolbar from?

Are there any other alternatives?

Bernard Marx

12:03 am on Jan 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to create a basic HTML page containing the link, as shown.
In fact, just that code should be enough.

<a href="javascript:var a=document.getElementsByTagName('a');function nfc(){for(var i=0;i<a.length;i++){if(a[i].rel.toLowerCase()=='nofollow') {a[i].style.backgroundColor='#f00';a[i].style.border='2px solid #000';a[i].style.color='#fff';}}}nfc();">Bookmarklet</a>

Open the page in your browser, then drag the link up to the Favourites menu, and drop it in.

ALTERNATIVELY

1. Create a new favorite - use any page.
2. Copy the href:

javascript:var a=document.getElementsByTagName('a');function nfc(){for(var i=0;i<a.length;i++){if(a[i].rel.toLowerCase()=='nofollow') {a[i].style.backgroundColor='#f00';a[i].style.border='2px solid #000';a[i].style.color='#fff';}}}nfc();

3. Right-click the new favourite icon, choose "Properties"
4. The favourite's current URL will be highlighted, so just paste in the new code to replace it
.
5. Click OK (ignoring any warnings about it not being a real URL, and that it may harm your PC!)

geekay

7:32 am on Jan 29, 2005 (gmt 0)

10+ Year Member



Favelets were totally new to me, so at first I did not understand Bernard's post much better than the original thread on this subject. By trial and error I somehow succeeded in making the solution work. I would like to tell other newbies how I did, using IE6.

1. Click View on the IE toolbar at top and select Toolbars, then tick Links (if one does not have this bar already). A small new Links bar appears to the right of the address bar.

2. Drag for example the below link (or any other link in the text of a web page) to that Links bar and drop it there. Now >> appears at right in the bar.
[webmasterworld.com...]

3. Copy Bernard's second code to your clipboard:

javascript:var a=document.getElementsByTagName('a');function nfc(){for(var i=0;i<a.length;i++){if(a[i].rel.toLowerCase()=='nofollow') {a[i].style.backgroundColor='#f00';a[i].style.border='2px solid #000';a[i].style.color='#fff';}}}nfc();

4. Left click on the >>. Right click on the new link and select its Properties. The webmasterworld URL is highlighted. Now paste the code so it replaces the webmasterworld URL. Click OK. You can then Rename the "link" to e.g. "nofollow" and Delete any unnecessary links from the Links folder.

5. Go to any website, like Wikipedia, where you know the nofollow attribute is in use. When you are on such a page, left click the Link bar's >> and then left click the link with the Javascript code. All nofollow links on that page will now be boldly highlighted in red and framed.

Bernard Marx

11:25 am on Jan 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I should point out that it's RonPK's code, not mine!