click either of the links:
most of the time 2 separate AuRequests / WsMessages are sent to the server
1. onHistoryPopState (immediately)
2. onBookmarkChange (after a delay <250ms)
both events should be sent at in a single request / ws message
onBookmarkChange relies on a fixed interval of 250ms
The check if the bookmark has changed can be triggered immediately during the event handling for onHistoryPopState to avoiding the delay and double request.
This requires exposing and calling the checkBookmark function.
Alternative is firing a client side event and listen to it from bookmark.js.