Liberty Times electronic

  • 2022-01-10Abholtermin
  • 2022-02-15Aktualisiert
Liberty Times electronic
  • Webseitenadressse:www.ltn.com.tw
  • Server IP:13.226.225.120
  • Seitenbeschreibung:Liberty Times bietet wichtige Nachrichteninformationen für Netizens, Berichte aus erster Hand über die dringendsten Notfälle auf der ganzen Welt, präzise erfassen den Nachrichtenpuls für Netizens und starten verschiedene Nachrichtenzonen, um die Mehrheit der Netizens von Zeit zu Zeit zu bedienen

Domainnamewww.ltn.com.twBewertung

etwa 5000~500000

Domainnamewww.ltn.com.twfließen

433

Domainnamewww.ltn.com.twGut oder schlecht

Wünsche erfüllen. Erfolg zu erwarten

Webseite:Liberty Times electronicGewichte

2

Webseite:Liberty Times electronicIP

13.226.225.120

Webseite:Liberty Times electronicInhalt

自由時報電子報varinterstitial=0;varuserent=nigator.userent;varplatform=nigator.platform;variOSDevice=['iPhone','iPad'];functionisiPhone(){return(userent.indexOf('iPhone')>=0)?true:false;}functionisAndroid(){return(userent.indexOf('Android')>=0)?true:false;}functionisFB(){return(userent.indexOf('FB')>=0)?true:false;}functionisLine(){return(userent.indexOf('Line')>=0)?true:false;}functionisChrome(){return(userent.indexOf('Chrome')>=0||userent.indexOf('CriOS')>=0)?true:false;}functionisSimulator(device){vari;varisDevice=true;for(i=0;i=0)?false:true;if(!isDevice){break;}}returnisDevice;}if(isFB()){interstitial=1;}elseif(isLine()){interstitial=1;}elseif(isAndroid()&&!isChrome()){interstitial=1;}elseif(isiPhone()&&!isSimulator(iOSDevice)&&!isChrome()){interstitial=1;}console.log('interstitial='+interstitial);vargooglet=googlet||{};googlet.cmd=googlet.cmd||[];googlet.cmd.push(function(){googlet.pubads().setTargeting("ltn_interstitial",[interstitial.toString()]);});varpvServer='pv.ltn.com.tw';varnewsServer='news.ltn.com.tw';var='/';varadDevice='P';if($(window).outerWidth()vargooglet=googlet||{};googlet.cmd=googlet.cmd||[];(function(){vargads=document.createElement('script');gads.async=true;gads.type='text/jascript';varuseSSL=':'==document.location.protocol;gads.src=(useSSL?':':'http:')+'//securepubads.g.doubleclick.net/t/js/gpt.js';varnode=document.getElementsByTName('script')[0];node.parentNode.insertBefore(gads,node);})();googlet.cmd.push(function(){vardfp={"pc":{"BD1":{"slot":"\/\/00-ltn-home-BD1","size":"[[300,250],[300,600]]","div":"ad-BD1","class":"ad-BD1adHeight250","collapse":1},"BD2":{"slot":"\/\/00-ltn-home-BD2","size":"[[300,250],[300,600]]","div":"ad-BD2","class":"ad-BD2adHeight250","collapse":1},"K1":{"slot":"\/\/00-ltn-home-K1","size":"[[1,1],[970,90],[970,160],[970,250],[1260,90],[1260,160],[1260,250]]","div":"ad-K1","class":"ad-K1adHeight250","collapse":0}},"m":{"B1":{"slot":"\/\/02-mobile-home-B1","size":"['fluid',[1,1],[300,250],[336,280]]","div":"ad-B1","class":"ad-B1adHeight359","collapse":0},"B3":{"slot":"\/\/02-mobile-home-B3","size":"['fluid',[1,1],[300,250],[336,280]]","div":"ad-B3","class":"ad-B3adHeight280","collapse":1},"B4":{"slot":"\/\/02-mobile-home-B4","size":"['fluid',[1,1],[300,250],[336,280]]","div":"ad-B4","class":"ad-B4adHeight280","collapse":1},"B2":{"slot":"\/\/02-mobile-home-B2","size":"['fluid',[1,1],[300,250],[336,280]]","div":"ad-B2","class":"ad-B2adHeight280","collapse":1}}};vardevice=cookies_m.isPC()?'pc':'m';dfp=dfp[device]||[];for(varkeyindfp){//蓋台廣告由cache_ads_h1.php控制if(key==='H1'){continue;}if(dfp.hasOwnProperty(key)){varad=dfp[key];varadSize=eval(ad['size']);varbodyWidth=$('body').width();ad['size']=[];for(variinadSize){if(adSize[i][0]>bodyWidth){continue;}ad['size'].push(adSize[i]);}if(ad['collapse']){googlet.defineSlot(ad['slot'],ad['size'],ad['div']).addService(googlet.pubads()).setCollapseEmptyDiv(true,false);}else{googlet.defineSlot(ad['slot'],ad['size'],ad['div']).addService(googlet.pubads()).setCollapseEmptyDiv(false,false);}}}googlet.pubads().addEventListener('slotRenderEnded',function(event){//google回傳的廣告標籤(ex:ad-B1)varslotElementId=event.slot.getSlotElementId();//===無廣告時要做的事===if(event.isEmpty){//記錄沒有廣告console.log('沒有'+slotElementId);//移除廣告單元//$('#'+slotElementId).remove();return;}//===有廣告時要做的事===//置底浮水印廣告,調整畫面不要蓋住footerif(slotElementId=='ad-I1-bottom'){//廣告的高度varad_height=event.size[1];var$adI1Bottom=$('#ad-I1-bottom');//調整廣告位置與footer墊底高度$adI1Bottom.css('height',ad_height+'px');$('.door-bottom-space').show().css('height',ad_height+'px');//顯示關閉按鈕並綁定關閉事件if(ad_height>50){//調整Top按鈕高度$('#top').css('bottom',(ad_height+20)+'px');//監聽關閉按鈕$adI1Bottom.prepend('');$adI1Bottom.find('.close').click(function(){$adI1Bottom.fadeOut(100);$('.door-bottom-space').fadeOut(100);$('#top').css('bottom','100px');});}return;}//有IR1時顯示「請繼續往下閱讀...」if(slotElementId=='ad-IR1'){//顯示「請繼續往下閱讀...」(class="before_ir"在cache中寫的)$('p.before_ir').fadeIn(200);$('p.after_ir').fadeIn(200);}});googlet.enableServices();});//判斷裝置並只呼叫相同裝置的廣告functiondisplayDFP(div,dfpDevice){varrealDevice=cookies_m.isPC()?'pc':'m';if(dfpDevice!==realDevice){$('#'+div).remove();return;}googlet.cmd.push(function(){googlet.display(div);});}window.dataLayer=window.dataLayer||[];functiongt(){dataLayer.push(arguments);}gt('js',newDate());gt('config','DC-');window.dataLayer=window.dataLayer||[];dataLayer.push({'event':'testEvent','article':{'authorName':'自由時報'}});(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':newDate().getTime(),event:'gtm.js'});varf=d.getElementsByTName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P98PP75');(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*newDate();a=s.createElement(o),m=s.getElementsByTName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','///analytics.js','ga');ga('create','UA--1','auto');ga('require','displayfeatures');ga('require','linkid','linkid.js');ga('send','peview');//GA點擊事件統計$(function(){ga_news_event();});functionga_news_event(){varbase_root_org='http'+newsServer;vardeviceDesc=$("meta[name='lLiberty Times electronictn:device']").attr('content')||'U';/*取頁面說明*/var_peDesc=$('.pe-name').attr('data-desc');varpeDesc=deviceDesc+':'+_peDesc;$(document.body).on('click.ga','.boxInput',function(){varobj=$(this);varobjDesc=obj.attr('data-desc');varpar=obj.parents('.boxTitle');varboxDesc=par.attr('data-desc');varcategory=peDesc;varaction=boxDesc;varlabel=objDesc||'';/*使用自定義說明*/ga_send_event(category,action,label);});$('.boxTitle').on('click.count','a',function(e){if(e.button!=0){return;}if(getinfo($(this),false))e.preventDefault();}).on('mouseup.count','a',function(e){if(e.button!=1){return;}getinfo($(this),true);e.preventDefault();});functionsetltncookies(area,item,elem){varov_sec=30;ltncookies_news("ltn_device",deviceDesc,ov_sec);ltncookies_news("ltn_pe",_peDesc,ov_sec);ltncookies_news("ltn_area",area,ov_sec);ltncookies_news("ltn_item",item,ov_sec);ltncookies_news("ltn_elem",elem,ov_sec);}functiongetinfo(obj,SendOnly){varobjText=obj.text();varobjDesc=obj.attr('data-desc');varpar=obj.parents('.boxTitle');/*取區塊說明*/varboxDesc=par.attr('data-desc');/*是否用連結文字*/varuseText=par.hasClass('boxText');varcategory=peDesc;varaction=boxDesc;varlabel=objDesc||'';/*使用自定義說明*/if(useText&&label==''){label=objText||'';/*使用連結文字*/}varlabelA=label;varidx=$('a',par).index(obj);if(label==''){/*記錄該區塊第幾則*/label='第'+idx+'則';}vartarget=obj.attr('target');varhref='';var_href=obj.attr('href');if(_href){href=check_url(_href);}varsend_type='send';if(!target&&href!=''){send_type='redirect';}if(SendOnly)send_type='send';setltncookies(action,idx,labelA);//Addarea,item,if(send_type=='send'){ga_send_event(category,action,label);returnfalse;}else{send2ga2pe(category,action,label,href);returntrue;}}functioncheck_url(_url){if((/^http:/).test(_url)){return_url;}elseif((/^:/).test(_url)){return_url;}elseif((/^\/\//).test(_url)){return_url;}elseif((/^jascript/).test(_url)){return'';}elseif((/^#/).test(_url)){return'';}else{varbase_root=$('base').attr('href')||base_root_org;returnbase_root+_url;}}/*GA事件追蹤:頁面不轉換*/functionga_send_event(category,title,label){ga_send_event_callback(category,title,label,function(){});}/*GTA事件追蹤:頁面轉換*/functiongta_send_event_callback(category,title,label){gt('event',title,{'category':category,'label':label,'send_to':'G-3MJGE7SCXJ','debug_mode':false});}/*GA事件追蹤:頁面轉換*/functionga_send_event_callback(category,title,label,fn_callback){//returnfn_callback();gta_send_event_callback(category,title,label);ga('send','event',category,title,label,{'hitCallback':function(){fn_callback();}});//console.log(category+'-'+title+'-'+label);//returnfalse;}/*GA事件追蹤:連結點擊*/functionsend2ga2pe(category,title,label,url){varredirectTriggered=false;ga_send_event_callback(category,title,label,function(){redirectTriggered=true;document.location=url;});setTimeout(function(){if(!redirectTriggered){document.location=url;}},1500);}};letwebPushOrigin='';letwebPushFile=webPushOrigin+'/webNotificationCheck';letwebPushNotification=webPushOrigin+'/webNotification';//監聽檢查回應window.addEventListener('messe',function(e){if(e.origin==webPushOrigin){if(e.data=='isOK'){letcheckIframe=document.getElementById('checkIframe');checkIframe.contentWindow.postMesse('getPermission',webPushOrigin);}elseif(e.data=='granted'){$("#checkIframe").remove();console.log(e.data);}elseif(e.data=='denied'||e.data=='default'){//defaultordenied$("#checkIframe").remove();console.log(e.data);softConfirm();}}},false);$(function(){letwebPush=getCookie("softPush");if(webPush===undefined||webPush=0||userent.indexOf('Firefox')>=0||userent.indexOf('Edge/')>=0){initFcm();}elseif(userent.indexOf('Safari')>=0){}}});//檢查notificationfunctioninitFcm(){console.log('checknotification');if('Notification'inwindow){checkFcm();}}//檢查notificationpermissionfunctioncheckFcm(){console.log('checkFcm');letcheckIframe=document.createElement('iframe');checkIframe.setAttribute('id','checkIframe');checkIframe.setAttribute('src',webPushFile);checkIframe.setAttribute('allow','payment');document.body.appendChild(checkIframe);}//觸發軟詢問functionsoftConfirm(){letsoftPushNotificaton=document.createElement('div');softPushNotificaton.setAttribute('class','softPush_notification');letsoftPushNotificationImg=document.createElement('img');softPushNotificationImg.setAttribute('src','news.ltn.com.tw/assets/imes/all/ltn.png');softPushNotificaton.appendChild(softPushNotificationImg);letsoftPushNotificationSpan=document.createElement('span');softPushNotificationSpan.setAttribute('class','softPush_word');letsoftPushNotificationText=document.createTextNode('感謝您的訂閱自由時報電子報隨時提供您即時、熱門的新聞訊息。');softPushNotificationSpan.appendChild(softPushNotificationText);softPushNotificaton.appendChild(softPushNotificationSpan);letsoftPushNotificationButton=document.createElement('button');softPushNotificationButton.setAttribute('class','softPush_confirm');softPushNotificationText=document.createTextNode('訂閱');softPushNotificationButton.appendChild(softPushNotificationText);softPushNotificaton.appendChild(softPushNotificationButton);softPushNotificationButton=document.createElement('button');softPushNotificationButton.setAttribute('class','softPush_refuse');softPushNotificationText=document.createTextNode('暫時不要');softPushNotificationButton.appendChild(softPushNotificationText);softPushNotificaton.appendChild(softPushNotificationButton);document.body.appendChild(softPushNotificaton);}//設定軟詢問時間functionsetSoftPushCookie(extension=0){letst="";letexpires=newDate();//延展時間extension=(extension==0)?7*24*60*60*1000:extension;expires.setTime(expires.getTime()+extension);letti=getCookie("softPush");if(ti===undefined)ti=0;st="softPush="+(Number(ti)+1)+";domain=ltn.com.tw;expires="+expires.toGMTString()+";path=/";document.cookie=st;}$(document).on("click",".softPush_confirm",function(){window.open(webPushNotification);getScrNews('','ask','','1');$(".softPush_notification").remove();});$(document).on("click",".softPush_refuse",function(){$(".softPush_notification").remove();getScrNews('','ask','','0');setSoftPushCookie();});/********************瀏覽器推播通知********************/.softPush_notification{width:400px;height:170px;padding:20px;border-radius:10px;position:fixed;left:50%;margin-left:-200px;top:28%;background:#fbfbfb;box-shadow:0px0px30px6pxrgb(000/40%);z-index:300;text-align:justify;}.softPush_notificationimg{width:80px;height:auto;float:left;margin-right:10px;}.softPush_notificationspan.softPush_word{margin-bottom:10px;font-size:18px;line-height:30px;font-family:'NotoSansTC',"微軟正黑體";}.softPush_notificationbutton{border-radius:5px;padding:5px8px;letter-spacing:1px;cursor:pointer;border:0px;font-size:16px;}.softPush_notificationbutton.sofLiberty Times electronictPush_confirm{position:absolute;right:25px;bottom:20px;background:#daa01c;color:#fff;transition:.2slinear;}.softPush_notificationbutton.softPush_refuse{position:absolute;right:80px;bottom:20px;color:#8e8e8e;transition:.2slinear;}.softPush_notificationbutton.softPush_confirm:hover{background:#c;}.softPush_notificationbutton.softPush_refuse:hover{background:#dedede;}@mediascreenand(max-width:500px){/*瀏覽器推播通知*/.softPush_notification{width:280px;height:140px;padding:16px;margin-left:-140px;}.softPush_notificationimg{width:60px;}.softPush_notificationspan.softPush_word{font-size:16px;line-height:24px;}.softPush_notificationbutton{padding:6px12px;font-size:12px;}.softPush_notificationbutton.softPush_confirm,.softPush_notificationbutton.softPush_refuse{bottom:12px;}.softPush_notificationbutton.softPush_confirm{right:16px;}} 為達佳瀏覽效果,建議使用Chrome、Firefox或MicrosoftEdge的瀏覽器。 請至Edge官網下載 請至FireFox官網下載 請至Google官網下載 $("#checkIE").hide(); if(isIE(6)||isIE(7)||isIE(8)||isIE(9)||isIE(10Liberty Times electronic)||isIE(11)){ $("#checkIE").show(); } $('.close').click(function(){ $("#checkIE").hide(); })即時熱門政治軍武社會生活健康國際地方蒐奇影音財經娛樂汽車時尚體育3C評論藝文玩咖食譜地產專區TAIPEITIMES求職爆 Search applyWeather();//天氣主程式functionapplyWeather(){if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(nigator.userent)){isWeather();}}functionsetCity(lat,lon){//cityarrayvarcityNameArr=['新北市','臺北市','基隆市','桃園市','新竹市','宜蘭縣','新竹縣','臺中市','苗栗縣','彰化縣','南投縣','雲林縣','臺南市','高雄市','嘉義市','嘉義縣','屏東縣','澎湖縣','臺東縣','臺東市','花蓮縣','花蓮市','台中市','連江縣','金門縣'];leturl="api.bigdatacloud.net/data/reverse-geocode-client?latitude="+lat+"&longitude="+lon+"&localityLangue=zh";letrequest=newXML();request.open('GET',url,true);request.onload=function(){letdata=JSON.parse(this.response);letcityName='臺北市';if(request.status>=200&&request.status{returncityNameArr.includes(obj.name)});if(result!=undefined){cityName=(result.name=='台中市')?'臺中市':result.name;}}addWeather(cityName,1);};request.send();}functionisWeather(){varisWeather=document.getElementById('ltnRWD')?1:0;//判斷是否顯示天氣if(isWeather){$(document).ready(function(){//先取用cookie先前天氣資料if(getCookie('city')&&getCookie('temperature')&&getCookie('icon')&&getCookie('status')){letdata={temperature:getCookie('temperature'),icon:getCookie('icon'),status:getCookie('status')};letcity=getCookie('city');setAttribute(city,data);return;}//還沒確認地理位置前先預設addWeather('臺北市',1);//cookie沒值則抓取user位置天氣if(window.nigator.geolocation){geo=window.nigator.geolocation;geo.getCurrentPosition(function(position){setCity(position.coords.latitude,position.coords.longitude);},addWeather('臺北市',0));}});}}functionaddWeather(city,isGEO){//isGEO0:無法取得定位1:可以取得定位letweatherUrl='cache.ltn.com.tw'+'/getWeather/'+city;letxmlHttp=newXML();xml("GET",weatherUrl,true);//falseforsynchronousrequestxml=function(){letdata=JSON.parse(this.response);data.city=city;setCookie(data,isGEO);//設定cookiesetAttribute(city,data);//設定天氣html};xml();}functionsetCookie(data,isGEO){letcityNow=newDate();letweatherNow=newDate();varexpireCityTime=(isGEO==0)?24:2;varexpireWeatherTime=8;cityNow.setTime(cityNow.getTime()+expireCityTime*3600*1000);weatherNow.setTime(weatherNow.getTime()+expireWeatherTime*3600*1000);for(letkeyindata){document.cookie=(key=='city')?key+'='+data[key]+';expires='+cityNow.toUTCString()+';domain=.ltn.com.tw;path=/':key+'='+data[key]+';expires='+weatherNow.toUTCString()+';domain=.ltn.com.tw;path=/';}}functionsetAttribute(city,data){//設定天氣htmldocument.getElementById('weather_text').innerHTML=city+''+data.temperature;document.getElementById('weather_img').setAttribute("src",'cache.ltn.com.tw/imes/weather/'+data.icon);document.getElementById('weather_img').setAttribute("alt",data.status);document.getElementById('weather_img').setAttribute("title",data.status);}functiongetCookie(name){//依名字取cookieconstvalue=`;${document.cookie}`;constparts=value.split(`;${name}=`);if(parts.length===2)returnparts.pop().split(';').shift();}varcount=0;functionsend(){if(count==0){count++;key=document.getElementById("cacheSearch").value.replace(/( )+/g,'');key=key.replace(/()+/g,'');key=key.replace(/^[\s]*/gi,"");//去除左邊空白key=key.replace(/[\s]*$/gi,"");//去除右邊空白document.getElementById("cacheSearch").value=key;kw=key.split("");if(key.length>50){alert("關鍵字數過長");count=0;returnfalse;}elseif(kw.length>3){alert("超過三組關鍵字");count=0;returnfalse;}elseif((kw.length==1&&kw[0].length自由影音即時熱門政治軍武社會生活健康國際地方蒐奇財經娛樂藝文汽車時尚體育3C評論玩咖食譜地產專區服務自由電子報APP自由電子報粉絲團自由電子報Line自由電子報Twitter熱門新訊[{"@context":"httpschema.org","@type":"WebSite","name":"自由時報電子報","alternateName":["LTN","自由時報"],"url":"/","keywords":["自由時報","自由時報電子報","LibertyTimesNet","LTN"],"potentialAction":{"@type":"SearchAction","target":"search.ltn.com.tw/list?keyword={search_term_string}","query-input":"requiredname=search_term_string"}},{ "@context":"httpschema.org", "@type":"Organization", "name":"自由時報電子報", "url":"", "logo":"/assets/imes/all/250_ltn.png", "sameAs":"/m.ltn.tw/"},{ "@context":"httpschema.org", "@type":"BreadcrumbList", "itemListElement":[ { "@type":"ListItem", "position":1, "item":{ "@id":"", "name":"自由時報電子報" } } ]}]$(function(){//新聞快訊varprotocol=document.location.protocol;$.ajax({type:"get",async:false,url:protocol+"//cache.ltn.com.tw/data/getExtra?"+newDate().getTime(),dataType:"json",success:function(data){insertMarqueeData(data);//插入新聞快訊runMarquee();//顯示快訊(包含廣告)},error:function(e){console.log('getextrafailed!');console.log(e);}});functioninsertMarqueeData(data){varhtml='';varorder=0;vartime_now=newDate().getTime();for(typeindata){//extra,ad_153,ad_311三種快訊varlist=data[type];for(iinlist){varitem=list[i];if(typeof(item['title'])=="undefined"){continue;}switch(type){case'extra':html+=''+item['title']+'';order++;break;case'ad_153':html+='';html+=''+item['title']+'PR';html+='';html+='';order++;break;case'ad_311':html+='';html+=''+item['title']+'';html+='';html+='';order++;break;default:break;}}}if(html==''){return;}$('#marquee').find('ul').prepend(html);}functionrunMarquee(){var$marquee=$('#marquee');varextras=$marquee.find('li');//無快訊時不處理if(extras.length1){$marquee.find('.arrow').show();$marquee.textSlider({line:1,speed:500,timer:5000});}//顯示快訊$marquee.slideDown(500);//手機版置頂浮動marqueePosition(extras);$(window).resize(function(){marqueePosition(extras);});functionmarqueePosition($extras){varHconHeight=$('div.ltnheader>.Hcon').outerHeight(true);varmarqueeHeight=$extras.outerHeight(true);if($(window).outerWidth(true)美前副國安顧問博明:北京正透過代理人與西方作戰06:08朝野互控暴力韓國瑜發16字箴言為立法院加油2024/05/1821:58寶輝歌劇院豪宅聚落優雅都會生活朝聖徐巧芯家落幕!四叉貓轉戰519草根行動開直播2024/05/1820:41太有才!休旅車這張車貼讓後車下意識遠離2024/05/1819:49《TAIPEITIMES》ChiangurgesLaitoaddressTaipinginspeech2024/05/1820:58金價還會飆?1張圖秒懂黃金2大牛市06:41綠營列藍營6大惡行組律師團對謀殺行為告到底2024/05/1813:54賴清德520就職演說4大關鍵元素曝光2024/05/1810:01失蹤台中男找到了!台8線墜谷火燒車身亡2024/05/1812:49$(function(){$("div.news12>a.L1ad").each(function(){varadNo=$(this).data('no');$(this).after('');varadHref=$(this).attr('href');$(this).attr('href',adHref+'&device='+adDevice+'&source='+document.URL);});});.news2.hidden{display:none;}varvideoData=[{"videoId":"oUC55hyvQTc","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/667\/.jpg","url":":\/\/video.ltn.com.tw\/article\/oUC55hyvQTc\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u81ea\u7531\u8aaa\u65b0\u805e\u300b\u85cd\u767d\u8d74\u592a\u5e73\u5cf6\u300c\u4eba\u6578\u8170\u65ac\u300d\uff01\u7db2\u53cb\u300c\u4e00\u53e5\u8a71\u300d\u795e\u56de\u55c6\u7ffb"},{"videoId":"DxCuuZCJqXE","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/667\/.jpg","url":":\/\/video.ltn.com.tw\/article\/DxCuuZCJqXE\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u9752\u5e74\u96c6\u7d50\u7acb\u9662\u5916\u8868\u4e0d\u6eff\u67ef\u5efa\u9298\uff1a\u90fd\u662f\u9ec3\u570b\u660c\u865f\u53ec\u4f86\u7684\uff08\u7ffb\u651d\u81ea\u6c11\u4e3b\u9032\u6b65\u9ee8YT\uff09"},{"videoId":"C_5fjlyabeI","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/667\/.jpg","url":":\/\/video.ltn.com.tw\/article\/C_5fjlyabeI\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u81ea\u7531\u8aaa\u65b0\u805e\u300b\u65a5\u85cd\u767d\u5408\u8b00\u300c\u9ed1\u7bb1\u300d\uff01\u82d7\u535a\u96c5\u63ed\u300c\u8d85\u8a87\u5f35\u771f\u76f8\u300d"},{"videoId":"o5MXbGB7_IQ","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/667\/.jpg","url":":\/\/video.ltn.com.tw\/article\/o5MXbGB7_IQ\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u9752\u5e74\u96c6\u7d50\u85cd\u767d\u7acb\u59d4\u6015\u4e86\uff01\u6d2a\u7533\u7ff0\u7206\uff1a\u5085\u5d10\u8401\u8981\u6c42\u589e\u6392\u8b66\u529b\u5e36\u68cd\u68d2"},{"videoId":"fyS7vyoXp8w","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/667\/.jpg","url":":\/\/video.ltn.com.tw\/article\/fyS7vyoXp8w\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u91ab\u7642\u6025\u5148\u92d2\u300b2025\u6d88\u6ec5C\u809d\u6709\u671b\u809d\u75c5\u6b0a\u5a01\u4f59\u660e\u9686\u63ed\u672a\u4f862\u5927\u91cd\u9ede\u809d\u75c5"}];//指定影片IDvarcount=Math.floor(Math.random()*5);//回傳0或1或2或3或4varplay=false;//是否播放$('div.pc_YouTube').find('a.linkMask').attr({'href':videoData[count]['url'],'data-desc':videoData[count]['title'],'title':videoData[count]['title'],});$('div.pc_YouTube').find('.videoLiveTit').html(videoData[count]['title']);$(function(){writeLtnVideoNews(videoData,count);//一開始先排除則影片去隨機取一篇});functionnewVideoBoxApi(){varplayer=newYT.Player('muteYouTubeVideoPlayer',{videoId:videoData[count]['videoId'],//YouTube影片IDwidth:440,//播放器寬度(inpx)height:247,//播放器長度(inpx)playerVars:{autoplay:0,//取消自動播放功能controls:0,//顯示播放/暫停按鈕showinfo:0,//隱藏影片標題modestbranding:1,//隱藏YouTubeLOGOloop:0,//循環播放cc_load_policty:0,//隱藏關閉字幕iv_load_policy:3,//隱藏影片註釋autohide:1,//播放時隱藏影片控制按鈕rel:0,//不顯示相關影片fs:0,//隱藏全螢幕按鈕},events:{onReady:function(e){if(!nigator.userent.match(/(iphone|ipad|ipod);?/i)&&$('.pc_YouTube').css('display')!='none'){play=false;}playAndMute(e,play);$('.news2').on('click','#videoBtnPrev',function(){count=prevVideo(e,videoData,count,play);});$('.news2').on('click','#videoBtnNext',function(){count=nextVideo(e,videoData,count,play);});},onStateChange:function(e){if(e.data===0){count=nextVideo(e,videoData,count,play);}}}});}//播放且靜音functionplayAndMute(e,play){if(play){e.target.playVideo();}e.target.mute();//靜音}//除了的影片以外隨機取一則放在自由影音Video左側區塊functionwriteLtnVideoNews(videoData,count){varothervideoData=videoData.slice(0);//copyothervideoData.splice(count,1);varrandIdx=Math.floor(Math.random()*4);varurl=othervideoData[randIdx]['url'];varpic=othervideoData[randIdx]['pic'];varvid=othervideoData[randIdx]['videoId'];vartitle=othervideoData[randIdx]['title'];$('.ltn_video.big_v#boxVideoUrl').attr('href',url);$('.ltn_video.big_v#boxVideoUrl').attr('title',title);$('.ltn_video.big_v#boxVideoUrl').attr('data-desc','P:0:'+title);$('.ltn_video.big_v#boxVideoImg').attr('src',pic);$('.ltn_video.big_v#boxVideoImg').attr('alt',title);$('.ltn_video.big_v#boxVideoImg').attr('title',title);$('.ltn_video.big_v#boxVideoTitle').text(title);}//下一則functionnextVideo(e,videoData,count,play){count++;if(count>=videoData.length){count=0;}e.target.cueVideoById(videoData[count]['videoId']);playAndMute(e,play);$('div.pc_YouTube').find('a.linkMask').attr({'href':videoData[count]['url'],'data-desc':videoData[count]['title'],'title':videoData[count]['title'],});$('div.pc_YouTube').find('.videoLiveTit').html(videoData[count]['title']);writeLtnVideoNews(videoData,count);returncount;}//上一則functionprevVideo(e,videoData,count,play){count--;if(count自由說新聞》藍白赴太平島「人數腰斬」!網友「一句話」神回嗆翻青年集結立院外表不滿柯建銘:都是黃國昌號召來的(翻攝自民主進步黨YT)自由說新聞》斥藍白合謀「黑箱」!苗博雅揭「超誇張真相」青年集結藍白立委怕了!洪申翰爆:傅崐萁要求增排警力帶棍棒醫療急先鋒》2025消滅C肝有望肝病權威余明隆揭未來2大重點肝病varswiperVideo=initSwiperVideo();//影音框1SwiperswiperVideo.slideTo(count+1,0);$(window).resize(function(){swiperVideo.destroy();swiperVideo=initSwiperVideo();swiperVideo.slideTo(count+1,0);});functioninitSwiperVideo(){returnnewSwiper('#news2_video.swiper-container',{direction:'horizontal',slidesPerView:1,spaceBetween:0,loop:true,nigation:{nextEl:'.news2.ltn_video.swiper-button-next',prevEl:'.news2.ltn_video.swiper-button-prev',},autoplay:{delay:8000,//8秒切换一次},});}男掐傷小堂姪遭提告傷害,父母可以代為撤回告訴嗎?varliveEventData=0;varmy_video_player1,my_video_player2;$(function(){window.fbAsyncInit=function(){FB.init({appId:'3038',xfbml:true,version:'v3.2'});//GetEmbeddedVideoPlayerAPIInstanceFB.Event.subscribe('xfbml.ready',function(msg){if(msg.type==='video'){if(msg.id==='muteVideoPlayer1'){my_video_player1=msg.instance;}if(msg.id==='muteVideoPlayer2'){my_video_player2=msg.instance;}}});};if(liveEventData!==0){loadLive(1);$('#videoLive1').html(makeEventHtml(liveEventData[0],1));loadEventIframeMaker();clickMaskAndListener();//點擊和監聽事件}else{//直播影片$.ajax({type:"get",async:false,url:"cache.ltn.com.tw/data/getLiveEvent?"+newDate().getTime(),dataType:"json",success:function(data){data=data.slice(0,2);vardataLength=data.length;if(dataLength0){varlist=$('.mov').map(function(){vart_id=$(this).attr('id');varYT_id=$(this).data('ytid');return{'t_id':t_id,'YT_id':YT_id};});jQuery.each(list,function(i,val){YTPlayers.push(newYTPlayer(val['t_id'],val['YT_id']));});}elseif($('.mov').length==0&&$('.fb-video').length==0){YTPlayers.push(newVideoBoxApi());}if($('div.topLiveBox').length>0){YTPlayers.push(newSpecialLiveBox());}}functionnewYTPlayer(t_id,YT_id){returnnewYT.Player(t_id,{height:'247',width:'100%',videoId:YT_id,playerVars:{autoplay:1,//自動播放視頻controls:1,//顯示播放和暫停按鈕modestbranding:1,//隱藏YouTubeLOGOloop:1,//循環播放cc_load_policty:0,//隱藏關閉字幕iv_load_policy:3,//隱藏影片註釋autohide:0,//播放時隱藏影片控制按鈕rel:0,//不顯示相關影片fs:0,//隱藏全螢幕按鈕},events:{'onReady':function(event){if(!nigator.userent.match(/(iphone|ipad|ipod);?/i)){event.target.playVideo();}else{//IOSYTVideoclickevent$('#'+t_id).parents('.box440').find('.linkMask').on('click',function(){event.target.playVideo();event.target.unMute();});}event.target.mute();if(!nigator.userent.match(/(iphone|ipad|ipod);?/i)){//監聽YT全螢幕$('#'+t_id).on('webkitfullscreenchangemozfullscreenchangefullscreenchange',function(){if(document.fullscreenElement==null&&document.mozfullscreenchange==null&&document.webkitfullscreenchange==null){event.target.mute();}else{event.target.unMute();}});}},'onStateChange':function(event){if(event.data===0){if(!nigator.userent.match(/(iphone|ipad|ipod);?/i)){event.target.playVideo();}}}}})}functionclickMaskAndListener(){if(!nigator.userent.match(/(iphone|ipad|ipod);?/i)){$('.linkMask').click(function(){variframe=this.parentNode.getElementsByTName('iframe')[0];varrequestFullScreen=iframe.requestFullScreen||iframe.mozRequestFullScreen||iframe.webkitRequestFullScreen;if(requestFullScreen){requestFullScreen.bind(iframe)();}});}else{//IOSFBVideoclickevent$('.fb-video').parents('.box440').on('click','.linkMask',function(){vart_id=$(this).parents('.box440').find('.fb-video').attr('id');if(t_id=='muteVideoPlayer1'){my_video_player1.play();}elseif(t_id=='muteVideoPlayer2'){my_video_player2.play();}})}if(!nigator.userent.match(/(iphone|ipad|ipod);?/i)){//監聽facebook全螢幕$('#videoLive1,#videoLive2').on('webkitfullscreenchangemozfullscreenchangefullscreenchange','iframe',function(){varisFbIframe=$(this).parents('.fb-video').length;varmyVideoPlayer=null;if(isFbIframe>0){vart_id=$(this).parents('.fb-video').attr('id');if(t_id=='muteVideoPlayer1'){myVideoPlayer=my_video_player1;}elseif(t_id=='muteVideoPlayer2'){myVideoPlayer=my_video_player2;}}if(myVideoPlayer!=null){if(document.fullscreenElement==null&&document.mozfullscreenchange==null&&document.webkitfullscreenchange==null){myVideoPlayer.mute();}else{myVideoPlayer.play();myVideoPlayer.unmute();}}});}}即時新聞#棒球#中國經濟#元大台灣價值高息()#台積電#黃國昌08:12揭弊女神馬郁雯長腿美翻徐巧芯躺著也中槍08:10剔除21檔成分股這檔壓力山大5.8萬張等著倒貨寶輝歌劇院豪宅聚落優雅都會生活08:10MLB》今永昇太宰制力驚人海盜主帥盛讚:他是每個打擊教練的惡夢08:00「14檔保留減碼股」曝光!3檔週權重已先砍逾0.2個百分點07:58委員會舉手表決不等於院會可以王定宇批:立院上次舉手表決是民國78年07:53MLB》打瘋了!強打索托猛夯雙響砲、單場4安「鐵支」洋基豪取6連勝07:47范逸臣被炎上紀曉君道歉文釣出鍾佳濱07:40投顧:美CPI過關多頭心安台股短線看點07:37網球》費爸斬斷喬科維奇43連勝球拍預估拍賣162萬台幣起跳07:37MLB》7局7K無失分、生涯前9戰防禦率0.84今永昇太締111年首見偉業07:34魚虎進入繁殖期!日月潭預計6月電撈移除幼魚07:34健康網》全榖雜糧不只飯或麵國健署推「這些」輕鬆替換07:27APEC貿易部長會議祕魯登場楊珍妮:盼台灣早日加入CPTPP07:25范逸臣「意見不同就撲下去」惹議紀曉君也道歉07:24藍白立委前往太平島矢板明夫:故意把台灣推到美國對立面07:2305/19各報重點新聞一覽07:18喬治亞總統象徵性否決境外影響力法案07:17YT老高拋震撼彈!6年認了到極限曝光3變動07:14大谷翔平也愛看!《鑽石王牌》將推出動畫續作07:12朱海君露面了!NONO性侵多女遭起訴她被包夾撂下9字快閃更多即時新聞$(function(){$("div.breakingnews>ul>li>a.L1ad").each(function(){varadHref=$(this).attr('href');$(this).attr('href',adHref+'&device='+adDevice+'&source='+document.URL);});});熱門新聞1.2024/05/1818:51正港梅雨鋒面來了!下週二連4天全台濕答答中南部明顯2.2024/05/1808:56怒批違法表決、國會已死!柯建銘轟3人是台灣歷史罪人3.2024/05/1820:58憲兵情侶情殺!女方想分手19歲男懷疑出軌竟拿枕頭悶死她4.2024/05/1813:38MLB》大谷翔平轟反方向全壘打道奇主帥好吃驚、苦主佩服得五體投地5.2024/05/1810:01賴清德520就職演說新國安團隊拋4大關鍵要素6.06:42外媒:Costco三大產品今年將漲價包含會員年費更多熱門新聞自由說新聞》藍白赴太平島「人數腰斬」!網友「一句話」神回嗆翻青年集結立院外表不滿柯建銘:都是黃國昌號召來的(翻攝自民主進步黨YT)國軍花防部美崙營區鷹架倒塌6名工人受傷(花蓮縣消防局提供)失蹤近2個月台中男找到了!台8線墜谷火燒車身亡(警方提供/消防局提供)自由說新聞》斥藍白合謀「黑箱」!苗博雅揭「超誇張真相」青年集結藍白立委怕了!洪申翰爆:傅崐萁要求增排警力帶棍棒醫療急先鋒》2025消滅C肝有望肝病權威余明隆揭未來2大重點肝病《金曲35》入圍名單記者會楊乃文、孫盛希爭歌后熱狗、林俊傑搶歌王舒華要回來了!(G)I-DLE十月「這2天」台北開唱焦凡凡情纏婁峻碩8年羞曝「追求攻勢」認識3天就交往$(function(){varmaxWidth=828;varswiperLive=initSwiperLive(maxWidth);//自由影音Swiper$(window).resize(function(e){swiperLive.destroy();swiperLive=initSwiperLive(maxWidth);});});functioninitSwiperLive(maxWidth){vardirect,perView;if($(window).width()每週油價品項中油2024-05-13起台塑2024-05-13起9229.4(0)29.4(0)9530.9(0)30.9(0)9832.9(0)32.9(0)柴油27.0(+0.1)26.8(+0.1)$(function(){T=$(".ad_w300.C3");if(T.length>0){$.each(T,function(){ADRand=ADRandCeil(1,$("a",this).length)-1;$("a:eq("+ADRand+")",this).show();varadno=$("a:eq("+ADRand+")",this).attr("href");varadnoArray=newArray();adnoArray=adno.split("=");varadpv=$('');adpv.appendTo(this);$("a",this).each(function(){$(this).attr('href',$(this).attr('href')+'&device='+adDevice+'&source='+document.URL);});});}});統一發票113年01-02月112年11-12月獎別中獎號碼特別獎特獎頭獎743047429獎別中獎號碼特別獎特獎頭獎899420278領獎期間自113年04月06日起至113年07月05日止中獎號碼以財政部為準領獎期間自113年02月06日起至113年05月06日止中獎號碼以財政部為準開啟對獎功能請輸入對獎號碼沒中!下一個對獎操作說明:輸入碼,比對獎號倒數第三碼數字。輸入第二碼,比對獎號倒數第三碼及第二碼數字。輸入第三碼,比對獎號後三碼數字。系統僅提供獎號後三碼比對。使用滑鼠點數字鍵。$(function(){$('.foraward').hide();$.extend({right:function(s,n){if(ns.length){returns;}else{variLen=s.length;returns.substring(iLen,iLen-n);}},left:function(s,n){if(ns.length){returns;}else{returns.substring(0,n);}},mid:function(s,starnum,endnum){returns.substr(starnum,endnum);}});varitemData=[{"time":"113-01-02","data":[{"note":"\u7279\u5225\u734e","no":"","type":"A"},{"note":"\u7279\u734e","no":"","type":"A"},{"note":"\u982d\u734e","no":"","type":"B"},{"note":"\u982d\u734e","no":"","type":"B"},{"note":"\u982d\u734e","no":"","type":"B"}],"starttime":"113-04-06","overtime":"113-07-05"},{"time":"112-11-12","data":[{"note":"\u7279\u5225\u734e","no":"","type":"A"},{"note":"\u7279\u734e","no":"","type":"A"},{"note":"\u982d\u734e","no":"","type":"B"},{"note":"\u982d\u734e","no":"","type":"B"},{"note":"\u982d\u734e","no":"","type":"B"}],"starttime":"113-02-06","overtime":"113-05-06"}];varitem1=itemData[0]['data'];varitem2=itemData[1]['data'];varmk=[0,item1,item2];$('.invoice#tab.j-tab-n').on('click','a',function(){varidx=$.right($(this).attr('id'),1)-0*1;$('#lottery'+idx).parent('.tab-con-item').show().siblings().hide();$('#date_award'+idx).show().siblings('.date_award').hide();varstr='新:開啟對獎功能';if(idx==2){str='上次:開啟對獎功能';}$('#redemption').data('desc',str);data=mk[idx];chang_data();$input.val('');move.css({'margin-top':0});});$('.lottery-over-time-close').on('click',function(){$('.lottery-over-time').hide();});$("#lot1").show();vardata=mk[1];var$root=$('.foraward');var$input=$('.foraward.for_award_no');vartime;varmove=$('.lst_award_move');varisclose=true;$('.foraward_sw').on('click',function(){if(isclose){$(this).text('關閉對獎功能');isclose=false;$('.foraward').show().animate({opacity:1,height:485},500);load_init();}else{$(this).text('開啟對獎功能');isclose=true;$('.foraward').animate({opacity:0,height:1},500,function(){$('.foraward').hide();});}});//run_d4open();functionrun_d4open(){$('.foraward_sw').text('關閉對獎功能');isclose=false;$('.foraward').show().css({opacity:0.95,height:500});load_init();}$root.on('click.clear','.clear_text',function(){//清除文字$input.val('');move.css({'margin-top':0});}).on('click.input','.input_no',function(){//輸入文字add_no($(this).val());}).on('keydown','.for_award_no',function(e){//手動輸入varcode=e.which;});/*typedescA:完全符合B:{完全符合,中20萬元末7碼,中4萬元末6碼,中1萬元末5碼,中4千元末4碼,中1千元末3碼,中2百元}C:末3碼,中2百元*/functionchang_data(){varlst_award_no_items='';each_data(function(obj,idx){varno=(obj.no.length==8)?$.left(obj.no,5)+''+$.right(obj.no,3)+'':''+obj.no+'';$('.lst_award_no_item'+idx).html(''+obj.note+''+no);if($('.lst_award_no.lst_award_no_item'+idx).length

Seite? ˅:Liberty Times electronicBericht

Wenn ein Verstoß gegen die Website vorliegt, klicken Sie bitte auf MeldenBericht

Empfohlene Informationen

Empfohlene Seite