Ubiquity已經很多人介紹了,這裡是分享一個 commands,如果你有用 Findbook 的話,可以用用看…
安裝 command 方法很簡單,打開 Ubiquity Command Editor 後,把下面的程式碼貼上去即可:
CmdUtils.CreateCommand({ name: "findbook", author: { name: "elleryq"}, contributors: ["elleryq"], license: "MPL", description: "讓買書變成更簡單的決定!", takes: {"書名關鍵字": noun_arb_text}, icon: "http://findbook.tw/favicon.ico", execute: function(directObject) { Utils.openUrlInBrowser( "http://findbook.tw/search?keyword_type=keyword&q=" + directObject.text ); } });