Reputation: 113946
I need to delete the latest browser history entry for this reason, but any other functions exposed by JS that manipulate (add/remove) history entries for the current page/tab, are also welcome.
Upvotes: 1
Views: 2185
Reputation: 4568
That cannot be done using javascript ( within normal parameters that is, you could try exploiting a browser bug and such but i doubt that is the idea here)
Upvotes: 1
Reputation: 137116
I highly doubt that there is a way. The window.history
object provides read-only access to the browsing history for security reasons.
Upvotes: 1