1
edit
Changes
→Mozilla Ubiquity
Ubiquity Commands - <b>Work in Progress</b><br />
===Search MedicineNet===<b>Searches MedicineNet with a given keyword</b>by [[User:AaronMT|AaronMT]]<br /> <b>Usage:</b> health <i>keyword phrase</i><pre>CmdUtils.CreateCommand({ name: "health", homepage: "http://medicinenet.com", author: { name: "Aaron Train", email: "aaron.train@gmail.com" }, description: "Takes keyword phrase and searches MedicineNet", help: "health <i>keyword phrase</i>", icon: "http://images.medicinenet.com/images/fav/MN.ico", takes: {"Enter a noun": noun_arb_text}, preview: function(pblock, keywordPhrase) { pblock.innerHTML = "Search the MedicineNet by entering any phrase <b>" + keywordPhrase.text + "</b>" }, execute: function(keywordPhrase) { var searchURL = "http://www.medicinenet.com/" + keywordPhrase.text; Utils.openUrlInBrowser(searchURL); }});</pre><br> ===<b>Pastebin</b><br />===
<i>Transfers selected text to a new pastebin</i>><br />
<b>Usage:</b> <i>pb</i>