Free Webmaster Tools Logo
Free Webmaster Tools

Site Navigation

Home
Articles & Tips
Webmaster Directory
Product Reviews
Webmaster Forums
Site Map
• On-Site Tools
Meta Tag Generator
Pop Up Maker Tool
Color Code Generator
Drop Down Menu
Generator
• Webmaster Forum
Affiliate Programs
Grow Your Site
Display Ad Networks
Social Marketing
Web Development
• News
Tech
Security
SEO and Web Dev

Top of Page

JavaScript Mouseover - Hiding affiliate URL

Ever want to hide links on your website (especially affiliate links)?

This method shown below, simply changes the way the URL appears in the browser's status bar. (That's the bar at the bottom left corner of your browser that tells you the URL of links, which file(s) it's downloading, etc.



A simple "MouseOver" javascript code does the trick nicely. Here's an example... If your real affiliate URL is:
"https://www.someurl.com?affiliateid=29013", you could use this code:


Now, when someone places their mouse over your link, instead of seeing your real affiliate link in their status bar, they'll see whatever you place in the code's "window.status=" line, which, presumably, is the websites main URL WITHOUT your affiliate code.



 

 

Top of Page