webpg.overlay

This class implements the overlay/content-script for the extension

Summary
webpg.overlayThis class implements the overlay/content-script for the extension
Functions
initThis function is called when a new window is created.
onContextCommandHandles context and menu requests
listenerUnloadThis function unloads then event listener when the window/tab is closed.

Functions

init

init: function(aEvent)

This function is called when a new window is created.  It sets the preferences and calls the parsing functions.

Parameters

aEvent<event> The window event

onContextCommand

onContextCommand: function(event,
action,
sender)

Handles context and menu requests

Parameters

event<event> The original event
action<str> The action to perform

listenerUnload

listenerUnload: function(aEvent)

This function unloads then event listener when the window/tab is closed.

Parameters

aEvent<event> The window event
init: function(aEvent)
This function is called when a new window is created.
onContextCommand: function(event,
action,
sender)
Handles context and menu requests
listenerUnload: function(aEvent)
This function unloads then event listener when the window/tab is closed.
Close