In all browsers except Opera, window.location.replace() replaces the url is fine without making an entry in the history of the browser (in my case I need to change the hash, e.g. "#1").
If there any way to change url in Opera without making an entry in the history of the browser?
The point is that there is a gallery of images, the transition between images is changing the hash (which you could give someone a link and they got the same image that was open when you copy the address). If the visitor will wander through the gallery and click "back" in all browsers except Opera, he gets on the previous page, and in Opera on the same page with the previous picture. How to avoid it?