import AutofillField from "../models/autofill-field"; import { WatchedForm } from "../models/watched-form"; import AddLoginRuntimeMessage from "../notification/models/add-login-runtime-message"; import ChangePasswordRuntimeMessage from "../notification/models/change-password-runtime-message"; import { FormData } from "../services/abstractions/autofill.service"; import { GlobalSettings, UserSettings } from "../types"; import { getFromLocalStorage, setupExtensionDisconnectAction } from "../utils"; interface HTMLElementWithFormOpId extends HTMLElement { formOpId: string; } /** * @fileoverview This file contains the code for the Bitwarden Notification Bar content script. * The notification bar is used to notify logged in users that they can * save a new login, change a existing password on a password change screen, * or update an existing login after detecting a different password on login. * * Note: content scripts are reloaded on non-SPA page change. */ /* * Run content script when the DOM is fully loaded * * The DOMContentLoaded event fires when the HTML document has been completely parsed, * and all deferred scripts (