Skip to content

Instantly share code, notes, and snippets.

@winkerVSbecks
Created December 25, 2008 21:24
Show Gist options
  • Save winkerVSbecks/39955 to your computer and use it in GitHub Desktop.
Save winkerVSbecks/39955 to your computer and use it in GitHub Desktop.
minninova
CmdUtils.CreateCommand({
name: "minni",
takes: {"search_string": noun_arb_text},
license: "Public domain",
preview: "Searches for torrent on PirateBay, Isohunt and Torrentz.",
execute: function( directObj ) {
var search_string = encodeURIComponent(directObj.text);
//Utils.openUrlInBrowser( "http://www.mininova.org/search/?search=" + search_string);
browser.loadOneTab("http://www.mininova.org/search/?search=" + search_string, null, null, null, false, false);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment