Here's [grizzlyweb.com] a script that says it will do what you want. The page offers two versions of framebuster code. Version 1 -- the longer one -- maintains an intuitive history list.
By the way, I was thinking about your "wish" to be able to change browser history -- that would certainly open some outrageous security holes, wouldn't it! Sort of like my pet wish to be able to view a browser window's history when someone visits. Not gonna happen, I'm pretty sure.
I probably wouldn't like what other sites would think up to do to me in such a world anyway. [marker rcjordan frames js]