Changed redirect type default to main_frame

This commit is contained in:
ManeraKai 2023-01-29 23:19:33 +03:00
parent ede16c0066
commit 73db935742
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
4 changed files with 15 additions and 8 deletions

View File

@ -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,

View File

@ -19,7 +19,14 @@
"48": "assets/images/libredirect-48.png",
"128": "assets/images/libredirect-128.png"
},
"permissions": ["webRequest", "webRequestBlocking", "storage", "unlimitedStorage", "clipboardWrite", "contextMenus", "<all_urls>"],
"permissions": [
"webRequest",
"webRequestBlocking",
"storage",
"clipboardWrite",
"contextMenus",
"<all_urls>"
],
"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"
}
}

View File

@ -13,7 +13,6 @@ for (const a of document.getElementById("links").getElementsByTagName("a")) {
})
}
config = await utils.getConfig()
options = await utils.getOptions()

View File

@ -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")