mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-10 17:34:47 +00:00
misc changes WIP
This commit is contained in:
parent
5d5e35021e
commit
0faa8655d9
4 changed files with 276 additions and 122 deletions
|
@ -2,6 +2,14 @@ var allStyles = [];
|
|||
var currentStyle = null;
|
||||
var appliedStyles = [];
|
||||
|
||||
// FIXME
|
||||
chrome.runtime.onMessage.addListener((obj) => {
|
||||
console.log('new MEESSSAAAGGGEE', obj);
|
||||
if (obj.shortcut === 'build-ebook') {
|
||||
// dispatch('extract-page', false);
|
||||
buildEbook(obj.response);
|
||||
}
|
||||
})
|
||||
|
||||
// create menu labels
|
||||
document.getElementById('menuTitle').innerHTML = chrome.i18n.getMessage('extName');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue