Sorry for the mess, but this would be the "easier" soulution, but I
stille would like not having to guess if its .com .org .net etc
CmdUtils.CreateCommand({
name: "golook",
takes: {"keywords": noun_arb_text},
modifiers: {"for": noun_arb_text},
execute: function( keywords, modifiers ) {
var varSiteName = keywords.text;
var varSearchterm = modifiers.for.text;
/* Put together our search URL */
var strURL = "http://www.google.com/search?q=site:www." +
varSiteName +
" " +
varSearchterm +
"";
/* Open the URL in a new window or tab */
Utils.openUrlInBrowser( strURL );
}
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---