Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/* Ubiquity command for ...My second script! Thanks to */
name: "bing",
homepage: "",
author: {name: "Aravind Kumar", email: ""},
license: "GPL",
description: "Search using Bing",
help: "Type bing followed by the search term. For eg, to search for pizza, type 'bing pizza'.",
takes: {"Search term": /.*/},
preview: function(pblock, input) {
pblock.innerHTML = "Search for " + input.text + "</b>.";
execute: function(input) {
Utils.openUrlInBrowser("" + input.text);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.