How to delete history entries added through history.pushstate?

I want to completely delete some history entries added through history.pushState , instead of using history.replaceState to change them. How do I achieve this?

+6
source share
1 answer

Editing records from a previous story is not possible. From the history documentation:

All recipients and setters for attributes and all methods defined in the History interface, when called in the History object associated with a Document that is not fully active, must raise a SecurityError exception

http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#the-history-interface

+1
source

Source: https://habr.com/ru/post/954548/


All Articles