$(document).ready(function() {
if(window.history && window.history.pushState) {
$(window).on('popstate', function() {
window.history.pushState('forward', null, '#');
window.history.forward(1);
});
}
window.history.pushState('forward', null, '#');
window.history.forward(1);
});
jquery,js,禁用移动端物理返回键
最新推荐文章于 2024-05-21 12:27:36 发布