Index

Type aliases

Variables

Functions

Object literals

Type aliases

onLineCallback

onLineCallback: function

Type declaration

    • (exStr: string): void
    • Parameters

      • exStr: string

      Returns void

Variables

listeners

listeners: Set<function> = new Set<onLineCallback>()

Functions

allWindowTabs

  • allWindowTabs(): Promise<browser.tabs.Tab[]>

currentWindowTabs

  • currentWindowTabs(): Promise<browser.tabs.Tab[]>

hide

  • hide(tabid?: any): Promise<void>

history

  • history(): Promise<browser.history.HistoryItem[]>

recvExStr

  • recvExStr(exstr: string): void

show

  • show(focus?: boolean): Promise<void>

Object literals

onLine

onLine: object

CommandLine API for inclusion in background script

Receives messages from commandline_frame

addListener