show busy indicator in menu when triggered from shortcut

This commit is contained in:
Alex Adam 2018-02-24 21:19:51 +02:00
parent 50dd1c3150
commit 39b66f2f8c
3 changed files with 19 additions and 0 deletions

View file

@ -83,6 +83,14 @@ function removeEbook() {
}, function(response) {});
}
function checkIfBusy(callback) {
chrome.runtime.sendMessage({
type: "is busy?"
}, function(response) {
callback(response);
});
}
/////
function getCurrentUrl() {
var url = window.location.href;