You'd have to write a custom noun of your own, like this:
var noun_type_url_noselection = {
label: "URL",
suggest: function ntun_suggest(txt, htm, cb, selectionIndices) {
if (selectionIndices) return []; // suggest none for selection
if (/^(?!\w+:)/.test(txt)) txt = "http://" + txt;
return [CmdUtils.makeSugg(txt, null, null, .5)];
},
};
On Sat, Oct 17, 2009 at 8:32 AM, Bhagwad <[email protected]> wrote:
>
> Or rather, it seems to think that when I make a selection, the
> selection is the "instrument" argument. I don't want that to happen.
>
> How do we change this behavior?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---