An event that is fired in the background script environment when a page visit stops in the content script environment.
- Source:
Methods
(static) addListener(listener, options, privateWindows)
Add a listener for the onPageVisitStop
event.
Parameters:
Name | Type | Description |
---|---|---|
listener |
pageVisitStopListener | The listener to add. |
options |
Object | Options for the listener. |
privateWindows |
boolean | Whether to notify the listener for events in private windows. |
- Source:
(static) hasAnyListeners() → {boolean}
Whether the onPageVisitStop
event has any listeners.
- Source:
Returns:
Whether the event has any listeners.
- Type
- boolean
(static) hasListener(listener) → {boolean}
Whether a specified listener has been added for the onPageVisitStop
event.
Parameters:
Name | Type | Description |
---|---|---|
listener |
pageVisitStopListener | The listener to check. |
- Source:
Returns:
Whether the listener has been added for the event.
- Type
- boolean
(static) removeListener(listener)
Remove a listener for the onPageVisitStop
event.
Parameters:
Name | Type | Description |
---|---|---|
listener |
pageVisitStopListener | The listener to remove. |
- Source:
Type Definitions
pageVisitStopListener(details)
A listener for the onPageVisitStop
event.
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
details |
Object | Additional information about the page visit stop event. Properties
|
- Source: