views:

533

answers:

3

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.

+1  A: 

I highly doubt that there is a way. The window.history object provides read-only access to the browsing history for security reasons.

Ayman Hourieh
+1  A: 

Can you use location.replace on the IFrame?

jeffamaphone
+1  A: 

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)

Nuno Furtado