diff --git a/extension/manifest.json b/extension/manifest.json index b2c2051..713ee46 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -37,6 +37,13 @@ "https://www.googleapis.com/*", "https://i.ytimg.com/*", "https://twemoji.maxcdn.com/*", + "https://cdn.jsdelivr.net/gh/twitter/*", "storage" - ] + ], + + "browser_specific_settings": { + "gecko": { + "id": "fimfic2epub@mozilla.org" + } + } } diff --git a/src/main.js b/src/main.js index 3530b0d..f679448 100644 --- a/src/main.js +++ b/src/main.js @@ -378,7 +378,7 @@ function createEpub (model) { function openStory (id) { chrome.storage.sync.get(['ffcOptions', 'version'], function (result) { - const options = result.ffcOptions + const options = result ? result.ffcOptions : {} // Reset options on new version // if (result.version !== FIMFIC2EPUB_VERSION) { // options = {}