Forum arrow Forum

Forum Login

Work From Home Forum
Welcome, Guest
Please Login or Register.
Lost Password?
My favorite way to hide a link (1 viewing)
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: My favorite way to hide a link
#6157
Shylmysten (User)
Senior Boarder
Posts: 99
graphgraph
User Offline Click here to see the profile of this user
My favorite way to hide a link 2007/05/08 02:34  
This is a highly customizable way to hide or disguise a link, and I honestly think its much simpler and has a lot of room to customize the "disguise" of your link to match the look of you site, or all out throw the culprits off. Here it is....


Step 1:

Take this code and place it in notepad:

Code:

 var isnn,isie if(navigator.appName=='Microsoft Internet Explorer'//check the browser {  isie=true } if(navigator.appName=='Netscape') {  isnn=true } function right(e//to trap right click button  {     if (isnn && (e.which == || e.which == ))         return false;     else if (isie && (event.button == || event.button == 3))      {         alert("WARNING: An attempt to circumvent a technological measure put in place to protect access to or  copying of a copyrighted work has been logged along with the date and time of the occurrence in  association with YOUR IP ADDRESS, be aware that this work is protected under the Copyright Act,  Title 17 United States Code Section 106(3) and under the Digital Millennium Copyright Act, Title 17  United States Code Section 512. Any infringements upon these copyrights will be prosecuted to the  fullest extent of the law.");         return false;     }         return true; } function key(k)    {     if(isie) {         if(event.keyCode==17 || event.keyCode==18 || event.keyCode==93) {             alert("WARNING: An attempt to circumvent a technological measure put in place to protect access to or  copying of a copyrighted work has been logged along with the date and time of the occurrence in  association with YOUR IP ADDRESS, be aware that this work is protected under the Copyright Act,  Title 17 United States Code Section 106(3) and under the Digital Millennium Copyright Act, Title 17  United States Code Section 512. Any infringements upon these copyrights will be prosecuted to the  fullest extent of the law. ")              return false;          }      }     if(isnn){         alert("WARNING: An attempt to circumvent a technological measure put in place to protect access to or  copying of a copyrighted work has been logged along with the date and time of the occurrence in  association with YOUR IP ADDRESS, be aware that this work is protected under the Copyright Act,  Title 17 United States Code Section 106(3) and under the Digital Millennium Copyright Act, Title 17  United States Code Section 512. Any infringements upon these copyrights will be prosecuted to the  fullest extent of the law. ")          return false; }    } if (document.layerswindow.captureEvents(Event.KEYPRESS);   if (document.layerswindow.captureEvents(Event.MOUSEDOWN); if (document.layerswindow.captureEvents(Event.MOUSEUP); document.onkeydown=key;   document.onmousedown=right; document.onmouseup=right; window.document.layers=right;




Save This Code As
Filename: yourfilename.js
Save as Type: (pull the dropdown box to ALL FILES)

click save


Step 2:

Move the yourfilename.js onto your server and reference it between the <HEAD> and </HEAD> tags of any html or asp page using:

Code:

 <Script language="JavaScript" src="yourfilename.js"></script>



After you have finished placing the code above, locate your

<style type="text/css">

in the same area (between <head> and </head> and Place this snippet of code right below it:

Code:

 .hiddenlink {   text-decorationnone/* to remove the underline */ }



**Note: You can also Use the code above to change the color and font of your Links as well with some modifications.

Step 3: (And this is my Favorite because you can really do some neat things to disguise your links)


Last but not least, put this piece of code in where ever you are placing your affiliate link at. Such as Click here now

Code:

 <class="hiddenlink" title="This text will appear <strong>at your cursor</strong> when you mouseover the link" onMouseOver="window.status='Cloak your link with a dummy url or a dummy pagelink or anything else you want to  show in the status bar as it says ON MOUSEOVER'; return true" onMouseOut="window.status='Text you want to show in the status bar when you move your cursor away from the  link Like your websites slogan your web address - anything you want'" target="_blank" href="This is where you place your affiliate link">This is the text that will show for your linksuch as Click Here NOW</a>



A dummy URL is a link that goes nowhere, you can simply make it up to show a page that doesn't even exist on your website such as

Http://www.Mywebsite.com/thekidsaredrivingmecrazy.html

**Note: If you want your underlines to remain as part of your link text, just remove the class="hiddenlink" from the code above.

When yer all done, right click on your page, or try to push the control or alt key or highlight text. It scares the noodles out of people who try to copy your material, trust me.

Enjoy!!

Tony

PS. If you really want to have some fun with the theives you can have the page reload with no menu or address bar after they click OK on the Alert box. It does scare the noodles out of people trying to copy your material or steal your links and makes them think twice.

PPS. This just goes to show that if a truck driver can do this kind of stuff, you can too! Just give yourself some time to investigate and learn things!
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
Powered by FireBoardget the latest posts directly to your desktop