mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-09-28 23:31:16 +12:00
small extension fixes
This commit is contained in:
parent
57684e19dc
commit
38aeb3017c
2 changed files with 9 additions and 2 deletions
|
@ -37,6 +37,13 @@
|
||||||
"https://www.googleapis.com/*",
|
"https://www.googleapis.com/*",
|
||||||
"https://i.ytimg.com/*",
|
"https://i.ytimg.com/*",
|
||||||
"https://twemoji.maxcdn.com/*",
|
"https://twemoji.maxcdn.com/*",
|
||||||
|
"https://cdn.jsdelivr.net/gh/twitter/*",
|
||||||
"storage"
|
"storage"
|
||||||
]
|
],
|
||||||
|
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "fimfic2epub@mozilla.org"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -378,7 +378,7 @@ function createEpub (model) {
|
||||||
|
|
||||||
function openStory (id) {
|
function openStory (id) {
|
||||||
chrome.storage.sync.get(['ffcOptions', 'version'], function (result) {
|
chrome.storage.sync.get(['ffcOptions', 'version'], function (result) {
|
||||||
const options = result.ffcOptions
|
const options = result ? result.ffcOptions : {}
|
||||||
// Reset options on new version
|
// Reset options on new version
|
||||||
// if (result.version !== FIMFIC2EPUB_VERSION) {
|
// if (result.version !== FIMFIC2EPUB_VERSION) {
|
||||||
// options = {}
|
// options = {}
|
||||||
|
|
Loading…
Reference in a new issue