24直播网由【LV】提供各种体育赛事直播,为你提供足球直播高清免费观看、足球直播免费观看直播包括体育直播、CCTV5在线直播、中超直播和五大联赛(英超,意甲,德甲,西甲,法甲)国足、亚冠、欧冠直播等各种足球篮球赛事直播,为球迷朋友贡献精彩体育赛事直播。
当前位置:
_open_url').forEach(item => { item.addEventListener('click', function() { const url = this.getAttribute('title'); ECMSSetCookie('vlu', url); const CTM = Math.floor(new Date().getTime()/1000); const API_HOST = window.location.host; const API_PATH = url; const REFERRER = window.location.href; const UA = navigator.userAgent; const API_ROUTE_TJ = '//' + API_HOST +'/statistic/tj'; fetch(API_ROUTE_TJ, { method: 'POST', headers: { 'Accept': 'application/x-www-form-urlencoded' }, body: new URLSearchParams({ 'h': API_HOST, 'r': REFERRER, 't': CTM, 'p': API_PATH, 'u': UA, 'e': 1, 'l': 2 }) }) .then(response => { if (response.ok) { return response.json().catch(() => response.text()); } else { throw new Error("请求失败,状态码: " + response.status); } }) .then(data => {console.log('success'); }) .catch(err => { console.error('请求发生错误:', err); }); if (url) { if(url.indexOf('statistic/zhiboclick?d=')>0) { var xhr = new XMLHttpRequest(); xhr.open('GET', '/statistic/zhiboclick', true); xhr.responseType = 'json'; xhr.send(); } window.open(url, '_blank'); } }); });