Results 1 to 6 of 6

Thread: Link Cloaking

  1. #1
    Join Date
    Oct 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Link Cloaking

    Does anyone know anything about how to hide those links on the bottom left side of internet explorer, so it shows something different when they put their mouse cursor over the link, thanks alot for any help.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Simply use the onMouseover/ onMouseout events within the link in question, such as:

    <a href="http://google.com" onMouseover="window.status='Search here'; return true" onMouseout="window.status=''">Google></a>

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin
    Simply use the onMouseover/ onMouseout events within the link in question [...]
    I think it's rather irresponsible to hand out advice like this. I find it hard to believe there can be any legitimate reason to disguise link destinations, particularly considering the potential abuse.

    Thankfully, decent user agents will prevent this from happening. Both Opera and Mozilla products can disable tampering with the status bar. Moreover, Opera will always display link information in the status bar, and in a tool-tip (if enabled), regardless of script options.

    Mike

  4. #4
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There is a moral issue with this depending on how the webmaster decides to use such a status bar effect, but I think in the majority of cases, it's simply an annoying technique, such as putting a description of the link onMouseover. And xxstarvisionsxx wouldn't have trouble learning how to do this easily on any JavaScript archive (well, DD doesn't have one, but...).

  5. #5
    Join Date
    Oct 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is mainly due to the fact that I run 1 massive affiliate site search portal, 2 other sites and 3 forums total, and link cloaking for affiliate links is a smart idea if you ask me.

    The links actually do go to the proper sites but does not show the actual affiliate link after the main URL in the browser.

    Thankyou for this code I have implemented it into my main page and have alot of links to update, this is going to take a seriously long time.
    Last edited by xxstarvisionsxx; 05-03-2005 at 02:03 PM.

  6. #6
    Join Date
    Feb 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Try this this will hide where the links are going Hide Status bar message

    http://www.javascriptkit.com/script/cutindex19.shtml

    Hide Status bar message http://www.javascriptkit.com/script/...destatus.shtml

    also add this and you can say what ever you like

    <body OnLoad="window.defaultStatus='Add your text here';" >

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •