Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/bg/background

The background script for the extension.

remarks

We can't be an Event Page because we use the chrome.webRequest API

Index

Events

onChromeMessage

  • onChromeMessage(request: IMsgType, sender: MessageSender, response: ChromeMsg.ResponseCB): boolean

onIconClicked

  • onIconClicked(): Promise<void>

onInstalled

  • onInstalled(details: InstalledDetails): Promise<void>

onStartup

  • onStartup(): Promise<void>

onStorageChanged

  • onStorageChanged(ev: StorageEvent): void

onTabUpdated

  • onTabUpdated(tabId: number): Promise<void>

Functions

initializeFirebase

  • initializeFirebase(): Promise<void>

Generated using TypeDoc