diff --git a/lob.li crx/js/contextmenu.js b/lob.li crx/js/contextmenu.js index 0d8ca44..7dc8abb 100644 --- a/lob.li crx/js/contextmenu.js +++ b/lob.li crx/js/contextmenu.js @@ -13,3 +13,8 @@ chrome.runtime.onInstalled.addListener(function() { chrome.contextMenus.create({"title": "Shorten link to this file with lob.li", "contexts": ["image", "video", "audio"], "id": "shortenFile"}); chrome.contextMenus.create({"title": "Shorten link with lob.li", "contexts": ["link"], "id": "shortenLink"}); }); + +chrome.runtime.onStartup.addListener(function(){ + chrome.contextMenus.create({"title": "Shorten link to this file with lob.li", "contexts": ["image", "video", "audio"], "id": "shortenFile"}); + chrome.contextMenus.create({"title": "Shorten link with lob.li", "contexts": ["link"], "id": "shortenLink"}); +});