CmdUtils.CreateCommand({
names: ["url","uri"],
icon:   "http://mozilla.org/favicon.ico";,
description: "Opens a specified URL or keyword in a new tab.",
    arguments: [ {role: 'object', nountype: noun_type_url, label:
'url'} ],
        execute: function({object}){
        //create a variable for the entered url
        var url = object.text;
        //opens the url in the browser, currently always launches a
new tab
          Utils.openUrlInBrowser(url);

    },


});

added the above hack toubiquity but it seemed to slow the whole thing
down any thoughts ?

Mac OS 10.6
ubiquity 0.5.5pre6
Namoroka (3.6alpha)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to