Module: background script - browserWindow

Members

(inner) currentTabs

Keeps track of the tabs which are currently open to create fake connections.
Source:

(inner) specialTabs

Keeps track of the tabs which are used to find out search parameters.
Source:

(inner) windowId

Saves the id of a minimized extra window in which the extension creates fake connections. This extra window is minimized in order to not distract the user at his work.
Source:

Methods

(inner) addBrowserAction()

Opens the extension options page whenever the user clicks on the extension icon.
Source:

(inner) addDebugListener()

Listener for debug mode: Saves variables to storage when the extension window is closed (this means the browser can be left open).
Source:

(inner) addListenerOnClose()

Adds listener to the window which execute when the window gets closed.
Source:

(inner) createWindow()

Creates the hidden window and starts the application. It also updates the value of the variable windowId, so we can access the window at any time. Note: This function gets only called, if condition 'indexedDB' in window is true. This means that this extension needs indexedDB in order to run.
Source: