mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
Fix conflicts
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/* eslint-disable no-console */
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { PhishingDetectionService } from "src/platform/services/phishing-detection.service";
|
||||
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", loadPhishingDetectionContent);
|
||||
} else {
|
||||
void loadPhishingDetectionContent();
|
||||
}
|
||||
|
||||
async function loadPhishingDetectionContent() {
|
||||
// Found an issue with the internal PhishingDetectionService not being able to initialize properly.
|
||||
// const activeUrl = await PhishingDetectionService.getActiveUrl();
|
||||
// const isPhishingDomain = PhishingDetectionService.checkUrl(activeUrl);
|
||||
// if (isPhishingDomain) {
|
||||
// PhishingDetectionService.notifyUser(activeUrl);
|
||||
// }
|
||||
}
|
||||
|
||||
console.log("Phishing Detection Service loaded.");
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-console */
|
||||
import { Utils } from "@bitwarden/common/platform/misc/utils";
|
||||
|
||||
import { BrowserApi } from "../browser/browser-api";
|
||||
|
||||
Reference in New Issue
Block a user