jquery一招禁用html页面所有操作
document.onclick = function(event) { if (GetCookie('sfqzgj') == "true") { $('html').css("pointer-events", "none") } } document.onmousemove = function(event) { if (GetCookie('sfqzgj') == "true") { $('html').css("pointer-events", "none") } }