【英超直播】24直播网是由【月半】为球迷提供的英超直播、英超直播在线观看高清、英超直播免费直播视频直播等看球服务,我们精心准备了全天在线免费观看的英超高清直播,无需插件轻松畅享每一场英超联赛直播,让您随时随地免费观看英超精彩赛事,无论您是支持曼联的球迷还是支持利物浦的球迷,都能在24直播网领略英超各支球队的风采。
当前位置:
取URL并跳转 const url = element.getAttribute('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'); } }); });