It would be nice if there was some theoretical HTML5 JS way to change the URL but skip insertion in history. The reality is that very, very few people use browser history, though. I know I almost never do, in a decade of web browsing pretty much all day every day.