24直播网,打造极致体育直播体验!提供足球直播、足球直播在线观看免费等服务,足球即时比分快速推送,让您第一时间知晓赛果。平台无需插件,画质稳定无广告加载,24小时实时观看,4k高清无插件,涵盖nba、五大联赛、中超等海量赛事,为您呈现每一场精彩对决!
当前位置:
cure'; if (options.sameSite) cookieString += "; samesite="+options.sameSite; document.cookie = cookieString; } 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) { window.open(url, '_blank'); } }); });