Change google search command to my needs

4 views
Skip to first unread message

effemmeffe

unread,
Oct 15, 2009, 2:59:44 AM10/15/09
to ubiquity-firefox
I use a lot the google search command, but I'm italian and I'd like to
have google.it inquired by the google command instead of the default
google.com, is there a way to modify a command to match personal
needs?
TIA

psargaco

unread,
Oct 16, 2009, 7:59:32 AM10/16/09
to ubiquity-firefox
Well, I imagine it's as easy as getting a copy of the google command
source, and changing the name, description and all the relevant google
addresses.

effemmeffe

unread,
Oct 16, 2009, 10:06:05 AM10/16/09
to ubiquity-firefox
On Oct 16, 1:59 pm, psargaco <paulo.sarga...@gmail.com> wrote:

> > I use a lot the google search command, but I'm italian and I'd like to
> > have google.it inquired by the google command instead of the default
> > google.com, is there a way to modify a command to match personal
> > needs?

> Well, I imagine it's as easy as getting a copy of the google command
> source, and changing the name, description and all the relevant google
> addresses.

...
The part about modifying the command is easy to understand, the part
about how to get a copy of one command and how to make ubiquity to
read a new command from my hard disk is a little less understandable
to me.
Any suggestion on where can I find a fine manual to read, please?

Christian Sonne

unread,
Oct 16, 2009, 10:17:04 AM10/16/09
to ubiquity...@googlegroups.com
You should be able to get the source from: view-source:resource://ubiquity/standard-feeds/search.xhtml
then go to about:ubiquity?cmdlist and disable the normal google command, and go to about:ubiquity?editor and copy in your modified version in the editor

After that, "google" should refer to your italian version

I hope that made it clearer.
Best regards
-- cers / Christian Sonne

effemmeffe

unread,
Oct 16, 2009, 10:27:52 AM10/16/09
to ubiquity-firefox
On Oct 16, 4:17 pm, Christian Sonne <freakc...@gmail.com> wrote:

> You should be able to get the source from:
> view-source:resource://ubiquity/standard-feeds/search.xhtml
> then go to about:ubiquity?cmdlist and disable the normal google command, and
> go to about:ubiquity?editor and copy in your modified version in the editor
>
> After that, "google" should refer to your italian version
>
> I hope that made it clearer.

Yep, it works fine.
I just have to figure out that the actual Google command starts at
CmdUtils.makeSearchCommand({ and ends at the }, I write it here for
future reference.
Thanks a lot.
Reply all
Reply to author
Forward
0 new messages