Molybden API
|
A class that contains all navigation events. More...
#include <navigation_events.hpp>
Public Attributes | |
Event< NavigationStarted > | onNavigationStarted |
Invoked when a navigation has been started. | |
Event< NavigationFinished > | onNavigationFinished |
Invoked when a navigation has been finished. | |
Event< NavigationRedirected > | onNavigationRedirected |
Invoked when a navigation has encountered a server redirect. | |
Event< NavigationStopped > | onNavigationStopped |
Invoked when a navigation has been stopped. | |
Event< LoadProgressChanged > | onLoadProgressChanged |
Invoked when the web page loading progress has been changed. | |
Event< FrameLoadFailed > | onFrameLoadFailed |
Invoked when the frame load has been failed. | |
Event< FrameLoadFinished > | onFrameLoadFinished |
Invoked when the frame load has been finished. | |
Event< FrameDocumentLoadFinished > | onFrameDocumentLoadFinished |
Invoked when the frame document load has been finished. | |
Event< LoadStarted > | onLoadStarted |
Invoked when the load has been started. | |
Event< LoadFinished > | onLoadFinished |
Invoked when the load has been finished. | |
A class that contains all navigation events.
Event<FrameDocumentLoadFinished> molybden::NavigationEvents::onFrameDocumentLoadFinished |
Invoked when the frame document load has been finished.
At this point, deferred scripts were executed, and content scripts marked "document_end" get injected into the frame.
Use the following approach to subscribe to receiving the event:
Event<FrameLoadFailed> molybden::NavigationEvents::onFrameLoadFailed |
Invoked when the frame load has been failed.
Use the following approach to subscribe to receiving the event:
Event<FrameLoadFinished> molybden::NavigationEvents::onFrameLoadFinished |
Invoked when the frame load has been finished.
Use the following approach to subscribe to receiving the event:
Event<LoadFinished> molybden::NavigationEvents::onLoadFinished |
Invoked when the load has been finished.
This event corresponds to the moment when the spinner of the tab stops spinning.
Use the following approach to subscribe to receiving the event:
Event<LoadProgressChanged> molybden::NavigationEvents::onLoadProgressChanged |
Invoked when the web page loading progress has been changed.
Use the following approach to subscribe to receiving the event:
Event<LoadStarted> molybden::NavigationEvents::onLoadStarted |
Invoked when the load has been started.
This event corresponds to the moment when the spinner of the tab starts spinning.
Use the following approach to subscribe to receiving the event:
Event<NavigationFinished> molybden::NavigationEvents::onNavigationFinished |
Invoked when a navigation has been finished.
This happens when a navigation is committed, aborted, or replaced by a new one.
Use the following approach to subscribe to receiving the event:
Event<NavigationRedirected> molybden::NavigationEvents::onNavigationRedirected |
Invoked when a navigation has encountered a server redirect.
Use the following approach to subscribe to receiving the event:
Event<NavigationStarted> molybden::NavigationEvents::onNavigationStarted |
Invoked when a navigation has been started.
This is also fired by same-document navigations, such as fragment navigations or pushState/replaceState, which will not result in a document change. To filter these out, use the NavigationStartedArgs::is_same_document
property.
More than one navigation can be ongoing in a single frame at the same time (including the main frame). There is no guarantee that OnNavigationFinished
will be fired for any particular navigation before this event is called on the next.
Use the following approach to subscribe to receiving the event:
Event<NavigationStopped> molybden::NavigationEvents::onNavigationStopped |
Invoked when a navigation has been stopped.
Use the following approach to subscribe to receiving the event: