Example #1
0
 onCommand: function() {
   if (activeTask) {
     // Add bookmark
     addBookmark(activeTask._id, tabs.activeTab.url, tabs.activeTab.title, "", tabs.activeTab.getThumbnail());
   }
 }
Example #2
0
 onMessage: function (link) {  
   if (activeTask) {
     // Add bookmark
     addBookmark(activeTask._id, link, link, "", tabs.activeTab.getThumbnail());
   }
 }