2021/08/25 16:57
var disable_onead_inread = (function()
var rang0 = [ (new Date('2018-06-08T00:00:00+0800')).getTime() ,(new Date('2018-06-30T23:59:59+0800')).getTime() , 'focus': true
];
if(check_onead_mobile_inread(rang0)) return true;
return false; )();
function check_onead_mobile_inread(rang)
var now = (new Date()).getTime();
var show_door = false;
if(now>=rang[0] && now<=rang[1])
show_door = true;
var cate = rang[2];
var show_category = cate[category] ? cate[category] : false;
return (show_door && show_category) ? true : false;
return false;
if(disable_onead_inread)
googletag.cmd.push(function()
googletag.defineSlot('/21202031/01-news-foc-P-IR2', [[1, 1], [728, 90], [640, 360]], 'ad-inread').addService(googletag.pubads());
googletag.enableServices();
);
$(function()
googletag.cmd.push(function()
googletag.display('ad-inread');
);
);
else
$(function()
var script = document.createElement('script');
script.src = "https://news.ltn.com.tw//assets/js/onead_ir_mir.js";
var el = document.getElementsByTagName("script")[0];
el.parentNode.insertBefore(script, el);
);
不用抽 不用搶 現在用APP看新聞 保證天天中獎
點我下載APP
按我看活動辦法