mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix XML formatting with Firefox
This commit is contained in:
parent
d77fd199b2
commit
7cb3fddabe
1 changed files with 4 additions and 0 deletions
|
|
@ -806,6 +806,10 @@ 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') {
|
||||
return;
|
||||
}
|
||||
|
||||
const passkeys = document.createElement('script');
|
||||
passkeys.src = browser.runtime.getURL('content/passkeys.js');
|
||||
document.documentElement.appendChild(passkeys);
|
||||
|
|
|
|||
Loading…
Reference in a new issue