<script language="javascript">
<!--
writeCookie();
function writeCookie()
{
var today = new Date();
var the_date = new Date("December 31, 2023");
var the_cookie_date = the_date.toGMTString();
var the_cookie = "users_resolution="+ screen.width +"x"+ screen.height;
var the_cookie = the_cookie + ";expires=" + the_cookie_date;
document.cookie=the_cookie
location = 'screen.php';
}
//-->
</script>
此脚本检测屏幕分辨率。如果我在浏览器中“打开”阻止 cookie,我会得到一个“迷你 ddos”,一个无休止的更新站点页面 screen.php。如何摆脱这种局面?