Update for MV3 and Chrome compatibility

This commit is contained in:
Simeon Vincent
2024-07-18 15:46:43 -07:00
parent 91c8d7e708
commit d7641d9261
5 changed files with 26 additions and 11 deletions
+3
View File
@@ -1,3 +1,6 @@
// Polyfill the "browser" global in Chrome.
globalThis.browser ??= chrome;
const usernameInput = document.querySelector("#username");
const passwordInput = document.querySelector("#password");