Welcome to WebProNews Breaking eBusiness and Search News
Advertise | Newsletter | Sitemap | News Feeds News Feed 
 WebProNews Search Part of the iEntry network iEntry inc. 

A JavaScript That Kills Google AutoLink Links

Olivier Duffez
Expert Author
Published: 2005-02-23

WebProNews RSS Feed


Chris and Gurtie at Search Guild have published a working script that webmasters can insert into their webpages that kills Google AutoLink links.



What you need to do:

  • Insert the script anywhere in your html

  • or link it using the <script> tag in the <head> of your pages

  • and it will rewrite, the rewritten urls. Killing the Autolink functionality.


  • Here is the code:

    // AutoBlink
    // Puts Google's Autolink on the Blink :)
    // (c) 2005 Chris Ridings http://www.searchguild.com
    // Redistribute at will but leave this message intact

    var linkcount;
    function countlinks() {
       var numlinks;
       numlinks=0;
       for (i=0; i < document.links.length; i++) {
        numlinks++;
       }
       return numlinks;
    }

    function checklinks() {
       if (!(linkcount==countlinks())) {
        // Something changed the links!
        // Iterate for an id of _goog
        found=0;
        for (i=0; i < document.links.length; i++) {
        if (document.linksi.id.substring(0,5)=="_goog") {
         // If we find an id of _goog then remove the link!
         var tr = document.linksi.parentTextEdit.createTextRange();
         tr.moveToElementText(document.linksi);
         tr.execCommand("Unlink",false);
         tr.execCommand("Unselect",false);
        }
       }
      }
      setTimeout("checklinks()",500);
    }

    if (document.getElementById && document.createElement) {
      linkcount=countlinks();
      setTimeout("checklinks()",500);
    }


    Receive Our Daily Email of Breaking eBusiness News


    About the Author:
    Olivier Duffez is an SEO consultant specialized on Google. Working on the Internet since 1997, he created in 2002 Web Rank Info, a free SEO resources French community (+13,000 members), and in 2003 his company Web Rank Expert. He created an online collaborative dictionary supported by Google.fr and DMOZ.

    He's giving SEO conferences in ImiTiki's seminars and wrote a book about Google and SEO in 2004. He's also part of the developpment team of PR Weaver and Agent Web Ranking softwares.

    WebProNews RSS Feed

    More Articles

    Contact WebProNews

    Advertisement





    TOP NEWS

    Targeted Information for Business
    WebProNews is part of the iEntry network

    Internet Business: Marketing: Small Business:
    WebProNews MarketingNewz SmallBusinessNewz
    WebProWorld AdvertisingDay PromoteNews
    EcommNewz SalesNewz EntrepreneurNewz

    Software: Search Engines: Web Design:
    WebMasterFree Jayde B2B DesignNewz
    NetworkingFiles SearchZA FlashNewz
    SecurityConfig SearchNewz WebSiteNotes

    Developer: IT Management: Security:
    DevWebPro ITManagement SecurityProNews
    DevNewz SysAdminNews SecurityConfig
    TheDevWeb NetworkingFiles NetworkNewz

    The iEntry Network consists of over 100 web publications reaching millions of Internet Professionals. Contact us to advertise.
    eBUSINESS RESOURCES






     Advertise | Contact Us | Corporate | Newsletter | Sitemap | Submit an Article | News Feeds
     WebProNews is an iEntry, Inc. ® publication - $line) { echo $line ; } ?> All Rights Reserved
    About WebProNews
    WebProNews is the number one source for eBusiness News. Over 5 million eBusiness professionals read WebProNews and other iEntry business and tech publications.

    WebProNews provides real-time coverage of internet business.

    Free Email Newsletters:
    WebProNews SearchNewz
    WebProWorld DevWebPro
    Marketing SecurityNews
    Plus over 100 other newsletters!

    Send me relevant info on products and services.


    WebProWorld
    Ten most recent posts.

    NetworkingFiles
    Featured Software

    WebProNews in the News
    View all recent mentions of WebProNews from around the world!

    Recent Articles On ...
    Google eBusiness
    Yahoo Ask Jeeves
    MSN Blogs
    Search Engines Blogging
    Affiliate Programs Marketing
    eCommerce Advertising
    eBay Sun Microsystems
    AOL Adsense
    Microsoft Adwords
    Oracle IBM
    Amazon Apple
    SEM Mac
    SEO iPod
    Adsense XBox
    PR Adobe



    iEntry.com WebProWorld RSS Feed WebProWorld Contact WebProNews Print Version Email a friend Bookmark us