history

   var detectBack = {
        initialize: function() {
            $(window).unbind('hashchange').bind('hashchange', function(){
            });
            $(window).unbind('popstate').bind('popstate', function(e){
                this.location.reload();
            });
        }
    }; 
    detectBack.initialize();
原文地址:https://www.cnblogs.com/web-fusheng/p/7574448.html