diff --git a/js/chromium.js b/js/chromium.js index 5d3e5ee2..47574a4d 100644 --- a/js/chromium.js +++ b/js/chromium.js @@ -275,7 +275,12 @@ if (chrome.runtime.onInstalled) { chrome.runtime.onInstalled.addListener(function(options) { if (options.reason === 'install') { + console.log('new install'); extension.install(); + } else if (options.reason === 'update') { + console.log('new update. previous version:', options.previousVersion); + } else { + console.log('onInstalled', options.reason); } }); }