禁用浏览器后退键的神代码:
history.pushState(null, null, document.URL)
window.addEventListener('popstate', function () {
})
原文:点击打开链接