This feature is experimental. It may be removed or changed in a future version without prior notice or deprecation.
This event is emitted before a new history entry is added.
The URL for the history entry that is going to be added.
Event listeners may call this method to prevent the history entry from being added.