Revert to MV2

This commit is contained in:
Simeon Vincent
2025-03-09 17:20:19 -07:00
parent 3d52dce7c8
commit 7bc80b7fae
4 changed files with 2 additions and 15 deletions

View File

@@ -1,8 +1,4 @@
// Polyfill the "browser" global in Chrome.
globalThis.browser ??= chrome;
let target = "https://httpbin.org/basic-auth/*";
let pendingRequests = [];
/*

View File

@@ -1,6 +1,6 @@
{
"description": "Performs basic authentication by supplying stored credentials.",
"manifest_version": 3,
"manifest_version": 2,
"name": "stored-credentials",
"version": "2.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/stored-credentials",
@@ -26,10 +26,7 @@
"webRequest",
"webRequestBlocking",
"webRequestAuthProvider",
"storage"
],
"host_permissions": [
"storage",
"https://httpbin.org/basic-auth/*"
]
}

View File

@@ -1,6 +1,3 @@
// Polyfill the "browser" global in Chrome.
globalThis.browser ??= chrome;
const usernameInput = document.querySelector("#username");
const passwordInput = document.querySelector("#password");

View File

@@ -1,6 +1,3 @@
// Polyfill the "browser" global in Chrome.
globalThis.browser ??= chrome;
/*
Default settings. Initialize storage to these values.
*/