mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Remove injected passkeys script from DOM tree
It helps to hide it from `document.scripts`
This commit is contained in:
parent
2fb4b371e6
commit
37dca875a0
1 changed files with 2 additions and 1 deletions
|
|
@ -8,13 +8,14 @@ const PASSKEYS_WAIT_FOR_LIFETIMER = 30;
|
|||
const enablePasskeys = async function() {
|
||||
const passkeysLogDebug = function(message, extra) {
|
||||
if (kpxcPasskeysUtils.debugLogging) {
|
||||
debugLogMessage(message, extra);
|
||||
debugLogMessage(message, extra);
|
||||
}
|
||||
};
|
||||
|
||||
const passkeys = document.createElement('script');
|
||||
passkeys.src = chrome.runtime.getURL('content/passkeys.js');
|
||||
document.documentElement.appendChild(passkeys);
|
||||
passkeys.remove();
|
||||
|
||||
const startTimer = function(timeout) {
|
||||
return setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue