Skip to content

main

background/main

DNS Forge - Background Engine (ES Module) This is the main entry point for the background service worker. It initializes storage, registers network request listeners, manages context menus, and handles background alarms and messaging.

background/main.initializeBackground()

Bootstraps the background engine. Initializes storage, sets up context menus, registers request and message listeners, and starts periodic tasks (alarms).

Kind: static method of background/main

background/main~setupContextMenus()

Creates the extension's context menu entries for allowing/denying domains.

Kind: inner method of background/main