mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
parent
a7661f8cd3
commit
97b60dcc70
4 changed files with 17 additions and 1 deletions
4
dist/manifest_chromium.json
vendored
4
dist/manifest_chromium.json
vendored
|
|
@ -38,6 +38,10 @@
|
|||
"matches": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"exclude_matches": [
|
||||
"*://*/*.xml*",
|
||||
"file:///*.xml*"
|
||||
],
|
||||
"js": [
|
||||
"common/browser-polyfill.min.js",
|
||||
"common/global.js",
|
||||
|
|
|
|||
4
dist/manifest_firefox.json
vendored
4
dist/manifest_firefox.json
vendored
|
|
@ -51,6 +51,10 @@
|
|||
"matches": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"exclude_matches": [
|
||||
"*://*/*.xml*",
|
||||
"file:///*.xml*"
|
||||
],
|
||||
"js": [
|
||||
"common/browser-polyfill.min.js",
|
||||
"common/global.js",
|
||||
|
|
|
|||
|
|
@ -845,7 +845,7 @@ kpxc.updateTOTPList = async function() {
|
|||
|
||||
// Apply a script to the page for intercepting Passkeys (WebAuthn) requests
|
||||
kpxc.enablePasskeys = function() {
|
||||
if (document?.documentElement?.ownerDocument?.contentType === 'text/xml') {
|
||||
if (document?.documentElement?.ownerDocument?.contentType !== 'text/html') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -925,6 +925,10 @@ kpxc.enablePasskeys = function() {
|
|||
*/
|
||||
const initContentScript = async function() {
|
||||
try {
|
||||
if (document?.documentElement?.ownerDocument?.contentType !== 'text/html') {
|
||||
return;
|
||||
}
|
||||
|
||||
const settings = await sendMessage('load_settings');
|
||||
if (!settings) {
|
||||
logError('Error: Cannot load extension settings');
|
||||
|
|
|
|||
|
|
@ -52,6 +52,10 @@
|
|||
"matches": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"exclude_matches": [
|
||||
"*://*/*.xml*",
|
||||
"file:///*.xml*"
|
||||
],
|
||||
"js": [
|
||||
"common/browser-polyfill.min.js",
|
||||
"common/global.js",
|
||||
|
|
|
|||
Loading…
Reference in a new issue