mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-09 17:04:39 +00:00
show busy indicator in menu when triggered from shortcut
This commit is contained in:
parent
50dd1c3150
commit
39b66f2f8c
3 changed files with 19 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue