I saw the chrome extension bitwarden can autofill a basic auth prompt,
but I have no idea how it did this.
Thank you.