Affecting History navigation methods are now asynchronous

Published: | Categories: HTML


Starting with Firefox 70, the history.back, history.forward and history.go methods will behave asynchronously like Google Chrome and Apple Safari. This change may break any site relying on (browser detection and) the synchronous behaviour which can still be seen in Microsoft Edge, as pointed out in a bug comment. You can listen to the popstate event to know when a history navigation is complete.

Update: This change is affecting Wikipedia.