mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 11:33:28 +00:00
Make vault URL check more concise (#2361)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user