mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-10 17:34:47 +00:00
add include style option WIP
This commit is contained in:
parent
e4180c1808
commit
1d6905332b
4 changed files with 51 additions and 2 deletions
|
@ -1,3 +1,18 @@
|
|||
function setIncludeStyle(includeStyle) {
|
||||
chrome.runtime.sendMessage({
|
||||
type: "set include style",
|
||||
includeStyle: includeStyle
|
||||
}, function(response) {
|
||||
});
|
||||
}
|
||||
|
||||
function getIncludeStyle(callback) {
|
||||
chrome.runtime.sendMessage({
|
||||
type: "get include style"
|
||||
}, function(response) {
|
||||
callback(response.includeStyle);
|
||||
});
|
||||
}
|
||||
|
||||
function setCurrentStyle(currentStyle) {
|
||||
chrome.runtime.sendMessage({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue