Free Times e - mail

  • 2022-01-06Date de collecte
  • 2022-02-15Mise à jour
Free Times e - mail
  • Adresse du site Web:www.ltn.com.tw
  • IP du serveur:3.167.192.72
  • Description du site:Free Times fournit des informations importantes aux internautes, fournit des rapports d'urgence de première main dans le monde entier, fournit aux internautes une maîtrise précise du pouls des nouvelles, lance divers types de zones d'information spéciales pour aider les internautes à faire face à l'actualité

nom de domaine:www.ltn.com.twÉvaluation

sur 5000~500000

nom de domaine:www.ltn.com.twcouler

480

nom de domaine:www.ltn.com.twBon ou Mauvais

Réaliser des aspirations. le succès peut être attendu

site Internet:Free Times e - mailPoids

2

site Internet:Free Times e - mailIP

3.167.192.72

site Internet:Free Times e - mailteneur

自由時報電子報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;}//===有廣告時要做的事===letadElement=document.getElementById(slotElementId);adElement&&adElement.classList.remove("suggest_default");//置底浮水印廣告,調整畫面不要蓋住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);}//再檢查一次ad-K1,把ad-K1class裡suggest_default"刪除if(slotElementId=='ad-K1'){letspecialAdElement=$("div[id^='ad-K1']");specialAdElement[0].classList.remove("suggest_default");}});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,{'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);setTimeout(()=>{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');softPushNotificationImg.setAttribute('alt','自由時報');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;}}letcheckDevice=cookies_m.isPC()?'pc':'m';//fetchhotNewsdata/***戳機器學習api*arraycategoryAndType分類跟文章類別*intlimit出幾則*stringsection渲染的位置/區塊*/functionfetchHotNews(categoryAndType,limit,section,fn=null){if(Array.isArray(categoryAndType)){returnfetchNews(hotNewsUrl,{"category":categoryAndType[0],"article_type":categoryAndType[1]?categoryAndType[1]:"","limit":limit,"rh_guid":"guidstring","utm_source":hotNewsSource,"utm_medium":section},'recommendations');}letrequestData={"category":hotNewsCategory,"article_type":categoryAndType,"limit":limit,"rh_guid":"guidstring","utm_source":hotNewsSource,"utm_medium":section};if(fn){leturl=newURL(hotNewsUrl);url.search=newURLSearchParams(requestData).toString();returnfetch(url,{//method:'GET',headers:{'Content-Type':'application/json','Authorization':hotNewsAuth},}).then(response=>{if(!response.ok){thrownewError('responseerror:'+response.status);}returnresponse.json();}).then(data=>{fn(data);}).catch(error=>{console.error('fetcherror:',error);});}else{returnfetchNews(hotNewsUrl,requestData,'recommendations');}};/***取機器學習的相關新聞*/functionfetchRelatedNews(ltc_no,ltc_group,limit,utmSource=''){letrequestData={"ltc_no":ltc_no,"ltc_group":ltc_group,"limit":limit,"utm_source":utmSource,"utm_medium":"relatedNews"};returnfetchNews(relatedNewsUrl,requestData,'related_news');}//相關新聞與熱門新聞共用fetchfunctionfetchNews(url,requestData,resultKey){leturlWithGET=newURL(url);urlWithGET.search=newURLSearchParams(requestData).toString();returnfetch(urlWithGET,{headers:{"Content-Type":"application/json"}}).then(response=>{if(!response.ok){thrownewError('responseerror:'+response.status);}returnresponse.json();}).then(data=>{if(data&&data[resultKey]){returndata[resultKey];}else{return[];}}).catch(error=>{console.error('fetcherror:',error);return[];});}/***檢查originalMoreNews是否有ad並塞入FetchRelatedNews*datafetch回來的*originalMoreNews原始的*/functioninsertAdToFetchRelatedNews(data,originalMoreNews){varhasAd=originalMoreNews.some(function(news){returnnews.buy;});if(hasAd){varadNews=originalMoreNews.filter(function(news){returnnews.buy;});for(vari=0;i=position)?data.splice(position-1,0,adNews):data.push(adNews);returndata;}//ifnodataremovedomfunctionremoveHotnewsDOM(sectionClass){constelements=document.querySelectorAll('.'+sectionClass);elements.forEach(element=>{element.remove();});} 為達佳瀏覽效果,建議使用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('weatFree Times e - mailFree Times e - mailher_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自由電子報X熱門新訊[{"@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架MQ-9B無人機擠1棚廠立委:一次攻擊全掛14:38把握耶誕節短暫溫暖!明天4縣市恐跌破10度19:15載您幸福GO南投幸福巴士3路線啟動草莓蛋糕驚見草霉方師傅道歉:挑選洗果不慎18:54台達電替代役男墜樓亡清大副校長發文嘆不捨15:05野村美國研發龍頭12/18創新募集藍白強修憲訴法全律會:極端不妥應嚴厲譴責17:06全聯台中倉儲惡火5人死在3樓人都站不直夾層14:48信星資訊「綠色設計及綠色供應鏈研討會」百位企業代表熱烈參與李珠珢穿蕾絲女僕裝辣照曝!1姿勢引網暴動15:24$(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;}自由說新聞》藍白強過3惡法爭議數不完!苗博雅狠酸黃國昌:數學老神童草莓蛋糕驚見「草霉」方師傅道歉了:挑選洗果不慎誤植入(翻攝自高雄爆料公社/高雄市衛生局提供)自由爆新聞》藍白「修法院之亂」無下限八炯預言「這下場」超恐怖自由說新聞》幸福不見了!中國音樂劇「太真實」遭封殺!網瘋傳怒噴這句話新聞360》連暴力也藍白合!柯下台昌接班...民眾黨準備被關燈?名嘴曝白營「大危機」來了!自由說新聞》藍白強過3惡法爭議數不完!苗博雅狠酸黃國昌:數學老神童草莓蛋糕驚見「草霉」方師傅道歉了:挑選洗果不慎誤植入(翻攝自高雄爆料公社/高雄市衛生局提供)自由爆新聞》藍白「修法院之亂」無下限八炯預言「這下場」超恐怖自由說新聞》幸福不見了!中國音樂劇「太真實」遭封殺!網瘋傳怒噴這句話新聞360》連暴力也藍白合!柯下台昌接班...民眾黨準備被關燈?名嘴曝白營「大危機」來了!vardesktopSwiper=initSwiperYotu('.desktop-swiper','.desktop-prev','.desktop-next');varmobileSwiper=initSwiperYotu('.mobile-swiper','.mobile-prev','.mobile-next');$(window).resize(function(){desktopSwiper.destroy();mobileSwiper.destroy();desktopSwiper=initSwiperYotu('.desktop-swiper','.desktop-prev','.desktop-next');mobileSwiper=initSwiperYotu('.mobile-swiper','.mobile-prev','.mobile-next');});functioninitSwiperYotu(container,prev,next){returnnewSwiper(container,{direction:'horizontal',slidesPerView:1,spaceBetween:0,loop:true,nigation:{nextEl:next,prevEl:prev,},autoplay:{delay:8000,//8秒切換一次},});}TPBL》林書豪頭部流許皓程:戰神球員不會惡意傷人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']));});}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:Free Times e - mail{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();}}});}}即時新聞#棒球#憲法訴訟法修正草案#M1A2T戰車#國民黨#憲法訴訟法21:47健康網》射後要理!醫:精液太白太稀太透恐不健康21:43雨中不減熱情!基隆設市百週年「好事年終演唱會」登場載您幸福GO南投幸福巴士3路線啟動21:30不會跟你梭哈!陳英鈐:藍白毀憲亂政不會停手21:24今年全球5大億萬富翁大輸家他財富蒸發250億美元慘野村美國研發龍頭12/18創新募集21:23被抓開會看「中國武統台灣」影片!謝龍介:若發生我站線抵抗21:22TPBL》林書豪頭部流許皓程:戰神球員不會惡意傷人信星資訊「綠色設計及綠色供應鏈研討會」百位企業代表熱烈參與21:21送你進常春藤名校成功率達98%這家公司曝諮詢費價碼21:19雨彈來襲!新北、基隆北海岸、宜蘭大雨特報21:18UBA》輔大菜鳥林哲宇變「神射手」帶隊痛擊萬能有望晉級8強21:17週日北部低溫破10度!中南部日夜溫差大21:17歲末員工音樂會醫院董座大跳台灣尚勇加碼發1.5萬紅包21:14愛在澎湖義心仁醫感恩杜元坤音樂會21:08毒貓被判刑台南90歲翁這原因獲緩刑21:08健康網》聖誕老人臉紅紅?英教授示警「喝酒會臉紅」危機21:06MLB》藍鳥傳與強打小葛雷諾談延長約美媒估有望獲5億美元大約21:05張惠妹不藏了!穩交13年男友Sam現身包廂甜蜜力挺21:01網球》前球后哈勒普獲奧克蘭外卡加入大坂直美、拉杜卡努行列21:00自由開講》中國此次軍事操演的另類觀察20:59財劃法分配增幅墊底!屏東縣府批:極度不公20:56藍白強修惡法謝龍介台下竟觀看「中國武統台灣」影片更多即時新聞$(function(){$("div.breakingnews>ul>li>a.L1ad").each(function(){varadHref=$(this).attr('href');$(this).attr('href',adHref+'&device='+adDevice+'&source='+document.URL);});});熱門新聞1.07:5712強》大聯盟記者評選本屆愛10球員!陳傑憲高居第1、台灣2人入選2.07:32藍白聯手通過三爭議法案賴清德:未充分討論無視民意3.10:26海鯤潛艦SAT海測問題多陳永康直言:自備餐飲,連上廁所都有問題4.13:46三立祭出重懲!調離魏汶萱採訪職務職銜遭拔除5.05:53護送謝克洋闖立法院三立記者魏汶萱道歉了6.05:30炸裂舞屬地不屬人兄弟不會放手更多熱門新聞自由說新聞》藍白強過3惡法爭議數不完!苗博雅狠酸黃國昌:數學老神童全聯台中倉儲惡火5人死在3樓「人都站不直」夾層(台中市消防局提供)草莓蛋糕驚見「草霉」方師傅道歉了:挑選洗果不慎誤植入(翻攝自高雄爆料公社/高雄市衛生局提供)自由爆新聞》藍白「修法院之亂」無下限八炯預言「這下場」超恐怖新聞360》連暴力也藍白合!柯下台昌接班...民眾黨準備被關燈?名嘴曝白營「大危機」來了!藍白強修「憲訴法」林志潔籲人民團結進行反制(林志潔提供)自由說新聞》幸福不見了!中國音樂劇「太真實」遭封殺!網瘋傳怒噴這句話動力火車顏志琳彈唱《APT.》一開口網友紛紛大讚曲風像自己的歌江宏傑砸百萬裝潢年底入住!不想女兒早戀脫口「找對方喬一下」女優河北彩伽罕開金口獻唱「渾厚嗓音」超反差!$(function(){varmaxWidth=828;varswiperLive=initSwiperLive(maxWidth);//自由影音Swiper$(window).resize(function(e){swiperLive.destroy();swiperLive=initSwiperLive(maxWidth);});});functioninitSwiperLive(maxWidth){vardirect,perView;if($(window).width()每週油價品項中油2024-12-16起台塑2024-12-02起9228.5(-0.1)28.7(+0.1)9530.0(-0.1)30.2(+0.1)9832.0(-0.1)32.2(+0.1)柴油27.2(-0.1)27.2(+0.2)$(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年09-10月113年07-08月獎別中獎號碼特別獎特獎頭獎934605031獎別中獎號碼特別獎特獎頭獎911408901領獎期間自113年12月06日起至114年03月05日止中獎號碼以財政部為準領獎期間自113年10月06日起至114年01月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-09-10","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-12-06","overtime":"114-03-05"},{"time":"113-07-08","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-10-06","overtime":"114-01-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

Placer:Free Times e - mailSignaler

En cas de violation du site, veuillez cliquer sur SignalerSignaler