diff --git a/background.js b/background.js index 460f547..5c12df0 100644 --- a/background.js +++ b/background.js @@ -65,6 +65,8 @@ chrome.pageAction.onClicked.addListener(function(tab) { if(config.replacebookmark) { replaceBookmark(url, newUrl); } + + worker.terminate(); }; worker.postMessage(JSON.stringify({pomfclone: config.url, url: betterUrl, filename: filename})); }); diff --git a/options.html b/options.html index 1bd13ac..67f91a3 100644 --- a/options.html +++ b/options.html @@ -42,6 +42,7 @@