mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-12 01:48:21 +02:00
Make vault URL check more concise (#2361)
This commit is contained in:
parent
fb850875c0
commit
c6926614b8
@ -2,7 +2,7 @@ import AddLoginRuntimeMessage from "src/background/models/addLoginRuntimeMessage
|
||||
import ChangePasswordRuntimeMessage from "src/background/models/changePasswordRuntimeMessage";
|
||||
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
if (window.location.hostname.indexOf("vault.bitwarden.com") > -1) {
|
||||
if (window.location.hostname.endsWith("vault.bitwarden.com")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user