Hi Nick,

> I would like my default search engine to be google.co.uk. I 
> have put the following line in my localprefs.js file 
> <defaultsearch="gguk">, but google.com is still reigning 
> supreme. If there is more to it than that, could someone let 
> me know what I must do?

Did you create a search named "gguk"? There is not one named that in the
standard release, so I am guessing what you actually did was create an
alias "ggug" for "gg %s /uk". If that's the case, it won't work.

The "defaultsearch" functionality is designed to work with actual
searches (files).

You can fake it by copying the following text to a new file name
"gguk.xml" in the localsearches directory:

<search function="gguk">
  <name>Google UK</name>
  <category>Search</category>
  <link>http://www.google.co.uk/</link>
  <description></description>
  <script><![CDATA[
    function gguk(q){
      performsearch("gg",q + " /uk");
    }
  ]]></script>
</search>

I think this will do what you're after.

Regards,

Shawn K. Hall
http://12PointDesign.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to