本周末免費足球直播好熱鬧

作者:
"; var str2 = "
"; $(dfp).replaceWith(str); $(dfp2).replaceWith(str2); infiniteItem.setAttribute('pageNum', pageNum); //ga('send', 'event', '載入更多', 'Load', docId); var link = 'https://ezone.hk/article/'+docId+'/'+headline; var _comscore = _comscore || []; _comscore.push({ c1: "2", c2: "19001509", c4: link}); (function() { var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true; s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js"; el.parentNode.insertBefore(s, el); })(); $('div#loadingAnimation').hide(); } }); }); $(function(){ $(window).bind('scroll', function() { $('.infinite-item').each(function() { var infiniteItem = $(this); var documentId = infiniteItem.find(".article").data("docid"); var headline = infiniteItem.find(".article").data("headline"); var urlTitle = infiniteItem.find(".article").data("seourltitle").trim(); urlTitle = urlTitle.replace(/[" !!「」【】《》〔〕[][]【】〖〗、\\|『』.?$:"&$#%(())*+,https://ezone.hk/article/1873576/:;<=>??@[\]^`{|│|}~–—]+/g, "-"); urlTitle = urlTitle.replace(/^-+/, '').replace(/-+$/, ''); var headline = infiniteItem.find(".article").data("matomochannelcode"); var metatitle = infiniteItem.find(".article").data("metatitle"); var position = infiniteItem.position().top - $(window).scrollTop(); var author = infiniteItem.find(".article").data("author"); var main_cate = infiniteItem.find(".article").data("sectionname"); var sub_cate = infiniteItem.find(".article").data("subsectionname"); var taglist = infiniteItem.find(".article").data("formaltag"); var publishdate = infiniteItem.find(".article").data("publishdate"); const pDate = publishdate.split(" "); const reformDate = pDate[0].split("-"); var formDate = reformDate[2]+'-'+reformDate[1]+'-'+reformDate[0]; var tags = infiniteItem.find(".article").data("tags"); var pageurl = window.location.origin +'/article/'+ documentId +'/'+ headline +'?ref=scroll'; if ((position <= 0) &&(position>-200)){ var page; if(infiniteItem.attr('pageNum')==null){ page = "1"; } else{ page = infiniteItem.attr('pageNum'); } var currentUrl = window.location.href; if(currentUrl.indexOf(documentId) == -1){ $(document).attr("title", metatitle); window.history.replaceState('nextPage', 'Title', '/article/'+documentId+'/'+urlTitle); $('meta[property=og\:url]').attr('content', window.location.href); $('meta[name=twitter\:url]').attr('content', window.location.href); //ga('send', 'pageview', {'page': '/article/'+documentId+'/'+headline+'?ref=scroll', 'title': metatitle}); console.log("gaInfinite: " + metatitle); window.dataLayer.push({ 'event':'ultriggerpageview', 'ga4': { 'pageview_event_name': 'infinite_scroll', 'service': 'article', 'title': metatitle, 'content': {'id':documentId == null ?'NA':documentId.toString(),'type':'article'}, 'category': '科技', 'video':{'program':'NA'}, 'author': author==null||author==''?'NA':author, 'taglist':tags==null||tags==''?'NA':tags, 'publishdate': formDate==null||formDate==''?'NA':formDate, 'primary': { 'main': main_cate == null||main_cate =='' ? 'NA' : main_cate, 'sub': sub_cate == null||sub_cate ==''? 'NA' : sub_cate }, 'pageurl': pageurl, 'pagename':metatitle} }); window.dataLayer.push({ 'gapageview' : { 'dimension11': author, 'matomoDimension2' : documentId, 'page' : '/article/'+documentId+'/'+headline+'?ref=scroll', 'title' : metatitle }, 'matomo' : { 'channelCode' : "test", 'referrerUrl' : currentUrl, 'customUrl' : '/article/'+documentId+'/'+headline+'?ref=scroll', 'documentTitle' : metatitle } }); window.dataLayer.push({ 'event' : 'infinitescroll' }); } } else { } }); }); }); function setUpPhotoSwipe(){ var pageNum = $('.infinite-item').length; var className = "photoSwipe" + pageNum; $('.photoSwipe').each( function() { $(this).attr('class', className); }); } function setCookie(c_name,value,expiredays){ document.cookie=c_name+ "=" +escape(value)+ ";path=/"; } function getCookie(c_name){ if (document.cookie.length>0){ c_start=document.cookie.indexOf(c_name + "=") if (c_start!=-1){ c_start=c_start + c_name.length+1 c_end=document.cookie.indexOf(";",c_start) if (c_end==-1) c_end=document.cookie.length return unescape(document.cookie.substring(c_start,c_end)) } } return "" } function updateClass(contentClass,ezoneHeadingClass){ $('.infinite-item').children().each(function() { //console.log( $('.infinite-item').children().find('.ezone-heading') ); var content = $('.infinite-item').children().find('.content'); content.attr("class", "content " + contentClass); var ezoneHeading = $('.infinite-item').children().find('.ezone-heading'); ezoneHeading.attr("class", "col-md-12 text-center ezone-heading " + ezoneHeadingClass); }); } function wordResize(){ var contentClass = getCookie("article__contentClass"); var ezoneHeadingClass = getCookie("article__ezoneHeadingClass"); if(contentClass!=null && contentClass!=""){ updateClass(contentClass,ezoneHeadingClass); } else { setCookie("article__contentClass",""); setCookie("article__ezoneHeadingClass",""); } //console.log("contentClass(wordResize): " + contentClass); //console.log("ezoneHeadingClass(wordResize): " + ezoneHeadingClass); $('.icon-search-minus').on('click', function (event) { //if ($('.content').hasClass('content-large-large')) { if(contentClass=="content-large-large") { $('.content').removeClass('content-large-large'); $('.content').addClass('content-large'); $('.ezone-heading').removeClass('ezone-heading-large-large'); $('.ezone-heading').addClass('ezone-heading-large'); contentClass = "content-large"; ezoneHeadingClass = "ezone-heading-large"; } else if(contentClass=="content-large") { $('.content').removeClass('content-large'); $('.ezone-heading').removeClass('ezone-heading-large'); contentClass = ""; ezoneHeadingClass = ""; } else if(contentClass=="content-small") { $('.content').removeClass('content-small'); $('.content').addClass('content-small-small'); $('.ezone-heading').removeClass('ezone-heading-small'); $('.ezone-heading').addClass('ezone-heading-small-small'); contentClass = "content-small-small"; ezoneHeadingClass = "ezone-heading-small-small"; } else if(contentClass=="content-small-small") { } else { $('.content').addClass('content-small'); $('.ezone-heading').addClass('ezone-heading-small'); contentClass = "content-small"; ezoneHeadingClass = "ezone-heading-small"; } setCookie("article__contentClass",contentClass); setCookie("article__ezoneHeadingClass",ezoneHeadingClass); console.log("contentClass: " + contentClass); //console.log("ezoneHeadingClass: " + ezoneHeadingClass); updateClass(contentClass,ezoneHeadingClass); }); $('.icon-search-plus').on('click', function (event) { if (contentClass=="content-small-small") { $('.content').removeClass('content-small-small'); $('.content').addClass('content-small'); $('.ezone-heading').removeClass('ezone-heading-small-small'); $('.ezone-heading').addClass('ezone-heading-small'); contentClass = "content-small"; ezoneHeadingClass = "ezone-heading-small"; } else if (contentClass=="content-small") { $('.content').removeClass('content-small'); $('.ezone-heading').removeClass('ezone-heading-small'); contentClass = ""; ezoneHeadingClass = ""; } else if (contentClass=="content-large") { $('.content').removeClass('content-large'); $('.content').addClass('content-large-large'); $('.ezone-heading').removeClass('ezone-heading-large'); $('.ezone-heading').addClass('ezone-heading-large-large'); contentClass = "content-large-large"; ezoneHeadingClass = "ezone-heading-large-large"; } else if (contentClass=="content-large-large") { } else { $('.content').addClass('content-large'); $('.ezone-heading').addClass('ezone-heading-large'); contentClass = "content-large"; ezoneHeadingClass = "ezone-heading-large"; } setCookie("article__contentClass",contentClass); setCookie("article__ezoneHeadingClass",ezoneHeadingClass); console.log("contentClass: " + contentClass); //console.log("ezoneHeadingClass: " + ezoneHeadingClass); updateClass(contentClass,ezoneHeadingClass); }); }


这是水淼·EyouCMS站群文章更新器的试用版本更新的文章,故有此标记(2024-06-19 15:05:32)
友情链接:百度