Manipulate session history with JavaScript

I need to remove the last 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.

+1


source to share


3 answers


Can you use location.replace on IFrame?



+1


source


I highly doubt there is a way. The object window.history

provides read-only access to the browsing history for security reasons.



+1


source


This cannot be done with javascript (within the normal options that are there, you can try using a browser error etc., but I doubt that is the idea here)

+1


source







All Articles