Members
(constant) State :number
- Description:
- Enum of all possible Blocker states.
- Source:
Enum of all possible Blocker states.
Type:
- number
state
- Description:
- Gets state.
- Source:
Gets state.
state
- Description:
- Sets state.
- Source:
Sets state.
Methods
(async, protected) _hblockToggle() → {boolean}
- Description:
- Toggles hBlock.
- Source:
Returns:
true if hBlock was toggled successfully, false otherwise.
- Type
- boolean
(protected) _onChecked() → {void}
- Description:
- Responds to checking/unchecking the extension toggle.
- Source:
Returns:
- Type
- void
(async, protected) _onClicked() → {void}
- Description:
- Responds to clicks in the extension toggle.
- Source:
Returns:
- Type
- void
(protected) _onNetworkChanged() → {void}
- Description:
- Responds to network changes.
- Source:
Returns:
- Type
- void
(protected) _onStateChanged() → {void}
- Description:
- Responds to changes in Blocker's state.
- Source:
Returns:
- Type
- void
destroy() → {void}
- Description:
- Destroys the object.
- Source:
Returns:
- Type
- void
destroy() → {void}
- Description:
- Destroys the object.
- Source:
Returns:
- Type
- void
destroy() → {void}
- Description:
- Destroys the object.
- Source:
Returns:
- Type
- void
disable() → {void}
- Description:
- Disable the extension.
- Source:
Returns:
- Type
- void
enable() → {void}
- Description:
- Enable the extension.
- Source:
Returns:
- Type
- void
isIntermediary() → {boolean}
- Description:
- Checks whether the state of the object is temporary.
- Source:
Returns:
true if the state of the object is temporary, false otherwise.
- Type
- boolean
nextState() → {State}
- Description:
- Returns the state that would naturally follow the object's current state.
- Source:
Returns:
the state that follows the object's current state.
- Type
- State