makeSearchCommand({ name: "Bokus", url: "http://www.bokus.com/cgi-bin/book_search.cgi?FAST={QUERY}", icon: "http://www.bokus.com/favicon.ico", description: "Searches Bokus for your books, movies, and games.", preview: function(pBlock, directObj) { if (directObj.text) pBlock.innerHtml = "Searches Bokus for " + directObj.text; else pBlock.innerHTML = "Searches Bokus for the given words."; } }); makeSearchCommand({ name: "knuff", url: "http://knuff.se/q/{QUERY}", icon: "http://knuff.se/favicon.ico", description: "Searches knuff.se for phrases from the swedish blogosphere.", preview: function(pBlock, directObj) { if (directObj.text) pBlock.innerHtml = "Searches knuff.se for " + directObj.text; else pBlock.innerHTML = "Searches knuff.se for the given words."; } });