diff --git a/src/config.json b/src/config.json index ad454e4..a1e88e8 100644 --- a/src/config.json +++ b/src/config.json @@ -85,7 +85,7 @@ "name": "Youtube", "options": { "enabled": false, - "redirectType": "both", + "redirectType": "main_frame", "frontend": "invidious" }, "imageType": "png", @@ -135,7 +135,7 @@ "name": "Twitter", "options": { "enabled": false, - "redirectType": "both" + "redirectType": "main_frame" }, "imageType": "png", "embeddable": true, @@ -200,7 +200,7 @@ "name": "Imgur", "options": { "enabled": false, - "redirectType": "both" + "redirectType": "main_frame" }, "imageType": "png", "embeddable": true, @@ -322,7 +322,7 @@ "options": { "enabled": false, "frontend": "librarian", - "redirectType": "both" + "redirectType": "main_frame" }, "imageType": "png", "embeddable": true, diff --git a/src/manifest.json b/src/manifest.json index bf63610..179d38b 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -19,7 +19,14 @@ "48": "assets/images/libredirect-48.png", "128": "assets/images/libredirect-128.png" }, - "permissions": ["webRequest", "webRequestBlocking", "storage", "unlimitedStorage", "clipboardWrite", "contextMenus", ""], + "permissions": [ + "webRequest", + "webRequestBlocking", + "storage", + "clipboardWrite", + "contextMenus", + "" + ], "browser_action": { "default_title": "__MSG_extensionName__", "browser_style": false, @@ -63,4 +70,4 @@ "default_locale": "en", "update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAroWDSoSRZ1scj+eJRrvnhJbrqXTKnhQuxs6+AJg16sqr0bsMdFV+MSY4i4xnK+K5WOYkBliWXgUyk/wzicoAjOnSJddrL/Md4FuWHI2NVIkrlsLOrYkygi5OLqGPajRH/w8Cdmg7KzEpXe/OnYV0/qS8li8huEdTzdeLdhfbiVl1j3DOr4OJALQ7mPeeNFHFo/oVQ+OkSezWLezA5jUGfhtzPYV6u1TXzX7lCi8E/BbDbwkvvXOMcjXCv08kjdLOY2djCA2a6zr0xAb3q8DlexAMZ8vMof7AQRFtBKhLc9n9VFoipMMdBOVQQj/eIcRILBrmkcZNnJxFKiHNJ+NcZQIDAQAB" -} +} \ No newline at end of file diff --git a/src/pages/options/index.js b/src/pages/options/index.js index bf4ff5a..7b56024 100644 --- a/src/pages/options/index.js +++ b/src/pages/options/index.js @@ -13,7 +13,6 @@ for (const a of document.getElementById("links").getElementsByTagName("a")) { }) } - config = await utils.getConfig() options = await utils.getOptions() diff --git a/src/pages/options/widgets/about.pug b/src/pages/options/widgets/about.pug index 3ef0e86..64d8850 100644 --- a/src/pages/options/widgets/about.pug +++ b/src/pages/options/widgets/about.pug @@ -1,6 +1,7 @@ section(class="option-block" id="about_page") div(class="some-block option-block") - h1(data-localise="__MSG_about__") About + h1 + a(target="_blank" data-localise="__MSG_about__" href="https://libredirect.github.io") About hr div(class="about") div(class="some-block option-block")