Highlight Your MSN Space
Okay... nobody seemed to care for my little
"Link Hiliter" tool, which highlights links on a webpage differently if they go to the same website, same web domain, or else where.
So, I have wrote a little utility for you to use that will allow you to highlight links to your MSN Space on a person's web page! So, if you're on my web page, you might be looking for a link back to your own or someone else's...
Now, rather than writing a separate web page to do all of this for you, I'm just going to tell you how to do it, so let's get technical...
- Add this current web page as a favorite or bookmark in your browser and rename the title to something like "Hilite My MSN Space".
- Save the favorite or bookmark in a place where it will show up in your browser's toolbar (Example: Internet Explorer has a folder called "Links" under "Favorites" that will place the link as a button in your toolbar -- toolbar must be enabled). Or, just save it to your preferred location and remember how to get to it.
- Now right-click the link's button on your toolbar, or right-click the favorite / bookmark and select "Properties".
- Remove the current URL and replace it with the code below:
javascript:bg=prompt('Link%20Background%20Color:','lime');fg=prompt('Link%20Color:','navy');spc=prompt('MSN%20Space:','eswanson');a=document.getElementsByTagName('a');for(i=0;i<a.length;i++){if(a[i].href.indexOf(spc)>=0){s=a[i].style;void(s.backgroundColor=bg);void(s.color=fg);void(s.fontSize='24pt');}}
- Save it (ignoring the warning about code being in your url -- nothing malicious here!) and then try it out on a webpage that you know has the space you are looking for.
*FYI: You can actually use this tool to highlight any link based on some value in the url. For example, I could search for "spaces.com" in all of the urls on a page, etc. Also, you'll notice that you can change the default values in the code (like 'navy') by simply editing them in the code, but be aware that this is "url-encoded" javascript, so you must know what you're doing.
Comments