Liberty Times electronic

  • 2022-01-07Abholtermin
  • 2022-02-15Aktualisiert
Liberty Times electronic
  • Webseitenadressse:www.ltn.com.tw
  • Server IP:13.225.142.103
  • 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

271

Domainnamewww.ltn.com.twGut oder schlecht

Wünsche erfüllen. Erfolg zu erwarten

Webseite:Liberty Times electronicGewichte

2

Webseite:Liberty Times electronicIP

13.225.142.103

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]|Liberty Times electronic|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='ltn: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('.boxTitleLiberty Times electronic');/*取區塊說明*/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.softPush_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(10)||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)球迷注意!法國小跑車帕克4月訪台將辦見面會18:51蘇丹紅主謀消失原因曝2千多萬藏前妻家天花板15:35安南商60副都心.正3房即將完工.價值翻漲咒術迴戰被指爛作銷量卻不減反增!鄉民曝魅力18:39寶林案1巧合網炸鍋!追疑凶米酵菌酸多可怕?21:09環保節能拿補助!超前2025能效雞排妹洩陳沂門號剛確定判3月又被判賠8萬17:36寶林茶室中毒2死負責人店長廚師3人限制出境17:44鎖定億級客戶華銀財管2.0開業雨神同行!明北東水氣增週日雷雨轟西半部18:56$(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":"lIF3D7S7cws","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/628\/.jpg","url":":\/\/video.ltn.com.tw\/article\/lIF3D7S7cws\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u81ea\u7531\u8aaa\u65b0\u805e\u300b\u85cd\u558a\u570b\u6703\u6539\u9769\u537b\u62d2\u7d55\u88ab\u76e3\u7763\uff1f\u7db2\u9178\u300c\u9019\u540d\u55ae\u300d\u5f88\u7cbe\u5f69"},{"videoId":"V6ba7aUKMzo","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/628\/.jpg","url":":\/\/video.ltn.com.tw\/article\/V6ba7aUKMzo\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u5bf6\u6797\u8336\u5ba4\u7cbf\u689d\u4f9b\u61c9\u5546\u300c\u5927\u7c84\u57ce\u300d\u8ca9\u552e4\u9910\u5ef3\u4e0b\u6e38\u6d41\u5411\u516c\u958b"},{"videoId":"Ojgjhdf6mVo","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/628\/.jpg","url":":\/\/video.ltn.com.tw\/article\/Ojgjhdf6mVo\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u5bf6\u6797\u6848\u6b7b\u8005\u89e3\u5256\u6aa2\u51fa\u300c\u7c73\u9175\u83cc\u9178\u300d\u738b\u5fc5\u52dd\uff1a\u672a\u4f86\u4f4f\u9662\u60a3\u8005\u4e5f\u8981\u9a57"},{"videoId":"mew0aAw2bNY","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/628\/.jpg","url":":\/\/video.ltn.com.tw\/article\/mew0aAw2bNY\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u81ea\u7531\u7206\u65b0\u805e\u300b\u5bf6\u6797\u6848\u300c1\u5de7\u5408\u300d\u7db2\u70b8\u934b\uff01\u8ffd\u7591\u51f6\u300c\u7c73\u9175\u83cc\u9178\u300d\u591a\u53ef\u6015\uff1f"},{"videoId":"iPDz_nbSGBE","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/628\/.jpg","url":":\/\/video.ltn.com.tw\/article\/iPDz_nbSGBE\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u65b0\u805e360\u300b\u4e2d\u570b\u9a5a\u7206\u300c\u65b7\u5d16\u5f0f\u964d\u85aa\u300d\uff01\u9003\u4e0d\u4e86\u9023\u300c\u5b58\u9ec3\u91d1\u300d\u4e5f\u84b8\u767c\uff1f"}];//指定影片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);rLiberty Times electroniceturncount;}//上一則functionprevVideo(e,videoData,count,play){count--;if(count自由說新聞》藍喊國會改革卻拒絕被監督?網酸「這名單」很精彩寶林茶室粿條供應商「大粄城」販售4餐廳下游流向公開寶林案死者解剖檢出「米酵菌酸」王必勝:未來住院患者也要驗自由爆新聞》寶林案「1巧合」網炸鍋!追疑凶「米酵菌酸」多可怕?新聞360》中國驚爆「斷崖式降薪」!逃不了連「存黃金」也蒸發?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秒切换一次},});}時代的眼淚!SonyPSVita掌機、復刻迷你版PS主機維修服務將終止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();}}});}}即時新聞#MLB#不熙娣#蔣萬安#台智光#海軍22:47一年平均1萬名少年犯竊盜犯罪大宗22:44ILLIT出道3天新歌紅了!攻進YouTube熱門排行榜安南商60副都心.正3房即將完工.價值翻漲22:41美國情報披露:中國藥廠「藥明康德」將美客戶數據交給北京22:38力拼SK海力士三星今年HBM產能擴增近3倍環保節能拿補助!超前2025能效22:31北市府胡亂公布非直接供應寶林粿條業者議員批:荒唐疏漏22:31災情+1!阿喜臉書「將鎖3542天」超崩潰:到底做了什麼事鎖定億級客戶華銀財管2.0開業22:28米酵菌酸致死率4成以上毒物醫洪東榮曝或有1解方22:26重申國家兒童未來館未遲滯文化部:中央地方全力合作拚開館22:25寶林茶室案檢警漏夜依涉嫌人約談代班廚師22:23美國伊利諾州驚傳持刀捅人已知4喪命7傷小死者僅15歲22:23承租人沒報稅屋主「謊報自用」破功多繳2倍稅金22:22衛武營都會公園賞鳥一次驚見4隻綠鬣蜥高雄去年至今抓6387隻22:20媒體標題指寶林病患死亡是醫院「疏失」!名醫陳志金不滿這樣說......22:20竹市大學路樹塌害死騎士責任未釐清3/30封路移除危險雜木22:17王道銀成立25週年駱怡君:澳洲辦事處4月遞件22:16韓漫改劇一條龍「台灣為何不行」?網曝關鍵:學半套當然失敗22:14寶林案驗出米酵菌酸!毒物醫洪東榮懷疑「清冰箱」黑木耳是禍首22:13寶林茶室案》醫:米酵菌酸讓人體全面性細胞死亡22:133/28威力彩、今彩539頭獎均摃龜!22:131月才宣布減產福特汽車將削減F-150Lightning廠計時工更多即時新聞$(function(){$("div.breakingnews>ul>li>a.L1ad").each(function(){varadHref=$(this).attr('href');$(this).attr('href',adHref+'&device='+adDevice+'&source='+document.URL);});});熱門新聞1.19:45寶林茶室食物中毒2死受害人新病況一覽(不斷更新)2.11:12數位部遭人開3槍男子持1長槍1短槍當場落網3.09:07對流增強特徵!鄭明典PO雲圖:要準備防汛了4.06:19獵殺通俄內奸!烏克蘭情報首長披露暗殺行動內幕5.10:24達里歐:若不解決債務問題中國將面臨百年一遇大風暴6.09:39「寶林」食物中毒受害13+1?薛瑞元揭追查兩方向更多熱門新聞自由說新聞》藍喊國會改革卻拒絕被監督?網酸「這名單」很精彩台股飆破2萬點蔡英文笑喊:有投資的話恭喜寶林茶室3/17至3/25共91筆消費將於北市衛生局網站公告寶林創辦人黎仿軒現身了不發一語直奔北市府說明寶林茶室第2名死者解剖愛女哀戚︰不能讓父親死得不明不白寶林案死者解剖檢出「米酵菌酸」王必勝:未來住院患者也要驗新聞360》中國驚爆「斷崖式降薪」!逃不了連「存黃金」也蒸發?自由爆新聞》寶林案「1巧合」網炸鍋!追疑凶「米酵菌酸」多可怕?不捨《葬送的芙莉蓮》終結!歌姬milet感人獻唱《AnytimeAnywhere》《炸裂吧女孩》藍隊奪總冠軍!關詩敏:每天練到半夜不想留遺憾$(function(){varmaxWidth=828;varswiperLive=initSwiperLive(maxWidth);//自由影音Swiper$(window).resize(function(e){swiperLive.destroy();swiperLive=initSwiperLive(maxWidth);});});functioninitSwiperLive(maxWidth){vardirect,perView;if($(window).width()每週油價品項中油2024-03-25起台塑2024-03-25起9229.5(-0.2)29.5(-0.2)9531.0(-0.2)31.0(-0.2)9833.0(-0.2)33.0(-0.2)柴油27.0(-0.2)26.8(-0.2)統一發票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