自由時報電子報

  • 2022-01-10Data di raccolta
  • 2022-02-15Aggiornato
自由時報電子報
  • Indirizzo Web:www.ltn.com.tw
  • IP del server:13.225.142.103
  • Descrizione del sito:自由時報,為網友提供重要的新聞訊息,提供第一手全球各地最即時的突發事件報導,為網友精準掌握新聞脈動,配合時事不定時推出各類新聞專區,服務廣大網友

nome del dominio:www.ltn.com.twValutazione

di 5000~500000

nome del dominio:www.ltn.com.twflusso

39

nome del dominio:www.ltn.com.twBene o male

Realizza aspirazioni. ci si può aspettare il successo

sito web:自由時報電子報Pesi

1

sito web:自由時報電子報IP

13.225.142.103

sito web:自由時報電子報soddisfare

自由時報電子報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='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('.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,{'categor自由時報電子報y':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求職爆 Sear自由時報電子報ch 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)寶林茶室案士檢證實第2例死者驗出米酵菌酸13:30霧峰凶案越南逃逸移工持刀刺死同鄉雇主16:18遠雄琢蘊蘇喻哲高雄住宅大作漢光演習電腦兵推要來了!圖上兵推先登場12:06北市府:寶林共91筆皆可退費60筆點炒粿仔條16:27RIN首長年會金屬中心大展國際合作成果2度強吻鍾沛君朱學恒強制猥褻判刑1年2月09:35國防部長邱國正請辭蔡總統慰留:應坐鎮崗位13:41石材之魅力!解智贏:建築的靈魂寶林茶室新北病例+1粿條供應商採檢快2週出爐12:31$(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":"-weVgTb9-54","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/629\/.jpg","url":":\/\/video.ltn.com.tw\/article\/-weVgTb9-54\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u81ea\u7531\u8aaa\u65b0\u805e\u300b\u8b1d\u570b\u6a11\u300c\u96fb\u52d5\u8eca\u653f\u7b56\u300d\u906d\u63a7\u6709\u8a6d\uff01\u7db2\u53cb\u9178\uff1a\u7e7c\u7e8c\u7f77\u514d\u6703\u6709\u7279\u65af\u62c9\uff1f"},{"videoId":"h-y9ZQMAL9Y","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/629\/.jpg","url":":\/\/video.ltn.com.tw\/article\/h-y9ZQMAL9Y\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u53d7\u5bb3\u8005\u4e0d\u6703\u6c42\u511f\u7121\u9580\uff01\u5bf6\u6797\u4e2d\u6bd2\u6848\u300c\u9060\u767e\u4fdd\u55ae\u300d\u9858\u8ce0\u511f\u5317\u5e02\u5e9c\uff1a\u984d\u5ea6\u9054\u6578\u5104"},{"videoId":"7eTGFmrK0cQ","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/629\/.jpg","url":":\/\/video.ltn.com.tw\/article\/7eTGFmrK0cQ\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u5bf6\u6797\u98df\u5b89\u98a8\u66b4\u5ef6\u71d2\u5317\u5e02\u885b\u751f\u5c40\u4e0b\u5348\u5168\u9762\u7a3d\u67e5\u9060\u767eA13\u7f8e\u98df\u8857"},{"videoId":"vON4tp0eb0E","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/628\/.jpg","url":":\/\/video.ltn.com.tw\/article\/vON4tp0eb0E\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u7368\u5bb6\u66dd\u5149\uff01\u53f0\u8239\u8463\u5ea7\u912d\u6587\u9686\u9084\u539f\u6d77\u9be4\u865f\u9020\u8266\u79d8\u8f9b\u2502\u3010\u5b98\u6211\u4ec0\u9ebc\u4e8b\u3011"},{"videoId":"DhwbJjOOy5A","pic":":\/\/img.ltn.com.tw\/Upload\/Module\/4\/629\/.jpg","url":":\/\/video.ltn.com.tw\/article\/DhwbJjOOy5A\/PLI7xntdRxhw0WAtjar8mbBJH6nFzOOxRb","title":"\u5bf6\u6797\u8336\u5ba4\u4e2d\u6bd2\u6848\u5ef6\u71d2\u8523\u842c\u5b89\uff1a\u5317\u5e02\u518d\u589e2\u4f8b"}];//指定影片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自由說新聞》謝國樑「電動車政策」遭控有詭!網友酸:繼續罷免會有特斯拉?受害者不會求償無門!寶林中毒案「遠百保單」願賠償北市府:額度達數億寶林食安風暴延燒北市衛生局下午全面稽查遠百A13美食街獨家曝光!台船董座鄭文隆還原海鯤號造艦秘辛│【官我什麼事】寶林茶室中毒案延燒蔣萬安:北市再增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秒切换一次},});}對抗電費上漲!國產空調品牌祭出AI晶片、太陽能迎戰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#食品安全#柯文哲#加護病房#國民黨18:16林柏宏露大肌肌展型男魅力親揭不為人知癖好18:15打破零精品!子瑜登日雜秀美腿莫非JYP緊急搶救求續約遠雄琢蘊蘇喻哲高雄住宅大作18:11李蒨蓉緊守「十點鐘原則」與尪恩愛20年秘訣曝光18:10對抗電費上漲!國產空調品牌祭出AI晶片、太陽能迎戰RIN首長年會金屬中心大展國際合作成果18:09高雄2搜救犬清明節為這事大打出手網友笑翻18:07寶林風暴》基隆學校4月停用粄條類料理新北未跟進石材之魅力!解智贏:建築的靈魂18:01《愛愛》同志CP合體林哲熹靠月老找到正妹妻18:01縣福園公園陰暗、公廁遭挖洞竹北公所將花1200萬改造17:58寶林風暴基隆開槍!4月起學生營養午餐停用粄條類料理17:56正妹Cos《喪送的芙莉蓮》的她傲人身材也1:1複製17:53寶林茶室中毒案》顏宗海:「米酵菌酸」通常在22-33℃生成17:51名師解盤》蔡明翰:Fed降息前市場續觀望短線勿追高17:51炎亞綸自爆吃了寶林呼吸困難挨轟蹭熱度回應了17:48四叉貓槓上陳沂:「高雄郭采潔」忙洗地哪有時間上台作秀?17:48中國轉投資拖累冠軍建材4/2打入全額交割股17:48新北人事異動!蔡庭榕任法制局長洪玉玲接體育局長17:46宜蘭縣政府小內閣異動黃志良回鍋交通處長17:45寶林茶室案》傳死者妻「擬告醫院疏失」醫界心寒家屬出面澄清17:44共童來寮!湖口好客文創園區4/4-5闖關看表演童樂17:42韓星成勛被催婚!急求救台灣記者「不想終結獨自生活」更多即時新聞$(function(){$("div.breakingnews>ul>li>a.L1ad").each(function(){varadHref=$(this).attr('href');$(this).attr('href',adHref+'&device='+adDevice+'&source='+document.URL);});});熱門新聞1.2024/03/2821:08寶林案死者解剖檢出「米酵菌酸」王必勝:未來住院患者也要驗2.2024/03/2819:45寶林茶室食物中毒2死受害人新病況一覽(不斷更新)3.08:03米酵菌酸致死率4成以上毒物醫洪東榮曝或有1解方4.09:352度「壁咚」強吻鍾沛君朱學恒強制猥褻判刑1年2月5.06:07嘉義暗夜火警父子拆冷氣爬出獲救6.2024/03/2822:14寶林案驗出米酵菌酸!毒物醫洪東榮懷疑「清冰箱」黑木耳是禍首更多熱門新聞自由說新聞》謝國樑「電動車政策」遭控有詭!網友酸:繼續罷免會有特斯拉?受害者不會求償無門!寶林中毒案「遠百保單」願賠償北市府:額度達數億寶林食安風暴延燒北市衛生局下午全面稽查遠百A13美食街獨家曝光!台船董座鄭文隆還原海鯤號造艦秘辛│【官我什麼事】寶林茶室中毒案延燒蔣萬安:北市再增2例新聞360》中國驚爆「斷崖式降薪」!逃不了連「存黃金」也蒸發?自由爆新聞》寶林案「1巧合」網炸鍋!追疑凶「米酵菌酸」多可怕?【3月科技大事】蘋果M3MacBookAir突襲、Meta全球大當機《聖水洞之吻》羅門脫了!導演喊卡後反應曝光美珠挑戰「5秒內勾引男生」!努力拋媚眼劉在錫面無表情愣住$(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

Posto:自由時報電子報rapporto

In caso di violazione del sito, fare clic su Segnalarapporto

Informazioni consigliate

Sito consigliato