1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-16 10:45:20 +01:00

[EC-598] feat: load page script from content script

This commit is contained in:
Andreas Coroiu 2022-11-18 10:01:33 +01:00
parent ac3cd6ab6a
commit 62cfcb6dc0
No known key found for this signature in database
GPG Key ID: E70B5FFC81DFEC1A

View File

@ -1,2 +1,6 @@
// eslint-disable-next-line no-console
console.log("content-script loaded");
const s = document.createElement("script");
s.src = chrome.runtime.getURL("content/webauthn/page-script.js");
(document.head || document.documentElement).appendChild(s);