Destroy before page

How can i remove pages that was opened before (or all pages)? I use pushState:true