Domain Manage

Hide Link

Discussion in 'Scripts and Coding' started by purg, Dec 18, 2007.

Thread Status:
Not open for further replies.
  1. purg Ireland

    purg Active Member

    Joined:
    Sep 2006
    Posts:
    405
    Likes Received:
    6
    Ive knocked together a script to htaccess ban after running a PHP script.
    (basic spider banning)

    Now ive got a problem how to hide the <a href link in the page!!


    This isnt fully thought through but how can I have a link thats not seen by humans but crawlable via source?
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
     
  3. Jeewhizz

    Jeewhizz Well-Known Member

    Joined:
    May 2006
    Posts:
    1,177
    Likes Received:
    18
    <a href='www.domain.com' style='visibility:hidden; display:none;'>Link</a>
     
  4. purg Ireland

    purg Active Member

    Joined:
    Sep 2006
    Posts:
    405
    Likes Received:
    6
    Looks just the ticket thank you.
    If you look back... any idea whats the oldest release of IE / FF to support the style tag?
    google didnt help with way to many hits



    Taking your code I will wrap in div tags as i think more browsers could support div

    <div style='visibility:hidden; display:none;'><a href=bot.php style='visibility:hidden; display:none;'>.</a></div>
     
    Last edited: Dec 20, 2007
  5. Jeewhizz

    Jeewhizz Well-Known Member

    Joined:
    May 2006
    Posts:
    1,177
    Likes Received:
    18
    It'll be supported by everything that's out atm. IE 4 supports it.
     
Thread Status:
Not open for further replies.

Share This Page