By default, A9 does some tracking on you. There is a "generic" version of A9 that 
doesn't track (generic.a9.com). This update to the A9 search adds a switch for generic 
searches. Plus, it handles the query string better, due to the quirky way A9 handles 
the form submit event.



Regards,

Gregory Krohne



--------------------------------------

Protect yourself from spam, 

use http://sneakemail.com



-- cut here--

<search function="a9">

  <COMMENT>

  

        Amazon's A9 search. Uses Google results and adds

        "Search the book" feature.



  </COMMENT>

  <name>A9 - The Amazon.com Search</name>

  <category>Search the Web</category>

  <contributor>Gregory Krohne</contributor>

  <link>http://a9.com/</link>

  <email>[EMAIL PROTECTED]</email>

  <description>

        Use A9 to search the web and "Search Inside the Book™" on Amazon.com. Includes 
helpful search history features.

    <div class="helpboxDescLabels">Switches:</div>

    <table class="helpboxDescTable">

      <tr><td>/generic</td><td> - </td><td>Search without usage tracking and 
history</td></tr>

    </table>

    <div class="helpboxDescLabels">Examples:</div>

    <table class="helpboxDescTable">

      <tr><td>a9 dqsd</td></tr>

      <tr><td>a9 /generic ebay sniping</td></tr>

      <tr><td>a9 job search engines /g</td></tr>

    </table>

  </description>

  <form name="a9f"

        method="get"

        action="http://a9.com/";>

    <input type="hidden" name="q" value = ""/>

  </form>

  <form name="a9f_g"

        method="get"

        action="http://generic.a9.com/";>

    <input type="hidden" name="q" value="" />

  </form>

  <script><![CDATA[

                function a9(q)

                {

                        if( nullArgs("a9", q) )

                                return;

                        

                        var args = parseArgs(q, "generic");

                        

                        if ( args.switches.length > 0 )

                        {

                                switch( args.switches[0].name )

                                {

                                        case "generic":

                                                // document.a9f_g.q.value = args.q;

                                                a9f_g.action = 
"http://generic.a9.com/"; + escape(args.q);

                                                submitForm(a9f_g);

                                                break;

                                        default:

                                                // document.a9f.q.value = args.q;

                                                a9f.action = "http://a9.com/"; + 
escape(args.q);

                                                submitForm(a9f);

                                        }

                        }

                        else

                        {

                                // document.a9f.q.value = args.q;

                                a9f.action = "http://a9.com/"; + escape(args.q);

                                submitForm(a9f);

                        }

                        

                }

  ]]></script>

  <copyright>

    The following applies if this file is included and distributed with Dave's Quick 
Search Deskbar:

    Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public 
License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)

  </copyright>

  <created_by>

    This search file was initially created on 04/15/04 at 07:57:46

    by Dave's Quick Search Deskbar Search Wizard version 1.2,

    Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General 
Public License, Version 2

  </created_by>

</search>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to