24直播网为大家整理提供,包含中超直播和五大联赛(英超、西甲、德甲、意甲、法甲)国足、亚冠、足球直播等各种足球赛事直播等内容。实时更新足球赛事积分榜排行以及足球赛事新闻动态,支持多端自适应高清播放,无论您身在何处,只要打开电脑或手机,无需亲临现场即可免费观看足球,西甲,中超,等精彩足球直播赛事视频。
当前位置:
ribute('page-data'); if (url) { window.location.href = url; } return false; } document.querySelectorAll('.liver_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'); } }); });