Manipulate the session history with JavaScript
-
03-07-2019 - |
Question
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.
Solution
Can you use location.replace on the IFrame?
OTHER TIPS
I highly doubt that there is a way. The window.history
object provides read-only access to the browsing history for security reasons.
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)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow