<!doctype html><html lang="ko"><head><meta charset="UTF-8"><meta name="referrer" content="always"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=2,user-scalable=no,viewport-fit=cover"><style>body{margin: -10000px}</style><style>@media (prefers-color-scheme: dark) {
body,html{background-color:#1e1e1e}
}</style><script>// window.appChunks={
// "0":0
// };
//页面显示后,监听事件
window.onpageshow = function(){
var ua = window.navigator.userAgent.toLowerCase();
var isSafari = ua.indexOf('safari') > -1 && ua.indexOf('chrome') < 0;
if (window.device.mobile() && isSafari) {
//默认为第一次进入的导航页附加一个 tag
this.history.replaceState(location.hash, '', location.hash);
//监听 hashchange 事件
window.addEventListener('hashchange', function() {
//为当前导航页附加一个 tag
this.history.replaceState(location.hash, '', location.hash);
}, false);
//监听浏览器前进后退
window.addEventListener('popstate', function(e) {
var state = e.state || window.history.state || '';
//页面点击按钮去往另一个页面时,popstate中state属性不会有值,当用户点击前进后退后,会出现我们前面设置的state
if (state !== '') {
//侦测是用户触发的前进后退操作,设置isPopstate为true,提供阻止body渲染,并刷新当前 url
window.isPopstate = true;
window.location.reload();
} else {
window.isPopstate = false;
}
}, false);
}
};</script><script defer="defer" src="https://ssl.pstatic.net/dicimg/my-wordbook/js/vendors-3221a143190e5e47874580cac9d26019.js"></script><script defer="defer" src="https://ssl.pstatic.net/dicimg/my-wordbook/js/commons-a380f9b0f093147b066847fdec15f80f.js"></script><script defer="defer" src="https://ssl.pstatic.net/dicimg/my-wordbook/js/polyfill.a5e1282e8304db05d3dc.js"></script><script defer="defer" src="https://ssl.pstatic.net/dicimg/my-wordbook/js/index.e96e9bea.10b793aacfa76fe04ead.js"></script><script defer="defer" src="https://ssl.pstatic.net/dicimg/my-wordbook/js/index.66c6e027.18ab48d1b4ba87939863.js"></script><script defer="defer" src="https://ssl.pstatic.net/dicimg/my-wordbook/js/index.53027715.dae49da8c08f7904a4e4.js"></script></head><body></body></html>
댓글 0