PageSourceSearch

https://news.ltn.com.tw/news/politics/breakingnews/5592174

html ltn.com.tw collected 2026-10-01 08:53:21 UTC 225,772 bytes, 4,668 lines download raw bytes

1<!DOCTYPE html>
2<html lang="zh-TW" itemscope itemtype="https://schema.org/WebSite">
3    <head>
4        
4<script>
5    let cdnDate = '20261001164008';
6    var pvDomain = 'pv.ltn.com.tw';
7    var pvServer = 'pv.ltn.com.tw';
8    var interstitialSlot;
9    var staticSlot = false;
10</script>
vendor: 1 bytes, line 10
10
11<script src="https://cache.ltn.com.tw/js/c.js"></script>
11
12        <base href='https://news.ltn.com.tw/'>
13        <meta name="ltn:device" content="R" />
14        <title>沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息 - 政治 - 自由時報電子報</title>
15<meta charset="utf-8" />
16<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0" />
17<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
18<meta property="og:site_name" name="application-name" content="自由時報電子報" />
19<meta name="author" itemprop="author" content="自由時報電子報" />
20<meta name="dcterms.rightsHolder" content="自由時報電子報" />
21<meta name="copyright" content="自由時報電子報" />
22<meta property="og:title" itemprop="name" content="沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息 - 政治 - 自由時報電子報" />
23<meta name="title" itemprop="headline" content="沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息 - 政治 - 自由時報電子報" />
24<meta name="keywords" content="沈伯洋,洋流,2026九合一選舉,市長,你給我聽好了,市長你給我聽好了" />
25<meta name="news_keywords" itemprop="keywords" content="沈伯洋,洋流,2026九合一選舉,市長,你給我聽好了,市長你給我聽好了" />
26<meta property="og:image" itemprop="image" content="https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg" />
27<meta property="og:image:type" content="image/jpeg" />
28<meta property="og:image:width" content="800" />
29<meta property="og:image:height" content="800" />
30<meta property="article:section" name="section" itemprop="articleSection" content="politics" />
31<meta name="description" itemprop="description" content="民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。不過,他的粉專一宣布消息就被網友留言:「生病了還不去休息!」「發燒還辦活動」。根據沈伯洋社群宣布資訊,這場活動將於今日在大安區瑠公公園舉行,16時45分開放填寫提案單,17時30分快閃發言台正式開張。" />
32<meta property="og:description" itemprop="description" content="民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。不過,他的粉專一宣布消息就被網友留言:「生病了還不去休息!」「發燒還辦活動」。根據沈伯洋社群宣布資訊,這場活動將於今日在大安區瑠公公園舉行,16時45分開放填寫提案單,17時30分快閃發言台正式開張。" />
33<meta property="og:url" itemprop="url" content="https://news.ltn.com.tw/news/politics/breakingnews/5592174" />
34<meta property="og:type" content="article" />
35<meta property="dable:author" content="自由時報" />
36<meta property="dable:item_id" content="breakingnews5592174" />
37<meta property="dable:image" content="https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg" />
38<meta name="pubdate" property="article:published_time" itemprop="datePublished" content="2026-10-01T16:11:34+08:00" />
39<meta property="article:published_time" content="2026-10-01T16:11:34+08:00" />
40<meta property="fb:app_id" content="140490219413038" />
41<meta property="twitter:card" content="summary" />
42<meta property="twitter:site" content="@ltntw" />
43<meta property="twitter:creator" content="@ltntw" />
44<meta name="robots" content="index,follow" />
45<meta name="googlebot" content="index,follow" />
46<meta name="robots" content="max-image-preview:large" />
47<link rel="shortcut icon" type="image/x-icon" sizes="192x192" href="https://www.ltn.com.tw/assets/images/favicon.ico" />
48<link rel="apple-touch-icon" sizes="180x180" href="https://www.ltn.com.tw/assets/images/ltn.png" />
49<link rel="apple-touch-icon-precomposed" sizes="180x180" href="https://www.ltn.com.tw/assets/images/ltn.png" />
50<link rel="image_src" type="image/jpeg" href="https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg" />
51<link rel="canonical" itemprop="mainEntityOfPage" href="https://news.ltn.com.tw/news/politics/breakingnews/5592174" />
52<link rel="amphtml" href="https://news.ltn.com.tw/amp/news/politics/breakingnews/5592174" />
53        
53<script>
54            var newsServer = 'news.ltn.com.tw',
55                pvServer = 'pv.ltn.com.tw',
56                uri = '/news/politics/breakingnews/5592174',
57                pagetype = 'news',
58                article_status = '0';
59            var category = 'politics';
60        </script>
60
61        <meta name="google-site-verification" content="sPp7Kk7Tqa6LK-wWblS9Fby069Wpy4DNTaMyjKHxveU" />
62        <link href="https://cache.ltn.com.tw/css/reset.css?20260701" rel="stylesheet" type="text/css" />
63        <link rel="stylesheet" href="assets/css/jqcloud.min.css">
64        <link rel="stylesheet" href="assets/css/ltn_global.css?20250924">
65        <link rel="stylesheet" href="assets/css/ltn_right.css?2025098">
66        <link rel="stylesheet" href="assets/css/ltn_list.css?20250926">
67        <link rel="stylesheet" href="assets/css/magnific-popup.css">
68        
68<script src="assets/js/jquery-3.4.1.min.js"></script>
68
69        
69<script src="assets/js/jqcloud.min.js"></script>
69
70		
70<script src="assets/js/impression.min.js"></script>
70
71		
71<script src="assets/js/new_all.min.js?202504"></script>
71
72        
72<script src="assets/js/jquery.magnific-popup.min.js"></script>
72
73        
73<script src="https://cache.ltn.com.tw/js/isIE.js"></script>
73
74        
74<script src="https://cache.ltn.com.tw/js/resize_imgs_ltn.min.js"></script>
74
75        
75<script src="https://cache.ltn.com.tw/js/hotNewsUrl.js"></script>
75
76
77        <div class="ie9 boxTitle" id="checkIE" style="margin-top: 300px;" data-desc="檢查IE">
78    <p>為達最佳瀏覽效果,建議使用 Chrome、Firefox 或 Microsoft Edge 的瀏覽器。</p>
79    <div class="button">
80        <a href="javascript::void(0)" class="close" title="關閉此視窗" data-desc="關閉"><img src="assets/images/x.png" alt="關閉此視窗"></a>
81        <a href="https://www.microsoftedgeinsider.com/zh-tw/download" target="_blank" data-desc="IE">請至Edge官網下載</a>
82        <a href="https://www.mozilla.org/zh-TW/firefox/new/" target="_blank" data-desc="FireFox">請至FireFox官網下載</a>
83        <a href="https://www.google.com.tw/chrome/browser/desktop/index.html" target="_blank" data-desc="Google">請至Google官網下載</a>
84    </div>
85</div>
86<script>
87    $("#checkIE").hide();
88    if (isIE(6) || isIE(7) || isIE(8) || isIE(9) || isIE(10) || isIE(11)) {
89        $("#checkIE").show();
90    }
91    $('.close').click(function () {
92        $("#checkIE").hide();
93    })
94</script>
94        
94<script>
95    var interstitial = 0;
96    var userAgent = navigator.userAgent;
97    var platform = navigator.platform;
98    var iOSDevice = ['iPhone', 'iPad'];
99
100    function isiPhone() {
101        return (userAgent.indexOf('iPhone') >= 0) ? true : false;
102    }
103
104    function isAndroid() {
105        return (userAgent.indexOf('Android') >= 0) ? true : false;
106    }
107
108    function isFB() {
109        return (userAgent.indexOf('FB') >= 0) ? true : false;
110    }
111
112    function isLine() {
113        return (userAgent.indexOf(' Line') >= 0) ? true : false;
114    }
115
116    function isChrome() {
117        return (userAgent.indexOf('Chrome') >= 0 || userAgent.indexOf('CriOS') >= 0) ? true : false;
118    }
119
120    function isSimulator(device) {
121        var i;
122        var isDevice = true;
123        for (i = 0; i < device.length; i++) {
124            isDevice = (platform.indexOf(device[i]) >= 0) ? false : true;
125            if (!isDevice) {
126                break;
127            }
128        }
129        return isDevice;
130    }
131    if (isFB()) {
132        interstitial = 1;
133    } else if (isLine()) {
134        interstitial = 1;
135    } else if (isAndroid() && !isChrome()) {
136        interstitial = 1;
137    } else if (isiPhone() && !isSimulator(iOSDevice) && !isChrome()) {
138        interstitial = 1;
139    }
140
141    console.log('interstitial = ' + interstitial);
142    var googletag = googletag || {}; googletag.cmd = googletag.cmd || [];
143    googletag.cmd.push(function() {
144        googletag.pubads().setTargeting("ltn_interstitial", [interstitial.toString()]);
145
146    });
147</script>
147
148
149        
149<script>
150            var adDevice = 'P';
151            var blockAbTest = '';
152            if ($(window).outerWidth() <= 828) {
153                adDevice = 'M';
154            } else {
155                adDevice = 'P';
156            }
157        </script>
157
158
159        
159<script src="https://cache.ltn.com.tw/js/getTargetTime.min.js"></script>
159
160        
160<script>
161            function getbrowserLanguage() {
162                return (navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage).toLowerCase();
163            }
164            var sysLang = getbrowserLanguage();
165            var isTW = isTargetCountryOrNot('TW');
166        </script>
166
167
168        
168<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
vendor: 1 bytes, line 168
168
169<script>
170    if(window.outerWidth <= 1100) { // 只有手機顯示
171        //設定coverUnits
172        let coverUnits = {
173            "news" : "02-mobile-page-H2",
174            "auto" : "03-auto-mobile-H2",
175            "3c" : "04-3C-mobile-H2",
176            "talk" : "05-talk-mobile-H2",
177            "ec" : "06-ec-mobile-H2",
178            "ent" : "07-ent-mobile-H2",
179            "istyle" : "08-style-mobile-H2",
180            "playing" : "09-playing-mobile-H2",
181            "sports" : "10-sports-mobile-H2",
182            "estate" : "11-estate-mobile-H2",
183            "food" : "12-food-mobile-H2",
184            "health" : "13-health-mobile-H2",
185            "art" : "14-art-mobile-H2",
186            "video" : "15-video-mobile-H2",
187            "features" : "99-feature-mobile-H2",
188        };
189
190        let CoverHost = location.hostname.toLowerCase().replace(".ltn.com.tw", "");
191
192        let unitId = coverUnits[CoverHost] || coverUnits["news"];
193
194        window.googletag = window.googletag || {cmd: []};
195        googletag.cmd.push(function() {
196                interstitialSlot = googletag.defineOutOfPageSlot(
197                    '/21202031/'+ unitId,
198                    googletag.enums.OutOfPageFormat.INTERSTITIAL);
199                if (interstitialSlot) interstitialSlot.addService(googletag.pubads());
200                googletag.enableServices();
201            }
202        );
203        googletag.cmd.push(function() {
204            googletag.pubads().addEventListener('slotRenderEnded', function(event) {
205                if (interstitialSlot === event.slot) {
206                    staticSlot = true;
207                    console.log('staticSlot = true');
208                }
209            });
210        });
211        $(function(){
212            googletag.cmd.push(function() {
213                // Ensure the first call to display comes after static ad slot
214                // divs are defined.
215                googletag.display(interstitialSlot);
216            });
217        });
218    }
219</script>
219
220
221
222
223
224
225
226        
226<script type='text/javascript'>
227    var googletag = googletag || {};
228    googletag.cmd = googletag.cmd || [];
229    (function() {
230        var gads = document.createElement('script');
231        gads.async = true;
232        gads.type = 'text/javascript';
233        var useSSL = 'https:' == document.location.protocol;
234        gads.src = (useSSL ? 'https:' : 'http:') +
235            '//securepubads.g.doubleclick.net/tag/js/gpt.js';
236        var node = document.getElementsByTagName('script')[0];
237        node.parentNode.insertBefore(gads, node);
238    })();
239</script>
239
240
241<script type='text/javascript'>
242    googletag.cmd.push(function() {
243        var dfp = {"pc":{"BD1":{"slot":"\/21202031\/01-news-pol-P-BD1","size":"[[300,250], [300,600]]","div":"ad-BD1","class":"adHeight250","collapse":1},"BD2":{"slot":"\/21202031\/01-news-pol-P-BD2","size":"[[300,250], [300,600]]","div":"ad-BD2","class":"adHeight250","collapse":1},"BD3":{"slot":"\/21202031\/01-news-pol-P-BD3","size":"[[300,250], [300,600]]","div":"ad-BD3","class":"adHeight250","collapse":1},"C1":{"slot":"\/21202031\/01-news-sponsors-B1","size":"[300, 250]","div":"ad-C1","class":"adHeight250","collapse":1},"C2":{"slot":"\/21202031\/01-news-sponsors-B2","size":"[300, 250]","div":"ad-C2","class":"adHeight250","collapse":1},"K1":{"slot":"\/21202031\/01-news-pol-P-K1","size":"[[1, 1], [970, 90], [970, 160], [970, 250], [1260, 90], [1260, 160], [1260, 250]]","div":"ad-K1","class":"adHeight250","collapse":0},"K2":{"slot":"\/21202031\/01-news-pol-P-K2","size":"[[728, 90], [1, 1]]","div":"ad-K2","class":"adHeight90","collapse":1},"PB1":{"slot":"\/21202031\/01-news-pol-P-bottom","size":"[[970, 90],[970, 160],[1260, 160],[1, 1],[1260, 90]]","div":"ad-PB1","class":"adHeight90","collapse":1},"PCIR1":{"slot":"\/21202031\/01-news-pol-P-IR1","size":"[[650, 250], [650, 610], [640, 360], 'fluid', [1, 1]]","div":"ad-PCIR1","class":"adHeight250","collapse":1}},"m":{"B1":{"slot":"\/21202031\/02-mobile-pol-B1-ATF","size":"['fluid', [1, 1], [300, 250], [336, 280]]","div":"ad-B1","class":"adHeight280","collapse":0},"B2":{"slot":"\/21202031\/02-mobile-pol-B2","size":"['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]","div":"ad-B2","class":"adHeight280","collapse":1},"I1-bottom":{"slot":"\/21202031\/02-mobile-pol-sub-P-I1-bottom","size":"['fluid', [1, 1], [320, 50], [320, 100]]","div":"ad-I1-bottom","class":"door-bottom door-bottom-head","collapse":1},"IR1":{"slot":"\/21202031\/02-mobile-pol-sub-P-IR1","size":"['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]","div":"ad-IR1","class":"adHeight280","collapse":1},"IR1-2":{"slot":"\/21202031\/02-mobile-pol-sub-P-IR1","size":"['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]","div":"ad-IR1-2","class":"adHeight280","collapse":1}}};
244        var device = cookies_m.isPC() ? 'pc' : 'm';
245        dfp = dfp[device] || [];
246        for (var key in dfp) {
247            // 蓋台廣告由cache_ads_h1.php控制
248            if (key === 'H1') { continue; }
249            if (dfp.hasOwnProperty(key)) {
250                var ad = dfp[key];
251                var adSize = eval(ad['size']);
252                var bodyWidth = $('body').width();
253                ad['size'] = [];
254                for (var i in adSize) {
255                    if (adSize[i][0] > bodyWidth) { continue; }
256                    ad['size'].push(adSize[i]);
257                }
258                if (ad['collapse']) {
259                    googletag.defineSlot(
260                        ad['slot'],
261                        ad['size'],
262                        ad['div']
263                    ).addService(googletag.pubads()).setCollapseEmptyDiv(true, false);
264                } else {
265                    googletag.defineSlot(
266                        ad['slot'],
267                        ad['size'],
268                        ad['div']
269                    ).addService(googletag.pubads()).setCollapseEmptyDiv(false, false);
270                }
271            }
272        }
273
274        googletag.pubads().addEventListener('slotRenderEnded', function(event) {
275            // google回傳的廣告標籤(ex:ad-B1)
276            var slotElementId = event.slot.getSlotElementId();
277
278            // === 無廣告時要做的事 ===
279            if (event.isEmpty) {
280                // 記錄沒有廣告
281                console.log('沒有'+slotElementId);
282                // 移除廣告單元
283                // $('#' + slotElementId).remove();
284                return;
285            }
286
287            // === 有廣告時要做的事 ===
288             // 移除 class suggest_default 樣式
289            let adElement = document.getElementById(slotElementId);
290            adElement && adElement.classList.remove("suggest_default");
291            // 置底浮水印廣告,調整畫面不要蓋住footer
292            if (slotElementId == 'ad-I1-bottom') {
293                // 廣告的高度
294                var ad_height = event.size[1];
295                var $adI1Bottom = $('#ad-I1-bottom');
296                // 調整廣告位置與footer墊底高度
297                $adI1Bottom.css('height', ad_height + 'px');
298                $('.door-bottom-space').show().css('height', ad_height + 'px');
299
300                // 顯示關閉按鈕並綁定關閉事件
301                if (ad_height > 50) {
302                    // 調整Top按鈕高度
303                    $('#top').css('bottom', (ad_height + 20) + 'px');
304                    // 監聽關閉按鈕
305                    $adI1Bottom.prepend('<i class="close"></i>');
306                    $adI1Bottom.find('.close').click(function () {
307                        $adI1Bottom.fadeOut(100);
308                        $('.door-bottom-space').fadeOut(100);
309                        $('#top').css('bottom', '100px');
310                    });
311                }
312                return;
313            }
314
315            // 有IR1時顯示「請繼續往下閱讀...」
316            if (slotElementId == 'ad-IR1' || slotElementId == 'ad-PCIR1') {
317                // 顯示「請繼續往下閱讀...」(class="before_ir"在cache中寫的)
318                $('p.before_ir').fadeIn(200);
319                $('p.after_ir').fadeIn(200);
320            }
321
322            // 再檢查一次 ad-K1 , 如果有 id ad-K10,把 ad-K1 刪除
323            if (slotElementId == 'ad-K1') {
324                let specialAdElement = document.getElementById('ad-K10');
325                specialAdElement && specialAdElement.classList.remove("suggest_default");
326            }
327        });
328        googletag.enableServices();
329    });
330</script>
330
331
332<script>
333    // 判斷裝置 並只呼叫相同裝置的廣告
334    function displayDFP(div, dfpDevice) {
335        var realDevice = cookies_m.isPC() ? 'pc' : 'm';
336        if (dfpDevice !== realDevice) {
337            $('#'+div).remove();
338            return;
339        }
340        googletag.cmd.push(function() { googletag.display(div); });
341    }
342</script>
342
343        
343<script>
344    var keywords = $('meta[name="keywords"]').attr('content');
345    var keywordsArr = keywords.split(',');
346    for (var i = 0; i < keywordsArr.length; i++) {
347        keywordsArr[i] = keywordsArr[i].trim()
348    }
349    var googletag = googletag || {};
350    googletag.cmd = googletag.cmd || [];
351
352    googletag.cmd.push(function() {
353        googletag.pubads().setTargeting("ltn_keywords", keywordsArr);
354    });
355</script>
355
356
357        
358        
359        <!-- 隨機交換今日熱門和你可能會喜歡區塊位子 -->
360        
360<script>
361    var randBlock = Math.floor(Math.random() * 2); // 0 or 1
362    if (!isTW || sysLang !== 'zh-tw') {
363        randBlock = 0;
364    }
365    $(function () {
366        var todayNewsAd = Math.floor(Math.random() * 2); // 0:tenmax 1:freakout
367        document.cookie = "randBlock=" + randBlock;
368        document.cookie = "todayNewsAd=" + todayNewsAd;
369        var todayHotNews = $('div#randBlock1 > div#todayHotNews');
370        var maybeLike = $('div#randBlock2 > div#maybeLike');
371        var todayHotNewsDesc = todayHotNews.find('div.todaynews').data('desc');
372        if (randBlock == 1) {
373            todayHotNews.appendTo($('div#randBlock2'));
374            maybeLike.appendTo($('div#randBlock1'));
375            blockAbTest = 'B';
376        } else {
377            blockAbTest = 'A';
378        }
379        $('div#todayHotNews').find('div.todaynews').attr('data-desc', todayHotNewsDesc + '-' + blockAbTest);
380    });
381</script>
381
382
383<!-- Floodlight Tag -->
384<script>
385window.dataLayer = window.dataLayer || [];
386let tag = {
387    'event': 'page_view',
388    'page_details':
389        {
390"page_type":"article",
391"headline":"沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息",
392"article_id":"5592174",
393"content_category":"politics",
394"author_id":"",
395"author_name":"",
396"publish_date":"2026-10-01",
397"publish_time":"16:11",
398"article_tags":"沈伯洋|洋流|2026九合一選舉|市長,你給我聽好了|市長你給我聽好了",
399"article_type":"free",
400"feature_type":""
401}};
402    console.log(tag);
403window.dataLayer.push(tag);
404</script>
404
405
406        <!-- DV360 Floodlight Tag -->
vendor: 64 bytes, lines 406-407
406
407<script async src="https://www.googletagmanager.com/gtag/js?id=
407DC-9530821
vendor: 12 bytes, line 407
407"></script>
408<script>
409    
vendor: 139 bytes, lines 409-412
409window.dataLayer = window.dataLayer || [];
410    function gtag(){dataLayer.push(arguments);}
411    gtag('js', new Date());
412    gtag('config', '
412DC-9530821
vendor: 4 bytes, line 412
412');
413</script>
413
414<!-- Floodlight Tag -->
415
416<!-- Google Tag Manager -->
417<script async>
vendor: 327 bytes, lines 417-421
417(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
418new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
419j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
420'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
421})(window,document,'script','dataLayer','
421GTM-P98PP75
vendor: 3 bytes, line 421
421');
421</script>
421
422<!-- End Google Tag Manager -->
423
424<!-- Google Tag Manager (noscript) -->
vendor: 68 bytes, lines 424-425
424
425<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
425GTM-P98PP75
vendor: 101 bytes, lines 425-426
425"
426                  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
427<!-- End Google Tag Manager (noscript) -->
428
429<!-- Google Analytics PageView -->
430<script async>
vendor: 359 bytes, lines 430-436
430
431    (function(i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() {
432        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
433        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
434    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
435
436    ga('create', '
436UA-31404335-1
vendor: 16 bytes, lines 436-437
436', 'auto');
437    
437ga('require', 'displayfeatures');
438    ga('require', 'linkid', 'linkid.js');
439    ga('send', 'pageview');
440</script>
440
441<!-- Google Analytics PageView -->
442        <!--更新時間:2026/10/01 16:40:08-->
442<script>
443let checkDevice = cookies_m.isPC() ? 'pc' : 'm';
444</script>
444
445    
445<script data-cfasync="false" src="https://cache.ltn.com.tw/js/adpushup.min.js"></script>
vendor: 1 bytes, line 445
445
446<script src="https://cache.ltn.com.tw/js/cache_all.min.js"></script>
vendor: 1 bytes, line 446
446
447<script>
448//fetch hotNews data
449
450/**
451 * 戳機器學習api
452 * @param array categoryAndType 分類跟文章類別[0]分類 [1]文章類別
453 * @param int limit 出幾則
454 * @param string section 渲染的位置/區塊
455 */
456function fetchHotNews(categoryAndType, limit, section) {
457    let requestData = {
458        "category": categoryAndType[0],
459        "article_type": categoryAndType[1] ? categoryAndType[1] : "",
460        "limit": limit,
461        "rh_guid": "guid string",
462        "utm_source": hotNewsSource,
463        "utm_medium": section
464    };
465
466    return fetchNews(hotNewsUrl, requestData, 'recommendations');
467};
468
469/**
470 * 取機器學習的相關新聞
471 * @param string ltc_no 新聞編號
472 * @param string ltc_group 新聞分類
473 * @param int limit 出幾則
474 * @param string utmSource 來源
475 */
476function fetchRelatedNews(ltc_no, ltc_group, limit, utmSource='')
477{
478    let requestData = {
479        "ltc_no": ltc_no,
480        "ltc_group": ltc_group,
481        "limit": limit,
482        "utm_source": utmSource,
483        "utm_medium": "relatedNews"
484    };
485    return fetchNews(relatedNewsUrl, requestData, 'related_news');
486}
487
488// 相關新聞與熱門新聞共用fetch
489function fetchNews(url, requestData, resultKey) {
490    let urlWithGET = new URL(url);
491    urlWithGET.search = new URLSearchParams(requestData).toString();
492    return fetch(urlWithGET, {
493            headers: {
494                "Content-Type": "application/json"
495            }
496        })
497        .then(response => {
498            if (!response.ok) {
499                throw new Error('response error: ' + response.status);
500            }
501            return response.json();
502        })
503        .then(data => {
504            if (data && data[resultKey]) {
505                return data[resultKey];
506            } else {
507                return [];
508            }
509        })
510        .catch(error => {
511            console.error('fetch error:', error);
512            return [];
513        });
514}
515
516/**
517 * 檢查originalMoreNews是否有ad並塞入FetchRelatedNews
518 * data fetch回來的
519 * originalMoreNews 原始的
520 */
521function insertAdToFetchRelatedNews(data, originalMoreNews)
522{
523    var hasAd = originalMoreNews.some(function(news) {
524        return news.buy;
525    });
526
527    if (hasAd) {
528        var adNews = originalMoreNews.filter(function(news) {
529            return news.buy;
530        });
531        for (var i = 0; i < adNews.length; i++) {
532            insertAdAtPosition(data, adNews[i], (3 + i * 3));
533        }
534    }
535    return data;
536}
537
538/**
539 * 在指定位置塞入廣告
540 * data 整包資料
541 * adNews 新聞
542 * position 寫入位置
543 */
544function insertAdAtPosition(data, adNews, position)
545{
546    (data.length >= position) ? data.splice(position - 1, 0, adNews) : data.push(adNews);
547    return data;
548}
549
550//if no data remove dom
551function removeHotnewsDOM(sectionClass) {
552    const elements = document.querySelectorAll('.' + sectionClass);
553    elements.forEach(element => {
554        element.remove();
555    });
556}
557</script>
557
558    </head>
559
560    <body id="ltnRWD">
561        
561<script>
562    // —— 1. 通用的 空閒 任務調度器 ——
563    (function(global){
564        // 存放所有待執行的任務
565        const idleQueue = [];
566        let scheduled = false;
567
568        // 核心:在本次空閒時間內執行隊列中的任務
569        function flushIdleTasks(deadline) {
570            scheduled = false;
571            // 只要還有空閒時間或已超時,且隊列不空,就繼續執行
572            while ((deadline.timeRemaining() > 0 || deadline.didTimeout) && idleQueue.length) {
573                const task = idleQueue.shift();
574                try { task(); }
575                catch(e){ console.error('空閒任務執行錯誤', e); }
576            }
577            // 如果還有任務未執行,安排下一輪
578            if (idleQueue.length) scheduleFlush();
579        }
580
581        // 暴露到全局:用於添加新任務
582        global.scheduleIdleTask = function(fn, options) {
583            idleQueue.push(fn);
584            if (!scheduled) {
585                scheduled = true;
586                if ('requestIdleCallback' in global) {
587                    requestIdleCallback(flushIdleTasks, options);
588                } else {
589                    // fallback:在下一個畫面更新後或 50ms 後執行
590                    setTimeout(() => {
591                        // 構造一個模擬的 deadline 物件
592                        flushIdleTasks({ timeRemaining: () => 0, didTimeout: true });
593                    }, options && options.timeout || 50);
594                }
595            }
596        };
597
598        function scheduleFlush() {
599            if ('requestIdleCallback' in global) {
600                requestIdleCallback(flushIdleTasks);
601            } else {
602                setTimeout(() => flushIdleTasks({ timeRemaining: () => 0, didTimeout: true }), 50);
603            }
604        }
605    })(window);
606</script>
606
607        <link rel="stylesheet" href="https://cache.ltn.com.tw/css/cache_ads_h1.css" />
608<div class="splash" align="center" style="display:none;">
609    <div class="banner_close" id="closeID" style="display:none;"></div>
610    <div id="ad-H1"></div>
611</div>
612<script defer src="https://cache.ltn.com.tw/js/showCoverAd.min.js"></script>
vendor: 1 bytes, line 612
612
613<script defer src="https://cache.ltn.com.tw/js/cache_ads_h1.min.js"></script>
613
614        
615        <!-- 大數據 -->
616        
616<script>
617    $(function() {
618        // LTN大數據
619        try {
620            if(typeof(newsClass) == "undefined")
621                newsClass = '';
622            if(typeof(newsNo) == "undefined")
623                newsNo = '';
624            var uri = location.pathname;
625            var cate = category;
626            var abtest = '';
627
628            if(uri==''){
629
630            }else if(uri=='/' || (/^\/section\//).test(uri)){
631                var s = location.pathname.split("/");
632                cate = s[2];
633            }else if(/^\/news\//.test(uri)){
634                var s = location.pathname.split("/");
635                newsClass = s[3];
636                newsNo = s[4];
637                cate = s[2];
638                abtest = adDevice + blockAbTest;
639            }
640
641            getScrNews2(newsServer, cate, newsClass, newsNo, abtest)
642
643        }catch(e) {
644
645        }
646    });
647</script>
647
648        
648<script>
649    $(function() {
650        // GA事件
651        ga_news_event();
652    });
653
654    // GA 點擊事件統計
655    function ga_news_event()
656    {
657        var base_root_org = 'http://'+newsServer;
658
659        var deviceDesc = $("meta[name='ltn:device']").attr('content') || 'U';
660        /*取頁面說明*/
661        var _pageDesc = $('.page-name').attr('data-desc');
662
663        var pageDesc =deviceDesc+':'+_pageDesc;
664
665        $(document.body).on('click.ga', '.boxInput', function(){
666            var obj = $(this);
667            var objDesc = obj.attr('data-desc');
668
669            var par = obj.parents('.boxTitle');
670            var boxDesc = par.attr('data-desc');
671
672            var category = pageDesc;
673            var action = boxDesc;
674            var label = objDesc || ''; /*使用自定義說明*/
675
676            ga_send_event(category,action,label);
677
678        });
679
680        $('.boxTitle').on('click.count', 'a', function(e){
681            if(e.button!=0){return;}
682            var lightboxName = this.className;
683            if (lightboxName == 'image-popup-vertical-fit') {
684                if(getinfo($(this), true)) {
685                    if (!staticSlot) {
686                        e.preventDefault();
687                    }
688                }
689            } else {
690                if(getinfo($(this), false)) {
691                    if (!staticSlot) {
692                        e.preventDefault();
693                    }
694                }
695            }
696
697        }).on('mouseup.count', 'a', function(e){
698            if(e.button!=1){return;}
699            getinfo($(this), true);
700            if (!staticSlot) {
701                e.preventDefault();
702            }
703        });
704
705        function setltncookies(area, item, elem){
706            var ov_sec = 30;
707            ltncookies_news("ltn_device", deviceDesc, ov_sec);
708            ltncookies_news("ltn_page", _pageDesc, ov_sec);
709            ltncookies_news("ltn_area", area, ov_sec);
710            ltncookies_news("ltn_item", item, ov_sec);
711            ltncookies_news("ltn_elem", elem, ov_sec);
712        }
713        function getinfo(obj, SendOnly){
714
715            var objText = obj.text();
716            var objDesc = obj.attr('data-desc');
717
718            var par = obj.parents('.boxTitle');
719            /*取區塊說明*/
720            var boxDesc = par.attr('data-desc');
721            /*是否用連結文字*/
722            var useText = par.hasClass('boxText');
723
724            var category = pageDesc;
725            var action = boxDesc;
726            var label = objDesc || ''; /*使用自定義說明*/
727            if(useText && label==''){
728                label = objText || ''; /*使用連結文字*/
729            }
730
731            var labelA = label;
732            var idx = $('a', par).index(obj);
733            if(label==''){
734                /*記錄該區塊第幾則*/
735                label = '第'+idx+'則';
736            }
737
738            var target = obj.attr('target');
739            var href = '';
740            var _href = obj.attr('href');
741
742            if(_href){
743                href = check_url(_href);
744            }
745
746            var send_type = 'send';
747
748            if(!target && href!=''){
749                send_type = 'redirect';
750            }
751
752            if(SendOnly) send_type = 'send';
753
754            if (staticSlot) {
755                send_type = 'send';
756            }
757
758            setltncookies(action, idx, labelA);  // Add area, item,
759            if(send_type=='send'){
760                ga_send_event(category,action,label);
761                return false;
762            }else{
763                send2ga2page(category,action,label,href);
764                return true;
765            }
766        }
767
768        function check_url(_url){
769            if((/^http:/).test(_url)){
770                return _url;
771            }else if((/^https:/).test(_url)){
772                return _url;
773            }else if((/^\/\//).test(_url)){
774                return _url;
775            }else if((/^javascript/).test(_url)){
776                return '';
777            }else if((/^#/).test(_url)){
778                return '';
779            }else{
780                var base_root = $('base').attr('href') || base_root_org;
781                return base_root+_url;
782            }
783        }
784
785        /*GA事件追蹤:頁面不轉換*/
786        function ga_send_event(category, title, label){
787            ga_send_event_callback(category, title, label, function(){});
788        }
789
790        /*GA事件追蹤:頁面轉換*/
791        function ga_send_event_callback(category, title, label, fn_callback){
792            //return fn_callback();
793            ga('send', 'event', category, title, label, {'hitCallback':
794                    function() {
795                        fn_callback();
796                    }
797            });
798            //console.log(category+'-'+title+'-'+label);
799            //return false;
800        }
801
802        /*GA事件追蹤:連結點擊*/
803        function send2ga2page(category, title, label, url) {
804            var redirectTriggered = false;
805
806            ga_send_event_callback(category, title, label, function(){
807                redirectTriggered = true;
808                document.location = url;
809            });
810
811            setTimeout(function() {
812                if (!redirectTriggered) {
813                    document.location = url;
814                }
815            }, 1500);
816        }
817    }
818
819</script>
819
820                        <!--
821Event snippet for LTN_Website_Audience on : Please do not remove.
822Place this snippet on pages with events you’re tracking.
823Creation date: 07/18/2019
824-->
825<script>
826    gtag('event', 'conversion', {
827        'allow_custom_scripts': true,
828        'u1': 'news',
829        'u2': '政治',
830        'u3': '5592174',
831        'u4': '',
832        'u5': '',
833        'send_to': 'DC-9530821/invmedia/ltn_w0+standard'
834    });
835</script>
835
836<noscript>
837    <img src="https://ad.doubleclick.net/ddm/activity/src=9530821;type=invmedia;cat=ltn_w0;u1=news;u2=政治;u3=5592174;u4=;u5=;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt="impression" />
838</noscript>
839<!-- End of event snippet: Please do not remove -->
840                <noscript><img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=LS4hj1a8Dy002+" style="display:none" height="1" width="1" alt="" /><img src="https://b.scorecardresearch.com/p?c1=2&c2=18368781&cv=2.0&cj=1" alt="" /></noscript>
841        <div class="headerP_high"></div>
842        <span class="page-name" data-desc="內容頁"></span>
843        <link rel="stylesheet" href="https://cache.ltn.com.tw/css/ltn_header.css?20251117" />
844<script src="https://cache.ltn.com.tw/js/rwd_mobile_search.js?20200609"></script>
844
845
846
847<!-- Header 開始 -->
848<div class="ltnheader boxTitle boxText" data-desc="置頂選單">
849    <div class="row1">
850		        <a title="自由時報" href="https://www.ltn.com.tw" data-desc="自由時報" class="logo">
851			<img src="https://cache.ltn.com.tw/images/ltn_logo.png" alt="自由時報" title="自由時報">
852		</a>
853
854        <!-- 手機側邊欄選單用 -->
855        <div class="ltnSearch"></div>
856        <div class="nav_bar"></div>
857
858
859        <!-- 關鍵字 -->
860        <ul class="header_kw">
861                    <li class="h_kw">
862        <a title="名古屋亞運" href="https://news.ltn.com.tw/topic/%E5%90%8D%E5%8F%A4%E5%B1%8B%E4%BA%9E%E9%81%8B?utm_source=NEWS&utm_medium=keyword_mainphoto&utm_campaign=keyword_list&utm_content=%25E5%2590%258D%25E5%258F%25A4%25E5%25B1%258B%25E4%25BA%259E%25E9%2581%258B" data-desc="名古屋亞運">
863            名古屋亞運        </a>
864    </li>
865        <li class="h_kw">
866        <a title="沈伯洋" href="https://news.ltn.com.tw/topic/%E6%B2%88%E4%BC%AF%E6%B4%8B?utm_source=NEWS&utm_medium=keyword_mainphoto&utm_campaign=keyword_list&utm_content=%25E6%25B2%2588%25E4%25BC%25AF%25E6%25B4%258B" data-desc="沈伯洋">
867            沈伯洋        </a>
868    </li>
869        <li class="h_kw">
870        <a title="2026九合一選舉" href="https://news.ltn.com.tw/topic/2026%E4%B9%9D%E5%90%88%E4%B8%80%E9%81%B8%E8%88%89?utm_source=NEWS&utm_medium=keyword_mainphoto&utm_campaign=keyword_list&utm_content=2026%25E4%25B9%259D%25E5%2590%2588%25E4%25B8%2580%25E9%2581%25B8%25E8%2588%2589" data-desc="2026九合一選舉">
871            2026九合一選舉        </a>
872    </li>
873        </ul>
874        <!-- 展開搜尋 -->
875        <div class="ltnsch_show boxTitle boxText" title="搜尋" data-desc="搜尋">
876            <form action="https://search.ltn.com.tw/list" method="get" name="search" onsubmit="return send();">
877                <input name="keyword" id="cacheSearch" type="text" placeholder="Search...">
878                <button type="submit" data-desc="Search" id="search_submit_btn"></button>
879            </form>
880        </div>
881    </div>
882
883    <!-- Header 選單 -->
884	<div class="row2">
885				<span class="slipR">〉</span>
886		<ul>
887			<!--<li class="h_kw"><a>關鍵字五字</a></li>-->
888			<li><a title="即時" href="https://news.ltn.com.tw/list/breakingnews" data-desc="即時">即時</a></li>
889			<li><a title="熱門" href="https://news.ltn.com.tw/list/breakingnews/popular" data-desc="ç†
889±é–€">熱門</a></li>
890			<li><a title="政治" href="https://news.ltn.com.tw/list/breakingnews/politics" data-desc="政治">政治</a></li>
891			<li class="li_rich"><a title="財富自由" href="https://stock.ltn.com.tw" data-desc="財富自由" target="_blank">財富自由</a></li>
892			<li><a title="軍武" href="https://def.ltn.com.tw" data-desc="軍武">軍武</a></li>
893			<li><a title="社會" href="https://news.ltn.com.tw/list/breakingnews/society" data-desc="社會">社會</a></li>
894			<li><a title="生活" href="https://news.ltn.com.tw/list/breakingnews/life" data-desc="生活">生活</a></li>
895			<li><a title="健康" href="https://health.ltn.com.tw" data-desc="健康">健康</a>
896			<li><a title="國際" href="https://news.ltn.com.tw/list/breakingnews/world" data-desc="國際">國際</a></li>
897			<li><a title="地方" href="https://news.ltn.com.tw/list/breakingnews/local" data-desc="地方">地方</a></li>
898			<li><a title="蒐奇" href="https://news.ltn.com.tw/list/breakingnews/novelty" data-desc="蒐奇">蒐奇</a></li>
899			<li><a title="影音" href="https://videos.ltn.com.tw" data-desc="影音">影音</a></li>
900			<li><a title="財經" href="https://ec.ltn.com.tw" data-desc="財經">財經</a></li>
901			<li><a title="娛樂" href="https://ent.ltn.com.tw" data-desc="娛樂">娛樂</a></li>
902			<li><a title="汽車" href="https://auto.ltn.com.tw" data-desc="汽車">汽車</a></li>
903			<li><a title="時尚" href="https://istyle.ltn.com.tw" data-desc="時尚">時尚</a></li>
904			<li><a title="體育" href="https://sports.ltn.com.tw" data-desc="體育">體育</a></li>
905			<li><a title="3C" href="https://3c.ltn.com.tw" data-desc="3C">3 C</a></li>
906			<li><a title="評論" href="https://talk.ltn.com.tw" data-desc="評論">評論</a></li>
907			<li><a title="藝文" href="https://art.ltn.com.tw" data-desc="藝文">藝文</a></li>
908			<li><a title="玩咖" href="https://playing.ltn.com.tw" data-desc="玩咖">玩咖</a></li>
909			<li><a title="食譜" href="https://food.ltn.com.tw" data-desc="食譜">食譜</a></li>
910			<li><a title="地產" href="https://estate.ltn.com.tw" data-desc="地產">地產</a></li>
911			<li class="li_project"><a title="專區" href="https://features.ltn.com.tw/" data-desc="專區">專區</a></li>
912			<li class="li_TT"><a title="TAIPEI TIMES" href="http://www.taipeitimes.com/" data-desc="TAIPEI TIMES" target="_blank">TAIPEI TIMES</a></li>
913			<li><a title="求職" href="https://ltn_jobs.yes123.com.tw/index.asp" data-desc="求職" target="_blank">求職</a></li>
914		</ul>
915	</div>
916
917	<!-- 快訊 -->
918    <div id="marqueeHeader"></div>
919</div>
920
921<!-- 行動裝置:搜尋 -->
922<div class="M_LTN_Search">
923	<div class="mobileMask" style=""></div>
924	<div class="MSearch_con">
925		<div class="searchltn_close"></div>
926		<form class="formSearch" action="https://search.ltn.com.tw/list" method="get" onsubmit='return search_for_all_news();'>
927			<input placeholder="請輸入關鍵字" name="keyword" type="text" id="rwd_qs" value="">
928			<div class="sbox03"><button type="submit" class="formSearchbt" data-desc="Search" id="search_submit_btn">Search</button></div>
929		</form>
930	</div>
931</div>
932<!-- 行動裝置:搜尋 結束 -->
933
934<script>
935    var count = 0;
936    function send() {
937        if (count == 0) {
938            count++;
939            key = document.getElementById("cacheSearch").value.replace(/( )+/g, ' ');
940            key = key.replace(/( )+/g, ' ');
941            key = key.replace(/^[\s]*/gi, ""); //去除左邊空白
942            key = key.replace(/[\s]*$/gi, ""); //去除右邊空白
943            document.getElementById("cacheSearch").value = key;
944
945            kw = key.split(" ");
946
947            if (key.length > 50) {
948                alert("關鍵字數過長");
949                count = 0;
950                return false;
951            }
952            else if (kw.length > 3) {
953                alert("超過三組關鍵字");
954                count = 0;
955                return false;
956            }
957            else if ((kw.length == 1 && kw[0].length < 2)) {
958                alert("關鍵字需兩個字以上");
959                count = 0;
960                return false;
961            }
962            else
963                return true;
964        }
965    }
966</script>
966
967
968<script>
969    /*滑動隱藏header*/
970    var startScroll = false;
971    var firstScrollTop = 0;
972    $(window).on('scroll', function() {
973        if (!startScroll || this.scrollY <= $('#marquee').find('li').outerHeight(true)) {
974            $('body').removeClass('hideUp');
975            return;
976        }
977        if (firstScrollTop == 0) {
978            firstScrollTop = this.scrollY;
979        }
980        firstScrollTop = hideUp(firstScrollTop, this.scrollY);
981    });
982    setTimeout(function () {
983       startScroll = true;
984    }, 3000);
985    function hideUp(startY,  endY) {
986        var moveY = endY - startY;
987        var targetUp = 0;
988        var targetDown = 0;
989        if ($(window).outerWidth(true) <= 800) {
990            //手機版條件
991            targetUp = 5;
992            targetDown = -80;
993        }
994        if (moveY > targetUp) {
995            // 往上滑
996            $('body').addClass('hideUp');
997            startY = 0;
998        } else if (moveY < targetDown) {
999            // 往下滑 body移除hideUp以顯示header
1000            $('body').removeClass('hideUp');
1001            startY = 0;
1002        }
1003        return startY;
1004    }
1005</script>
1005
1006<style>
1007    /*滑動隱藏header*/
1008    .ltnheader { transition: all 0.8s; }
1009	.hideUp .ltnheader { top:-110px; }
1010	@media screen and (max-width:800px){ /* 配合快訊轉 M 版 #marqueeHeader,高度撐開 */
1011		.hideUp .ltnheader { top: -88px; }
1012	}
1013</style>
1014
1015<!--
1016主站用選單 ( ltwww3 + ltnews3 ) 相關檔案 ↓
1017cache:
1018css/ltn_header.css
1019application/views/cache_ltn_header.php
1020application/views/block/ltn_header.php
1021-->
1022
1023
1024    
1025        <!-- /21202031/01-news-pol-P-K1 -->
1026    <div id="ad-K1"
1027        class="boxTitle adHeight250 suggest_pc"
1028        data-desc="廣告ad-K1"
1029        style="text-align: center;">
1030            
1030<script>displayDFP('ad-K1', 'pc');</script>
1030
1031    </div>
1032
1033
1034        <style>
1035    @charset "utf-8";
1036    
1037/* CSS Document */
1038#mobileMenu * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
1039#mobileMenu{width:200px; /*width:100%;*/ height:100vh; overflow-y:scroll; overflow-x:hidden; transition:all 0.1s linear; font-size:16px; }
1040	#mobileMenu::-webkit-scrollbar { display: none; /*Chorme*/}
1041	#mobileMenu { scrollbar-width: none; /*FF*/}
1042	#mobileMenu { -ms-overflow-style: none; /*IE*/}
1043#mobileMenu a { color:#fff; cursor:pointer; }
1044#mobileMenu .MM { width:200px; background-color:#5e5e5e; position:absolute; top:0; z-index:50; box-shadow:0px 0px 8px 3px rgba(0,0,0,0.3), -6px 0px 10px 0px rgba(0,0,0,0.3) inset; }
1045.mobileMenu { display:none; height:100%; position:fixed; top:0; z-index:3001; }
1046
1047/* ----------- ltn 相關 ----------- */
1048#mobileMenu div.MM div.ltn_home { display:block; width:100%; }
1049#mobileMenu .ltn_home a {
1050    display:block;
1051    height:50px;
1052    line-height:50px;
1053    position:relative;
1054    color:#fff;
1055    padding:0px 0px 0px 40px;
1056}
1057#mobileMenu .ltn_home a.home { border-bottom:2px solid #7d7d7d; }
1058#mobileMenu .ltn_home a.icon_item, #mobileMenu .ltn_home a.dot { border-top:1px solid #000; margin:0; }
1059#mobileMenu .ltn_home a.home:before, #mobileMenu .ltn_home a.dot:before, #mobileMenu .ltn_home a.icon_item:before {
1060    content:"";
1061    display:block;
1062    width:18px;
1063    height:20px;
1064    position:absolute;
1065    left:13px;
1066    top:15px;
1067}
1068#mobileMenu .ltn_home a.home:before, #mobileMenu .ltn_home a.icon_item:before { background-size: 18px; background-repeat: no-repeat; background-position: center 1px; }
1069#mobileMenu .ltn_home a.home:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_home.svg); }
1070#mobileMenu .ltn_home a.app:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_app.svg); }
1071#mobileMenu .ltn_home a.fb:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_fb.svg); }
1072#mobileMenu .ltn_home a.line:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_line.svg); }
1073#mobileMenu .ltn_home a.twitter:before { background-image: url(https://cache.ltn.com.tw/images/icon/mobileBT_x.svg); }
1074#mobileMenu .ltn_home a.dot:before {
1075    width: 6px;
1076    height: 6px;
1077    background-color: #fff;
1078    border-radius: 50%;
1079    left: 18px;
1080    top: 20px;
1081}
1082
1083/* --- 調整IOS用 --- */
1084#mobileMenu .ltn_home .spacing { width:100%; height:120px; }
1085#mobileMenu .ltn_home a.dot { border-bottom:1px solid #000; }
1086/* --- 頻道調整用 --- */
1087#mobileMenu .MM .ltn_home a.app { background-color:transparent; border:none; border-radius:0; }
1088#mobileMenu .MM .ltn_home a.line { float:none; }
1089
1090/* ----------- 所有頻道選單 ----------- */
1091#mobileMenu div.MM .mainM { background-color:#4a4947; border-bottom:4px solid #000; overflow:hidden; letter-spacing:4px; }
1092#mobileMenu .mainM .ltnM { background-color:#625d5a; border-bottom:3px solid #000; overflow:hidden; float:left;}
1093#mobileMenu .mainM a { display:block; float:left; width:50%; height:50px; line-height:50px; text-align:center; border-bottom:1px solid #000; border-right:1px solid #000; }
1094#mobileMenu .mainM a.full { width:100%; float:left; text-align:left; padding-left:30px; border-bottom:1px solid #000; border-right:none; }
1095#mobileMenu .mainM .ltnM a:nth-child(even) { border-right:none; }
1096
1097/* ----------- 側邊陰影 ----------- */
1098#mobileMenu div.MM .channel, #mobileMenu div.MM .mainM, #mobileMenu div.MM .mainM .ltnM
1099{ box-shadow:-6px 0px 10px 0px rgba(0,0,0,0.2) inset, 3px 0px 7px 0px rgba(0,0,0,0.2) inset; }
1100
1101/* ----------- 目前頻道選單 ----------- */
1102#mobileMenu div.MM .channel { background-color:#888; border-bottom:10px solid #000; overflow:hidden; padding:0;margin:0; }
1103#mobileMenu .channel .tit { height:25px; background-color:#000; color:#fff; font-size:0.85rem; line-height:25px; text-align:left; padding-left:10px; margin:0; }
1104#mobileMenu .channel a { padding-left:10px; display:block; float:left; width:50%; height:50px; line-height:50px; border-bottom:1px solid #000; border-right:1px solid #000; }
1105#mobileMenu .channel a.full { width:100%; float:left; border-bottom:1px solid #000; }
1106#mobileMenu .channel a.half img, #mobileMenu .channel a.full img { width:16px; vertical-align:middle; margin:0px 4px 3px 0px; }
1107#mobileMenu .channel a.half span, #mobileMenu .channel a.full span { letter-spacing:normal; }
1108#mobileMenu .channel a.half { clear:none; }/*程式用*/
1109#mobileMenu .channel a.word { line-height:1.3; padding-top:4px; }/*選項折行(5個字以上:廚房生活小知識)*/
1110
1111/* --- 左側選單 --- */
1112.mobileMenu_left { left:-200px; }
1113#mobileMenu .mobileMenu_left_close { left: 200px; }
1114#mobileMenu .mobileMenu_left_MM { left: 0; }
1115
1116/* --- 右側選單 --- */
1117.mobileMenu_right { right:-200px; }
1118#mobileMenu .mobileMenu_right_close { right: 200px; }
1119#mobileMenu .mobileMenu_right_MM { right:0; }
1120
1121/* --- 遮罩 --- */
1122.maskMM { background:rgba(255,255,255,0.7); width:100vw; height:100vh; position:fixed; z-index:3000; top:0; left:0; right:0; overflow:hidden; transition:all 0.1s linear; display:none; }
1123.opacity { overflow-y:hidden; }
1124.VB { display:block; }
1125/* --- 側邊欄bt ---*/
1126.nav_bar { -webkit-tap-highlight-color:rgba(0,0,0,0); display:inline-block; vertical-align:middle; width:45px; height:45px; cursor:pointer; position:absolute; right:10px; top:0; background:url(https://cache.ltn.com.tw/images/icon/g_menu.svg) no-repeat center; background-size:20px; }
1127#mobileMenu .close { display:inline-block; vertical-align:middle; width:50px; height:50px; cursor:pointer; position:absolute; top:0; left:150px; z-index:55; background:url(https://cache.ltn.com.tw/images/icon/g_close.svg) no-repeat center, #aaa; background-size:30px; -webkit-tap-highlight-color:rgba(0,0,0,0); }
1128
1129/* --- rwd頻道需要 ---*/
1130@media screen and (min-width:800px){
1131    #estate .maskbg, #talk .maskbg, #partner .maskbg { display:none; }
1132    #estate .nav_bar, #talk .nav_bar, #partner .nav_bar { display:none; }/*800以上隱藏手機版漢堡*/
1133}
1134
1135/* --- google廣告 amp格式 修正 ---*/
1136div[id^='google_ads_iframe'] {
1137    margin: 0 auto;
1138}
1139
1140    /* [MOBILE CSS] */
1141</style>
1142<script src="https://cache.ltn.com.tw/js/mobilemenu.js?20190708"></script>
1142
1143
1144<div id="mobileMenu" class="mobileMenu mobileMenu_right">
1145    <div class="close mobileMenu_right_close"></div>
1146    <div class="MM mobileMenu_right_MM">
1147        <!-- ltn首頁 -->
1148        <div class="ltn_home boxTitle boxText" data-desc="側邊選單:自由時報電子報">
1149            <a title="自由時報電子報" href="https://www.ltn.com.tw/" class="home">自由電子報</a>
1150        </div>
1151        <!-- 目前頻道選單 -->
1152                <!-- 所有頻道選單 -->
1153        <div class="mainM boxTitle boxText" data-desc="側邊選單:頻道選單">
1154            <a title="自由影音" href="https://videos.ltn.com.tw" class="full">自由影音</a>
1155            <!-- 即時 -->
1156            <div class="ltnM boxText">
1157                <a title="即時" href="https://news.ltn.com.tw/list/breakingnews">即時</a>
1158                <a title="熱門" href="https://news.ltn.com.tw/list/breakingnews/popular">熱門</a>
1159                <a title="政治" href="https://news.ltn.com.tw/list/breakingnews/politics">政治</a>
1160                <a title="軍武" href="https://def.ltn.com.tw">軍武</a>
1161                <a title="社會" href="https://news.ltn.com.tw/list/breakingnews/society">社會</a>
1162                <a title="生活" href="https://news.ltn.com.tw/list/breakingnews/life">生活</a>
1163                <a title="健康" href="https://health.ltn.com.tw">健康</a>
1164                <a title="國際" href="https://news.ltn.com.tw/list/breakingnews/world">國際</a>
1165                <a title="地方" href="https://news.ltn.com.tw/list/breakingnews/local">地方</a>
1166                <a title="蒐奇" href="https://news.ltn.com.tw/list/breakingnews/novelty">蒐奇</a>
1167            </div>
1168            <!-- 頻道 -->
1169			<a title="財富自由" href="https://stock.ltn.com.tw" class="full" target="_blank">財富自由</a>
1170            <a title="財經" href="https://ec.ltn.com.tw">財經</a>
1171            <a title="娛樂" href="https://ent.ltn.com.tw">娛樂</a>
1172            <a title="藝文" href="https://art.ltn.com.tw">藝文</a>
1173            <a title="汽車" href="https://auto.ltn.com.tw">汽車</a>
1174            <a title="時尚" href="https://istyle.ltn.com.tw">時尚</a>
1175            <a title="體育" href="https://sports.ltn.com.tw">體育</a>
1176            <a title="3C" href="https://3c.ltn.com.tw">3 C</a>
1177            <a title="評論" href="https://talk.ltn.com.tw">評論</a>
1178            <a title="玩咖" href="https://playing.ltn.com.tw">玩咖</a>
1179            <a title="食譜" href="https://food.ltn.com.tw">食譜</a>
1180            <a title="地產" href="https://estate.ltn.com.tw">地產</a>
1181            <!--<a style="cursor: default;"></a>-->
1182            <a title="專區" href="https://features.ltn.com.tw">專區</a>
1183            <a title="服務" href="https://service.ltn.com.tw">服務</a>
1184        </div>
1185        <!-- 其他 -->
1186        <div class="ltn_home boxTitle boxText" data-desc="側邊選單:其他選單">
1187
1188            <a title="自由時報電子報APP" href="https://service.ltn.com.tw/app" target="_blank" class="icon_item app">自由電子報 APP</a>
1189
1190            <a title="自由時報電子報粉絲團" href="https://www.facebook.com/m.ltn.tw" target="_blank" class="icon_item fb">自由電子報粉絲團</a>
1191
1192            <a title="自由時報電子報Line" href="https://line.me/R/ti/p/%40ltnnews" target="_blank" class="icon_item line">自由電子報 Line</a>
1193
1194            <a title="自由時報電子報Twitter" href="https://twitter.com/ltntw" target="_blank" class="icon_item twitter">自由電子報 X</a>
1195
1196            <a title="熱門新訊" href="https://market.ltn.com.tw/m" class="dot">熱門新訊</a>
1197
1198            <div class="spacing"></div>
1199        </div>
1200    </div>
1201</div>
1202<div id="maskMM" class="maskMM"></div>
1203
1204		<!-- TOP 按鈕 -->
1205		<div class="top boxTitle boxText" id="top" data-desc="top" ></div>
1206
1207                <div class="content">
1208            <section class="content940" data-page="1">
1209                 <link rel="stylesheet" href="assets/css/ltn_content.css?20260801">
1210
1211    
1211<script>
1212        console.log('讀取ES');
1213    </script>
vendor: 1 bytes, line 1213
1213
1214<script type="application/ld+json">
1215    {
1216    "@context": "http://schema.org",
1217    "@type": "NewsArticle",
1218    "genre": "News",
1219    "inLanguage": "zh-Hant-TW",
1220    "url": "https://news.ltn.com.tw/news/politics/breakingnews/5592174",
1221    "headline": "沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息",
1222    "articleSection": "政治",
1223    "datePublished": "2026-10-01T16:11:34+08:00",
1224    "dateModified": "2026-10-01T16:11:34+08:00",
1225    "description": "民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。不過,他的粉專一宣布消息就被網友留言:「生病了還不去休息!」「發燒還辦活動」。根據沈伯洋社群宣布資訊,這場活動將於今日在大安區瑠公公園舉行,16時45分開放填寫提案單",
1226    "articleBody": "民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。不過,他的粉專一宣布消息就被網友留言:「生病了還不去休息!」「發燒還辦活動」。根據沈伯洋社群宣布資訊,這場活動將於今日在大安區瑠公公園舉行,16時45分開放填寫提案單,17時30分快閃發言台正式開張。請繼續往下閱讀...   displayDFP('ad-PCIR1', 'pc');    displayDFP('ad-IR1', 'm');  不過,沈伯洋近日傳出身體微恙,出席活動時都戴著口罩,他也坦言自己已經發燒,雖然沒有什麼感冒的症狀,但活動舞台還是與支持者設計出一段距離,才能與民眾正常互動。沈伯洋社群貼文下方,網友紛紛留言關心:「發燒好了嗎?」、「有多喝水嗎」、「還是要保重身體啊」、「身體要顧聽到沒」、「發燒還不休息,生氣了啦」、「發燒是好了沒?要休息啊」、「是在選市長不是在比鐵人賽誒」、「為什麼不休息!」",
1227    "thumbnailUrl": "https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg",
1228    "keywords": [
1229        "沈伯洋",
1230        "洋流",
1231        "2026九合一選舉",
1232        "市長,你給我聽好了",
1233        "市長你給我聽好了"
1234    ],
1235    "wordCount": 1328,
1236    "identifier": {
1237        "@type": "PropertyValue",
1238        "propertyID": "newsId",
1239        "value": "5592174"
1240    },
1241    "speakable": {
1242        "@type": "SpeakableSpecification",
1243        "xpath": [
1244            "/html/head/meta[@property='og:title']/@content",
1245            "/html/head/meta[@name='description']/@content"
1246        ]
1247    },
1248    "author": {
1249        "@type": "Organization",
1250        "name": "自由時報電子報",
1251        "url": "https://www.ltn.com.tw"
1252    },
1253    "publisher": {
1254        "@type": "Organization",
1255        "name": "自由時報電子報",
1256        "logo": {
1257            "@type": "ImageObject",
1258            "url": "https://cache.ltn.com.tw/images/rwd_ltnlogo.png",
1259            "width": 600,
1260            "height": 60
1261        }
1262    },
1263    "mainEntityOfPage": {
1264        "@type": "WebPage",
1265        "@id": "https://news.ltn.com.tw/news/politics/breakingnews/5592174"
1266    },
1267    "image": [
1268        {
1269            "@type": "ImageObject",
1270            "contentUrl": "https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg",
1271            "url": "https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg",
1272            "name": "民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。(圖擷取自沈伯洋臉書)",
1273            "width": 800,
1274            "height": 800
1275        }
1276    ]
1277}</script>
vendor: 1 bytes, line 1277
1277
1278<script type="application/ld+json">
1279    {
1280    "@context": "http://schema.org",
1281    "@type": "BreadcrumbList",
1282    "itemListElement": [
1283        {
1284            "@type": "ListItem",
1285            "position": 1,
1286            "item": {
1287                "@id": "https://www.ltn.com.tw",
1288                "name": "自由時報電子報"
1289            }
1290        },
1291        {
1292            "@type": "ListItem",
1293            "position": 2,
1294            "item": {
1295                "@id": "https://news.ltn.com.tw/list/breakingnews/politics",
1296                "name": "政治"
1297            }
1298        },
1299        {
1300            "@type": "ListItem",
1301            "position": 3,
1302            "item": {
1303                "@id": "https://news.ltn.com.tw/news/politics/breakingnews/5592174",
1304                "name": "沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息"
1305            }
1306        }
1307    ]
1308}</script>
1308
1309<link rel="stylesheet" href="https://cache.ltn.com.tw/css/rwd_extra.css?202509">
1310<div id="marqueeContent">
1311    <div id="marquee" class="boxTitle" data-desc="快訊">
1312        <div class="marqueebox">
1313            <ul></ul>
1314        </div>
1315        <div class="arrow up" style="display: none"></div>
1316        <div class="arrow down" style="display: none"></div>
1317    </div>
1318</div>
1319<script>
1320    $(function() {
1321        // 新聞快訊
1322        let protocol = document.location.protocol;
1323
1324        $.ajax({
1325            type: "GET",
1326            url: protocol + "//cache.ltn.com.tw/data/getExtra?" + new Date().getTime(),
1327            dataType: "json",
1328            success: function(data) {
1329                insertMarqueeData(data); // 插入新聞快訊
1330                runMarquee(); // 顯示快訊(包含廣告) + 啟動輪播
1331            },
1332            error: function(e) {
1333                console.log('get extra failed!');
1334                console.log(e);
1335            }
1336        });
1337
1338        function insertMarqueeData(data) {
1339            let html = '';
1340            let order = 0;
1341            let time_now = new Date().getTime();
1342
1343            for (let type in data) {
1344                if (!Object.prototype.hasOwnProperty.call(data, type)) continue;
1345                let list = data[type] || [];
1346
1347                for (let i in list) {
1348                    if (!Object.prototype.hasOwnProperty.call(list, i)) continue;
1349                    let item = list[i];
1350                    if (typeof item['title'] === "undefined") continue;
1351
1352                    switch (type) {
1353                        case 'extra':
1354                            html += '<li id="extra"><a href="' + item['src'] + '" data-desc="T:' + order + ':' + item['title'] + '" title="' + item['title'] + '">' + item['title'] + '</a></li>';
1355                            order++;
1356                            break;
1357                        case 'ad_153':
1358                            html += '<li class="extrads' + i + '" id="extra">';
1359                            html += '<a href="https://pv6.ltn.com.tw/click?ano=' + item['no'] + '&device=' + adDevice + '&source=' + encodeURIComponent(document.URL) + '" data-no="' + item['no'] + '" target="_blank" data-desc="T:' + order + ':' + item['title'] + '" title="' + item['title'] + '">' + item['title'] + '<span>PR</span></a>';
1360                            html += '<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + item['no'] + '&device=' + adDevice + '&' + time_now + '" alt="內廣曝光">';
1361                            html += '</li>';
1362                            order++;
1363                            break;
1364                        case 'ad_311':
1365                            html += '<li class="extrads' + i + '" id="extra">';
1366                            html += '<a href="https://pv6.ltn.com.tw/click?ano=' + item['no'] + '&device=' + adDevice + '&source=' + encodeURIComponent(document.URL) + '" data-no="' + item['no'] + '" target="_blank" data-desc="T:' + order + ':' + item['title'] + '" title="' + item['title'] + '">' + item['title'] + '</a>';
1367                            html += '<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + item['no'] + '&device=' + adDevice + '&' + time_now + '" alt="內廣曝光">';
1368                            html += '</li>';
1369                            order++;
1370                            break;
1371                        default:
1372                            break;
1373                    }
1374                }
1375            }
1376            if (html === '') {
1377                return;
1378            }
1379            $('#marquee').find('ul').prepend(html);
1380        }
1381
1382        function runMarquee() {
1383            let $marquee = $('#marquee');
1384            let $list = $marquee.find('ul');
1385            let $items = $list.find('li');
1386            let $btnUp = $marquee.find('.arrow.up');
1387            let $btnDown = $marquee.find('.arrow.down');
1388
1389            if ($items.length < 1) {
1390                return;
1391            }
1392
1393            // 參數
1394            let LINE = 1; // 每次滾動幾則
1395            let SPEED = 500; // 動畫速度(ms)
1396            let INTERVAL = 3000; // 間隔(ms) 以 setTimeout 實作
1397
1398            // 狀態
1399            let tickerTimer = null;
1400            let running = false;
1401
1402            // 避免重複初始化:先清既有事件(命名空間)
1403            $(window).off('resize.marquee');
1404            document.removeEventListener('visibilitychange', onVisibilityChange, true);
1405            window.removeEventListener('blur', onBlur, true);
1406            window.removeEventListener('focus', onFocus, true);
1407            $btnUp.off('click mouseenter mouseleave');
1408            $btnDown.off('click mouseenter mouseleave');
1409            $list.off('mouseenter mouseleave');
1410
1411            // 兩則以上才啟動輪播並顯示箭頭
1412            if ($items.length > 1) {
1413                $marquee.find('.arrow').show();
1414                startTicker();
1415            }
1416
1417            // 顯示快訊
1418            $marquee.stop(true, true).slideDown(400);
1419
1420            // 手機版置頂浮動
1421            marqueePosition($items);
1422            $(window).on('resize.marquee', function() {
1423                marqueePosition($items);
1424            });
1425
1426            // Page Visibility:背景停、回前景重啟(計時歸零)
1427            document.addEventListener('visibilitychange', onVisibilityChange, true);
1428            // 保險:視窗焦點
1429            window.addEventListener('blur', onBlur, true);
1430            window.addEventListener('focus', onFocus, true);
1431
1432            // 滑鼠懸停暫停/恢復
1433            $list.add($btnUp).add($btnDown).on('mouseenter', stopTicker).on('mouseleave', startTicker);
1434
1435            // 箭頭控制
1436            $btnUp.css('cursor', 'pointer').on('click', function() {
1437                stopTicker(); // 點擊時暫停自動播放
1438                tickOnce(); // 向上滾動
1439                startTicker(); // 立即恢復自動播放
1440            });
1441
1442            $btnDown.css('cursor', 'pointer').on('click', function() {
1443                stopTicker(); // 點擊時暫停自動播放
1444                tickDown(); // 向下滾動
1445                startTicker(); // 立即恢復自動播放
1446            });
1447
1448            function onVisibilityChange() {
1449                if (document.hidden) {
1450                    stopTicker(true);
1451                } else {
1452                    startTicker();
1453                }
1454            }
1455
1456            function onBlur() {
1457                stopTicker(true);
1458            }
1459
1460            function onFocus() {
1461                startTicker();
1462            }
1463
1464            // -------- 核心輪播:使用 setTimeout 控制 --------
1465            function startTicker() {
1466                if (running) return;
1467                running = true;
1468                scheduleNext();
1469            }
1470
1471            function stopTicker(reset) {
1472                running = false;
1473                if (tickerTimer) {
1474                    clearTimeout(tickerTimer);
1475                    tickerTimer = null;
1476                }
1477            }
1478
1479            function scheduleNext() {
1480                if (!running) return;
1481                tickerTimer = setTimeout(function() {
1482                    tickOnce();
1483                    scheduleNext();
1484                }, INTERVAL);
1485            }
1486
1487            // 單次向上滾動:把前 LINE 個 li 上滑後接到尾巴
1488            function tickOnce() {
1489                if ($list.children('li').length <= 1) return;
1490                if ($list.is(':animated')) return; // 防止動畫疊加
1491
1492                let $chunk = $list.children('li').slice(0, LINE);
1493                let totalHeight = 0;
1494                $chunk.each(function() {
1495                    totalHeight += $(this).outerHeight(true);
1496                });
1497
1498                $list.stop(true, true).animate({
1499                    marginTop: -totalHeight + 'px'
1500                }, SPEED, function() {
1501                    $chunk.appendTo($list);
1502                    $list.css('marginTop', 0);
1503                });
1504            }
1505
1506            // 單次向下滾動:把後 LINE 個 li 接到開頭後下拉
1507            function tickDown() {
1508                if ($list.children('li').length <= 1) return;
1509                if ($list.is(':animated')) return; // 防止動畫疊加
1510
1511                let $chunk = $list.children('li').slice(-LINE);
1512                let totalHeight = 0;
1513                $chunk.each(function() {
1514                    totalHeight += $(this).outerHeight(true);
1515                });
1516
1517                $list.css('marginTop', -totalHeight + 'px');
1518                $chunk.prependTo($list);
1519                $list.stop(true, true).animate({
1520                    marginTop: 0
1521                }, SPEED);
1522            }
1523
1524            function marqueePosition($extras) {
1525                let HconHeight = $('div.ltnheader > .Hcon').outerHeight(true) ||
1526                    ($('div.ltnheader > .row1').outerHeight(true) + $('div.ltnheader > .row2').outerHeight(true) || 0);
1527
1528                let marqueeHeight = $extras.outerHeight(true) || 0;
1529                if ($(window).outerWidth(true) <= 800) {
1530                    $('div#marquee').appendTo('div#marqueeHeader');
1531                    $('div#marquee').css('margin-bottom', 0);
1532                    $('div.headerP_high').css('height', HconHeight + marqueeHeight + 12);
1533                } else {
1534                    $('div#marquee').appendTo('div#marqueeContent');
1535                    $('div.headerP_high').css('height', HconHeight);
1536                }
1537                $('div#marquee').css('display', 'flex');
1538            }
1539        }
1540    });
1541</script>
1541
1542
1543<!-- ad-B1 -->
1544
1545<link rel="stylesheet" href="https://cache.ltn.com.tw/css/rwd_sex.css?20190906" />
1546<script src="https://cache.ltn.com.tw/js/rwd_sex.js"></script>
1546
1547
1548<div class="sexmask">
1549    <div class="sex_box">
1550        <!-- compassfit_category 限制級 -->
1551        <div class="sexicon">限制級</div>
1552        <div class="sexword">
1553            <h6>您即將進入之新聞內容<span> 需滿18歲 </span>方可瀏覽。</h6>
1554        </div>
1555        <div class="sexbox boxTitle" data-desc="18禁">
1556            <a href="javascript: void(0)" id='18noBtn' data-desc="未滿18歲"><div class="sexno">未滿18歲<br>或不同意本條款<span><img src="https://cache.ltn.com.tw/images/sexno.png" width="30" alt="離開">離開</span></div></a>
1557            <a href="javascript: void(0)" id='18yesBtn' data-desc="我已年滿18歲"><div class="sexyes">我同意<br>我已年滿18歲<span><img src="https://cache.ltn.com.tw/images/sexyes.png" width="30" alt="進入">進入</span></div></a>
1558        </div>
1559        <div class="sexword">
1560            根據「電腦網路內容分級處理辦法」修正條文第六條第三款規定,已於網站首頁或各該限制級網頁,依台灣網站分級推廣基金會規定作標示。 台灣網站分級推廣基金會(TICRF)網站:http://www.ticrf.org.tw
1561        </div>
1562    </div>
1563</div>
1564
1565    <div class="breadcrumbs boxTitle boxText" data-desc="麵包屑">
1566        <a href="https://www.ltn.com.tw">首頁</a>
1567		<span>&gt;</span>		<a href="https://news.ltn.com.tw/list/breakingnews/politics" class="boxText">政治</a>
1568    </div>
1569
1570<!--影音高度修復-->
1571<script src="https://cache.ltn.com.tw/js/rwd_video_resize_pc.js"></script>
1571
1572
1573<script>
1574    $(window).on('load', function() {
1575        //pc Fb youtube嵌入影音高度調整
1576        video_resize_pc('.whitecon');
1577    });
1578</script>
1578
1579
1580<div class="whitecon article" itemprop="articleBody" data-ano="5592174">
1581    <h1>沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息</h1>
1582    <div class="article_meta">
1583        <div class="article_metaInfo">
1584            <span class="article_time">2026/10/01 16:11</span>
1585            <span class="article_edit">即時新聞/綜合報導</span>
1586        </div>
1587        <!--google sources BTN PC-->
1588        
1589<div class="google-sourceBtn">
1590    <a class="gsButton" href="https://www.google.com/preferences/source?q=ltn.com.tw" target="_blank" rel="noopener noreferrer" data-tooltip="請點選打勾將自由時報設為首選來源,在 Google 上查看更多我們的精彩報導">
1591        <svg class="gsBtnIcon" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none">
1592            <path fill="#FFC107" d="M22.296 9.944h-.846V9.9H12v4.2h5.934A6.297 6.297 0 0 1 5.7 12 6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5C6.202 1.5 1.5 6.201 1.5 12S6.202 22.5 12 22.5c5.799 0 10.5-4.701 10.5-10.5 0-.704-.072-1.391-.204-2.056"></path>
1593            <path fill="#FF3D00" d="m2.71 7.113 3.45 2.53A6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5c-4.033 0-7.53 2.277-9.29 5.613"></path>
1594            <path fill="#4CAF50" d="M12 22.5c2.712 0 5.176-1.038 7.04-2.726l-3.25-2.75A6.25 6.25 0 0 1 12 18.3a6.3 6.3 0 0 1-5.924-4.172l-3.424 2.639C4.39 20.167 7.92 22.5 12 22.5"></path>
1595            <path fill="#1976D2" d="M22.296 9.9H12v4.2h5.934a6.3 6.3 0 0 1-2.146 2.925l.002-.001 3.25 2.75c-.23.209 3.46-2.524 3.46-7.774 0-.704-.072-1.435-.204-2.1"></path>
1596        </svg>
1597        <span class="gsBtnText">加入Google首選</span>
1598    </a>
1599</div>
1600    </div>
1601
1602    <div class="article_wrap">
1603        <div class="shareBox">
1604            <!-- 加入為 Google 偏好來源按鈕 google sources BTN Mobile -->
1605<button class="share_google" data-desc="google" title="加入Google首選" onclick="window.open('https://www.google.com/preferences/source?q=ltn.com.tw', 'google-share', config='height=500, width=500');">
1606    <div class="btnIcon">
1607        <svg class="googleIcon" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" aria-hidden="true">
1608            <path fill="#FFC107" d="M22.296 9.944h-.846V9.9H12v4.2h5.934A6.297 6.297 0 0 1 5.7 12 6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5C6.202 1.5 1.5 6.201 1.5 12S6.202 22.5 12 22.5c5.799 0 10.5-4.701 10.5-10.5 0-.704-.072-1.391-.204-2.056"></path>
1609            <path fill="#FF3D00" d="m2.71 7.113 3.45 2.53A6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5c-4.033 0-7.53 2.277-9.29 5.613"></path>
1610            <path fill="#4CAF50" d="M12 22.5c2.712 0 5.176-1.038 7.04-2.726l-3.25-2.75A6.25 6.25 0 0 1 12 18.3a6.3 6.3 0 0 1-5.924-4.172l-3.424 2.639C4.39 20.167 7.92 22.5 12 22.5"></path>
1611            <path fill="#1976D2" d="M22.296 9.9H12v4.2h5.934a6.3 6.3 0 0 1-2.146 2.925l.002-.001 3.25 2.75c-.23.209 3.46-2.524 3.46-7.774 0-.704-.072-1.435-.204-2.1"></path>
1612        </svg>
1613    </div>
1614</button>
1615
1616<button class="share_fb" data-desc="facebook" title="分享至Facebook" onclick="window.open('https://www.facebook.com/share.php?u=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DFACEBOOK', 'FB-share', config='height=500, width=500');">
1617    <div class="btnIcon"></div>
1618</button>
1619
1620<button class="share_x twitter-share-button" title="分享至X" data-desc="twitter" onclick="window.open('https://twitter.com/intent/tweet?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3Dtwitter', 'X-share', config='menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');">
1621    <div class="btnIcon"></div>
1622</button>
1623
1624<button class="share_line" data-desc="line" title="分享至Line" onclick="window.open('https://lineit.line.me/share/ui?url=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DLINE', 'Line-sh
1624are', config='height=500, width=500');">
1625    <div class="btnIcon"></div>
1626</button>
1627
1628<button class="share_threads" data-desc="threads" title="分享至Threads" onclick="window.open('https://threads.net/intent/post?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DTHREADS', 'Threads-share', config='height=500, width=500');">
1629    <div class="btnIcon"></div>
1630</button>
1631
1632<button class="btn_link" title="複製網址" onclick=" copyCurrentUrl(this);" onmouseleave="removeActive(this)">
1633    <div class="btnIcon"></div>
1634</button>
1635
1636<button onclick="printpage()" class="print" data-desc="列印" title="列印">
1637    <div class="btnIcon"></div>
1638</button>
1639
1640<button class="fontsize" data-desc="字體縮放" title="字體縮放">
1641    <div class="btnIcon"></div>
1642</button>
1643        </div>
1644
1645        <!-- print -->
1646        
1646<script>
1647            window.onbeforeprint = BeforePrint;
1648
1649            function BeforePrint() {
1650                $('.lazy_imgs_ltn', '.text').each(function() {
1651                    let src = $(this).attr('src');
1652                    let dataSrc = $(this).attr('data-src');
1653
1654                    if (src != dataSrc) {
1655                        $(this).attr('src', dataSrc);
1656                    }
1657                })
1658                let pathname = window.location.pathname;
1659                let ano = pathname.replace(/[a-zA-Z/]/g, '');
1660                let showWitecon = $('.whitecon[data-ano=' + ano + ']');
1661                showWitecon.addClass('print_page');
1662            }
1663
1664            function printpage() {
1665                BeforePrint();
1666                setTimeout(() => {
1667                    window.print();
1668                    AfterPrint();
1669                }, 500); // 延遲500毫秒
1670            }
1671
1672            function AfterPrint() {
1673                $('.print_page').removeClass('print_page');
1674            }
1675        </script>
1675
1676
1677        <div class="text boxTitle boxText" data-desc="內容頁">
1678            <!-- 版形分化 -->
1679                        <!-- END 版形分化 -->
1680            <!-- temp4 -->
1681    <div class="photo boxTitle" data-desc="圖片">
1682        <div class="image-popup-vertical-fit" href="https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg" title="民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。(圖擷取自沈伯洋臉書)" data-desc="點圖放大">
1683            <img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/600/2026/10/01/phpYqUKOm.jpg" src="assets/images/default800.jpg" alt="民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。(圖擷取自沈伯洋臉書)" title="民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。(圖擷取自沈伯洋臉書)" />
1684        </div>
1685        <p>民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。(圖擷取自沈伯洋臉書)</p>
1686    </div>
1687
1688<p>民進黨台北市長參選人沈伯洋今日下午突襲式宣布今日下午將在大安區瑠公公園舉行「市長,你給我聽好了!」實體活動第4場。不過,他的粉專一宣布消息就被網友留言:「生病了還不去休息!」「發燒還辦活動」。</p><p>根據沈伯洋社群宣布資訊,這場活動將於今日在大安區瑠公公園舉行,16時45分開放填寫提案單,17時30分快閃發言台正式開張。</p><p class="before_ir" style="text-align: center; display: none;">請繼續往下閱讀...</p>    <!-- /21202031/01-news-pol-P-IR1 -->
1689    <div id="ad-PCIR1"
1690        class="boxTitle adHeight250 suggest_pc"
1691        data-desc="廣告ad-PCIR1"
1692        style="text-align: center;">
1693            
1693<script>displayDFP('ad-PCIR1', 'pc');</script>
1693
1694    </div>
1695    <!-- /21202031/02-mobile-pol-sub-P-IR1 -->
1696    <div id="ad-IR1"
1697        class="boxTitle adHeight280 suggest_m"
1698        data-desc="廣告ad-IR1"
1699        style="text-align: center;">
1700            
1700<script>displayDFP('ad-IR1', 'm');</script>
1700
1701    </div>
1702<p class="after_ir" style="display: none;"></p><p>不過,沈伯洋近日傳出身體微恙,出席活動時都戴著口罩,他也坦言自己已經發燒,雖然沒有什麼感冒的症狀,但活動舞台還是與支持者設計出一段距離,才能與民眾正常互動。</p><p>沈伯洋社群貼文下方,網友紛紛留言關心:「發燒好了嗎?」、「有多喝水嗎」、「還是要保重身體啊」、「身體要顧聽到沒」、「發燒還不休息,生氣了啦」、「發燒是好了沒?要休息啊」、「是在選市長不是在比鐵人賽誒」、「為什麼不休息!」</p><p><div class='xscroll'><iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fpuma.taipei%2Fposts%2Fpfbid02h1MkRa7foyxV3jjttkwF7SE6U6af2nRiR7ybioi6PmKAZNgMwQ8bok48cXg7Efvml&show_text=true&width=500" width="500" height="674" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe></div></p>
1703
1704                <div id="oneadIRDFPTag"></div>
1705<div id="ad-IR2" class="suggest_m suggestBottom" style="text-align: center; display:none;" ></div>
1706<script>
1707    const host = location.hostname.toLowerCase().replace(".ltn.com.tw", "");
1708    var setOnead = false;
1709    (function() {
1710        var disable_onead_mobile_inread = false;
1711        // 設定數值
1712        var IR2units = {
1713            'ent': {'slot': '/21202031/07-ent-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]},
1714            'ec': {'slot': '/21202031/06-ec-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]},
1715            'istyle': {'slot': '/21202031/08-style-mobile-sub-P-IR2', 'size': ['fluid',[1, 1], [300, 250], [320, 480],  [336, 280]]},
1716            'auto': {'slot': '', 'size': []},
1717            'sports': {'slot': '', 'size': []},
1718            '3c': {'slot': '/21202031/04-3C-mobile-sub-P-IR2', 'size': ['fluid',[1, 1], [300, 250], [320, 480],  [336, 280]]},
1719            'talk': {'slot': '/21202031/05-talk-mobile-sub-P-IR2', 'size': ['fluid', [336, 280], [1, 1], [300, 250], [320, 480]]},
1720            'estate': {'slot': '21202031/11-estate-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]},
1721            'features': {'slot': '/21202031/99-feature-mobile-sub-P-IR2', 'size': ['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]},
1722        };
1723
1724        if (host.indexOf('estate') === 0 || host.indexOf('features') === 0) {
1725            disable_onead_mobile_inread = true;
1726        }
1727
1728        
1729        if (!cookies_m.isPC() && disable_onead_mobile_inread) {
1730            $('#oneadIRDFPTag').css('display', 'none');
1731            //IR2
1732            $('#ad-IR2').css('display', 'block');
1733            googletag.cmd.push(function() {
1734                googletag.defineSlot(IR2units[host]['slot'], IR2units[host]['size'], 'ad-IR2').addService(googletag.pubads());
1735                googletag.enableServices();
1736            });
1737            $(function(){
1738                googletag.cmd.push(function() {
1739                    googletag.display('ad-IR2');
1740                });
1741            });
1742        } else { //onead
1743            setOnead = true;
1744        }
1745    })();
1746
1747    function get_now_category(host) {
1748        var _category = '-1';
1749        try {
1750            switch (host.toLowerCase()) {
1751                case 'talk':
1752                case 'istyle':
1753                case 'ent':
1754                case '3c':
1755                case 'auto':
1756                case 'food':
1757                case 'sports':
1758                case 'estate':
1759                    _category = host;
1760                    break;
1761                case 'ec':
1762                    _category = 'business';
1763                    break;
1764                default:
1765                    var secA = uri.split('/')[1];
1766                    var secB = uri.split('/')[2];
1767                    if (secA.toLowerCase()=='news') _category = secB;
1768                    break;
1769            }
1770        } catch (e) {
1771
1772        }
1773        return _category;
1774    }
1775
1776    var custom_call_MIR = function (params) {
1777        if ( params === null || params.hasAd === false ) {
1778            // 客製化 passback
1779        }
1780    }
1781
1782    var custom_call_IR = function (params) {
1783        if ( params === null || params.hasAd === false ) {
1784            // 客製化 passback
1785        }
1786    }
1787
1788    if (setOnead) {
1789        var _ONEAD = {};
1790        _ONEAD.pub = {};
1791        _ONEAD.pub.slotobj = document.getElementById("oneadIRDFPTag");
1792        _ONEAD.pub.slots = ["div-onead-ad"];
1793        _ONEAD.pub.uid = "1000054";
1794        _ONEAD.pub.external_url = "https://onead.onevision.com.tw/";
1795        _ONEAD.pub.scopes = ["spotbuy", "speed"];
1796        _ONEAD.pub.player_mode_div = "div-onead-ad";
1797        _ONEAD.pub.player_mode = cookies_m.isPC() ? "inread" : "mobile-inread";
1798        _ONEAD.pub.category = get_now_category(host);
1799        _ONEAD.pub.queryAdCallback = cookies_m.isPC() ? custom_call_IR : custom_call_MIR;
1800        _ONEAD.pub.is_same_adUnit = true;
1801        var ONEAD_pubs = ONEAD_pubs || [];
1802        ONEAD_pubs.push(_ONEAD);
1803    }
1804</script>
vendor: 1 bytes, line 1804
1804
1805<script type="text/javascript" src = "https://ad-specs.guoshipartners.com/static/js/onead-lib.min.js"></script>
1805
1806            <!-- 投票箱 -->
1807            <link rel="stylesheet" href="assets/css/vote.css?2026">
1808<script>
1809    async function initSurvey() {
1810        const ltnpoll = document.querySelector('.ltnpoll');
1811        if (!ltnpoll) {
1812            return;
1813        }
1814        const LTS_No = ltnpoll.getAttribute('data-id');
1815        
1816        let htmlData = await getTopicAndOptions(LTS_No);
1817        if (!htmlData) {
1818            console.log("問卷未找到");
1819            return;
1820        }
1821
1822        if (htmlData.days == '-1') {
1823            console.log("投票時間未到");
1824            ltnpoll.outerHTML = `
1825                <div class="voting-container">
1826                    <div class="ltn-votetitle">LTN投票箱<\/div>
1827					<h2>${htmlData.survey.LTS_Title}<\/h2>
1828                    <div style="text-align:center; padding: 30px; color: #666;">
1829                        <h3>投票活動尚未開始!<\/h3>
1830                        <p>開始時間:${htmlData.survey.LTS_StartDate}<\/p>
1831                    <\/div>
1832                <\/div>
1833            `;
1834            return;
1835        }
1836
1837        if (htmlData.days == '-2') {
1838            console.log("投票結束");
1839            const calc = calculatePercentages(htmlData);
1840            const htmlContent = getResultsHTML(htmlData, calc);
1841            ltnpoll.outerHTML = htmlContent;
1842            resViewCheck(1);
1843        } else {
1844            console.log("投票中");
1845            let rederHtml = getStartVote(htmlData);
1846            ltnpoll.outerHTML = rederHtml;
1847
1848            // 原生事件委派,不依賴 jQuery (防止 ReferenceError: $ is not defined)
1849            document.addEventListener('click', function(e) {
1850                if (e.target && (e.target.className === 'vote-bt' || e.target.classList.contains('vote-bt'))) {
1851                    if (checkValue(htmlData)) {
1852                        submitVote(LTS_No, htmlData);
1853                    } else {
1854                        alert("請在每一題中至少勾選一個選項!");
1855                    }
1856                }
1857            });
1858        }
1859    }
1860
1861    if (document.readyState === 'loading') {
1862        document.addEventListener('DOMContentLoaded', initSurvey);
1863    } else {
1864        initSurvey();
1865    }
1866
1867    function getStartVote(htmlData) {
1868        let customHTML = '';
1869        customHTML += '<div class="voting-container">';
1870        
1871        if (htmlData.survey.LTS_TitleShow != 0) {
1872            customHTML += '<div class="ltn-votetitle">LTN投票箱<\/div>' + '<h2>' + htmlData.survey.LTS_Title + '<\/h2>';
1873        } else {
1874            customHTML += '<div class="ltn-votetitle">LTN投票箱<\/div>';
1875        }
1876
1877        if (htmlData.survey.LTS_Content) {
1878            customHTML += '<div class="vote-desc">' + htmlData.survey.LTS_Content + '<\/div>';
1879        }
1880
1881        htmlData.topic.forEach((q, qIndex) => {
1882            const opts = htmlData.optionsGroup[q.LTV_No] || [];
1883            const questionPrefix = htmlData.topic.length > 1 ? `${qIndex + 1}. ` : '';
1884            customHTML += `<div class="question-item">`;
1885            customHTML += `<h3 class="vote-title">${questionPrefix}${q.LTV_Subject}<\/h3>`;
1886            
1887            if (q.LTV_Multi == 1) {
1888                customHTML += '<span class="vote-type">*複選<\/span>';
1889                opts.forEach(option => {
1890                    customHTML += '<div class="option optionafter">';
1891                    customHTML += '<input type="checkbox" name="vote_' + q.LTV_No + '" value="' + option.LTVD_No + '" id="' + option.LTVD_No + '">';
1892                    customHTML += '<label for="' + option.LTVD_No + '">' + option.LTVD_Content + '<\/label><\/div>';
1893                });
1894            } else {
1895                customHTML += '<span class="vote-type">*單選<\/span>';
1896                opts.forEach(option => {
1897                    customHTML += '<div class="option optionafter">';
1898                    customHTML += '<input type="radio" name="vote_' + q.LTV_No + '" value="' + option.LTVD_No + '" id="' + option.LTVD_No + '">';
1899                    customHTML += '<label for="' + option.LTVD_No + '">' + option.LTVD_Content + '<\/label><\/div>';
1900                });
1901            }
1902            customHTML += '<\/div>';
1903        });
1904
1905        let displayDays = htmlData.days;
1906        if (displayDays >= 0) {
1907            displayDays = Math.floor(displayDays) + ' 天';
1908        } else if (displayDays == -1) {
1909            displayDays = '未開始';
1910        } else if (displayDays == -2) {
1911            displayDays = '已截止';
1912        }
1913
1914        customHTML += `<!-- 時間與投票按鈕 -->
1915            <div class="vote-rules" style="padding: 0 10px;">
1916                <span class="vote-time">剩餘時間:${displayDays}<\/span>
1917                <span class="vote-total">  <\/span>
1918            <\/div>
1919            <button class="vote-bt">投票看結果<\/button>
1920            <\/div>`;
1921        return customHTML;
1922    }
1923
1924    function checkValue(htmlData) {
1925        let isValid = true;
1926        htmlData.topic.forEach(q => {
1927            const checked = document.querySelectorAll('input[name="vote_' + q.LTV_No + '"]:checked').length;
1928            if (checked === 0) {
1929                isValid = false;
1930            }
1931        });
1932        return isValid;
1933    }
1934
1935    function submitVote(LTS_No, htmlData) {
1936        let selectedValues = [];
1937        htmlData.topic.forEach(q => {
1938            const selected = document.querySelectorAll('input[name="vote_' + q.LTV_No + '"]:checked');
1939            selected.forEach(option => {
1940                selectedValues.push(option.value);
1941            });
1942        });
1943
1944        if (selectedValues.length > 0) {
1945            let voteData = {
1946                LTVD_No: selectedValues,
1947                LTS_No: LTS_No
1948            };
1949
1950            fetch("https://vote3.ltn.com.tw/votelog", {
1951                    method: 'POST',
1952                    headers: {
1953                        'Content-Type': 'application/json'
1954                    },
1955                    body: JSON.stringify(voteData)
1956                })
1957                .then(response => {
1958                    if (!response.ok) {
1959                        throw new Error('AJAX Error:' + response.statusText);
1960                    }
1961                    return response.json();
1962                })
1963                .then(async data => {
1964                    if (data.status === 'success') {
1965                        // 重新加載並刷新渲染結果
1966                        let freshData = await getTopicAndOptions(LTS_No);
1967                        const calc = calculatePercentages(freshData);
1968                        const htmlContent = getResultsHTML(freshData, calc);
1969                        const container = document.querySelector('.voting-container');
1970                        if (container) {
1971                            container.outerHTML = htmlContent;
1972                        }
1973                        resViewCheck(0);
1974                    } else {
1975                        alert(data.message || '投票失敗,您可能已經投過票了!');
1976                    }
1977                })
1978                .catch(err => {
1979                    console.error(err);
1980                    alert('投票發生錯誤,請稍後再試!');
1981                });
1982        }
1983    }
1984
1985    function calculatePercentages(htmlData) {
1986        const questionTotals = {};
1987        htmlData.topic.forEach(q => {
1988            questionTotals[q.LTV_No] = 0;
1989        });
1990
1991        htmlData.options.forEach(opt => {
1992            if (questionTotals[opt.LTV_No] !== undefined) {
1993                questionTotals[opt.LTV_No] += parseInt(opt.LTVD_Count) || 0;
1994            }
1995        });
1996
1997        const percentages = {};
1998        htmlData.options.forEach(opt => {
1999            const qTotal = questionTotals[opt.LTV_No] || 0;
2000            if (qTotal > 0) {
2001                percentages[opt.LTVD_No] = ((parseInt(opt.LTVD_Count) / qTotal) * 100).toFixed(1);
2002            } else {
2003                percentages[opt.LTVD_No] = '0.0';
2004            }
2005        });
2006
2007        return {
2008            questionTotals: questionTotals,
2009            percentages: percentages
2010        };
2011    }
2012
2013    function getResultsHTML(htmlData, calc) {
2014        let resHtml = '';
2015        resHtml += '<div class="voting-container vote-s2">';
2016        
2017        if (htmlData.survey.LTS_TitleShow != 0) {
2018            resHtml += '<div class="ltn-votetitle">LTN投票箱<\/div>' + '<h2>' + htmlData.survey.LTS_Title + '<\/h2>';
2019        } else {
2020            resHtml += '<div class="ltn-votetitle">LTN投票箱<\/div>';
2021        }
2022
2023        if (htmlData.survey.LTS_Content) {
2024            resHtml += '<div class="vote-desc">' + htmlData.survey.LTS_Content + '<\/div>';
2025        }
2026
2027        htmlData.topic.forEach((q, qIndex) => {
2028            const opts = htmlData.optionsGroup[q.LTV_No] || [];
2029            const qTotal = calc.questionTotals[q.LTV_No] || 0;
2030            const questionPrefix = htmlData.topic.length > 1 ? `${qIndex + 1}. ` : '';
2031
2032            resHtml += '<div class="question-result">';
2033            resHtml += `<h3 class="vote-title">${questionPrefix}${q.LTV_Subject}<\/h3>`;
2034            resHtml += '<span class="vote-type">' + (q.LTV_Multi == 1 ? '*複選' : '*單選') + '<\/span>';
2035
2036            opts.forEach(option => {
2037                const percent = calc.percentages[option.LTVD_No] || '0.0';
2038                resHtml += '<div class="op-selectgary option">';
2039                resHtml += '<label>' + option.LTVD_Content + '<\/label>';
2040                resHtml += '<span class="vote-count">';
2041                resHtml += '<span class="vote-percent select-color">' + percent + '%<\/span>';
2042                resHtml += '<span class="vote-quantity">' + option.LTVD_Count + '票<\/span>';
2043                resHtml += '<\/span>';
2044                resHtml += '<span class="vote-bar" style="width: ' + percent + '%;"><\/span>';
2045                resHtml += '<\/div>';
2046            });
2047            //resHtml += '<div style="text-align: right; font-size: 12px; color: #888;">本題共 ' + qTotal + ' 票<\/div>';
2048            resHtml += '<\/div>';
2049        });
2050
2051        let displayDays = htmlData.days;
2052        if (displayDays >= 0) {
2053            displayDays = Math.floor(displayDays) + ' 天';
2054        } else if (displayDays == -1) {
2055            displayDays = '未開始';
2056        } else if (displayDays == -2) {
2057            displayDays = '已截止';
2058        }
2059
2060        resHtml += '<!-- 時間與總票數 -->';
2061        resHtml += '<div class="vote-rules">';
2062        resHtml += '<span class="vote-time">剩餘時間:' + (displayDays == '已截止' ? "已截止" : displayDays) + '<\/span>';
2063        resHtml += '<span class="vote-total">總票數:' + htmlData.totalCount + '票 </span>';
2064        resHtml += '<\/div>';
2065        
2066        return resHtml;
2067    }
2068
2069    function resViewCheck(isEnd = 0) {
2070        var inputs = document.querySelectorAll('.voting-container input');
2071        inputs.forEach(function(input) {
2072            input.disabled = true;
2073            input.style.cursor = 'not-allowed';
2074        });
2075
2076        var labels = document.querySelectorAll('label');
2077        labels.forEach(function(label) {
2078            label.style.cursor = 'not-allowed';
2079        });
2080
2081        var voteButtons = document.querySelectorAll('.vote-bt');
2082        voteButtons.forEach(function(button) {
2083            button.style.visibility = 'hidden';
2084        });
2085
2086        var voteTypes = document.querySelectorAll('.vote-type');
2087        voteTypes.forEach(function(voteType) {
2088            if (isEnd == 1) {
2089                voteType.innerHTML = '投票結束';
2090            } else {
2091                voteType.innerHTML = '已投票';
2092            }
2093        });
2094
2095        var style = document.createElement('style');
2096        style.textContent = `
2097            label::before {
2098                display: none !important;
2099                cursor: not-allowed;
2100            }
2101        `;
2102        document.head.appendChild(style);
2103    }
2104
2105    async function getTopicAndOptions(LTS_No) {
2106        const apiUrl = "https://vote3.ltn.com.tw/surveyDetails/" + LTS_No + "?t=" + Date.now();
2107        const response = await fetch(apiUrl);
2108        if (!response.ok) {
2109            throw new Error(`失敗,狀態碼: ${response.status}`);
2110        }
2111        const data = await response.json();
2112        
2113        if (data.status === 'error') {
2114            return null;
2115        }
2116
2117        const optionsGroup = {};
2118        data.options.forEach(opt => {
2119            if (!optionsGroup[opt.LTV_No]) {
2120                optionsGroup[opt.LTV_No] = [];
2121            }
2122            optionsGroup[opt.LTV_No].push(opt);
2123        });
2124
2125        return {
2126            survey: data.survey,
2127            topic: data.topic,
2128            optionsGroup: optionsGroup,
2129            options: data.options,
2130            days: data.survey.remain_day,
2131            totalCount: data.total.total_count
2132        };
2133    }
2134</script>
2134
2135
2136            <!-- 台灣房屋特規廣告 -->
2137            <div class="suggest">
2138                            </div>
2139                        <!-- 內文關鍵字 -->
2140
2141            <!-- 廣告 -->
2142            <p class="appE1121">
2143    不用抽 不用搶 現在用APP看新聞 保證天天中獎 
2144    <a title="點我下載APP" href="https://service.ltn.com.tw/app" target="_blank" class="ga_event" data-vars-box-title="內容頁"  data-desc="APP載點" data-vars-desc="APP載點">點我下載APP</a> 
2145    <a title="按我看活動辦法" href="https://drawpage.ltn.com.tw/slot_v9/" target="_blank" class="ga_event" data-vars-box-title="內容頁" data-desc="活動辦法" data-vars-desc="活動辦法">按我看活動辦法</a>
2146</p>
2147        </div>
2148
2149        <div class="shareBox articleEnd">
2150            <!-- 加入為 Google 偏好來源按鈕 google sources BTN Mobile -->
2151<button class="share_google" data-desc="google" title="加入Google首選" onclick="window.open('https://www.google.com/preferences/source?q=ltn.com.tw', 'google-share', config='height=500, width=500');">
2152    <div class="btnIcon">
2153        <svg class="googleIcon" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" aria-hidden="true">
2154            <path fill="#FFC107" d="M22.296 9.944h-.846V9.9H12v4.2h5.934A6.297 6.297 0 0 1 5.7 12 6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5C6.202 1.5 1.5 6.201 1.5 12S6.202 22.5 12 22.5c5.799 0 10.5-4.701 10.5-10.5 0-.704-.072-1.391-.204-2.056"></path>
2155            <path fill="#FF3D00" d="m2.71 7.113 3.45 2.53A6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5c-4.033 0-7.53 2.277-9.29 5.613"></path>
2156            <path fill="#4CAF50" d="M12 22.5c2.712 0 5.176-1.038 7.04-2.726l-3.25-2.75A6.25 6.25 0 0 1 12 18.3a6.3 6.3 0 0 1-5.924-4.172l-3.424 2.639C4.39 20.167 7.92 22.5 12 22.5"></path>
2157            <path fill="#1976D2" d="M22.296 9.9H12v4.2h5.934a6.3 6.3 0 0 1-2.146 2.925l.002-.001 3.25 2.75c-.23.209 3.46-2.524 3.46-7.774 0-.704-.072-1.435-.204-2.1"></path>
2158        </svg>
2159    </div>
2160</button>
2161
2162<button class="share_fb" data-desc="facebook" title="分享至Facebook" onclick="window.open('https://www.facebook.com/share.php?u=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DFACEBOOK', 'FB-share', config='height=500, width=500');">
2163    <div class="btnIcon"></div>
2164</button>
2165
2166<button class="share_x twitter-share-button" title="分享至X" data-desc="twitter" onclick="window.open('https://twitter.com/intent/tweet?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3Dtwitter', 'X-share', config='menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');">
2167    <div class="btnIcon"></div>
2168</button>
2169
2170<button class="share_line" data-desc="line" title="分享至Line" onclick="window.open('https://lineit.line.me/share/ui?url=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DLINE', 'Line-share', config='height=500, width=500');">
2171    <div class="btnIcon"></div>
2172</button>
2173
2174<button class="share_threads" data-desc="threads" title="分享至Threads" onclick="window.open('https://threads.net/intent/post?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DTHREADS', 'Threads-share', config='height=500, width=500');">
2175    <div class="btnIcon"></div>
2176</button>
2177
2178<button class="btn_link" title="複製網址" onclick=" copyCurrentUrl(this);" onmouseleave="removeActive(this)">
2179    <div class="btnIcon"></div>
2180</button>
2181
2182<button onclick="printpage()" class="print" data-desc="列印" title="列印">
2183    <div class="btnIcon"></div>
2184</button>
2185
2186<button class="fontsize" data-desc="字體縮放" title="字體縮放">
2187    <div class="btnIcon"></div>
2188</button>
2189        </div>
2190    </div>
2191</div>
2192<!-- Google News -->
2193<!-- googleNews PC 版 -->
2194    <div class="googleNews boxTitle gn_pc" data-desc="內廣">
2195                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026090359335696" target="_blank">
2196                <img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/suggest/431/1788424457.png" src="assets/images/spacer.gif" alt="圖"/>
2197            </a>
2198                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026092438347381" target="_blank">
2199                <img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/suggest/431/1790234005.gif" src="assets/images/spacer.gif" alt="圖"/>
2200            </a>
2201                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026100170006017" target="_blank">
2202                <img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/suggest/431/431167352.jpg" src="assets/images/spacer.gif" alt="圖"/>
2203            </a>
2204            </div>
2205
2206    
2206<script>
2207        T = $(".googleNews");
2208        if (T.length > 0 && adDevice == 'P') {
2209            $.each(T,function(){
2210            ADRand = ADRandCeil(1,$("a",this).length)-1;
2211            $("a:eq("+ADRand+")",this).show();
2212            var adno = $("a:eq("+ADRand+")",this).attr("href");
2213            var adnoArray = new Array();
2214            adnoArray = adno.split("=");
2215            var adpv = $('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + adnoArray[1] + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
2216            adpv.appendTo(this);
2217            $("a",this).each(function(){
2218                var url = document.URL.substring(0,(document.URL.indexOf("?")>0) ?document.URL.indexOf("?") : 200);
2219                $(this).attr('href',$(this).attr('href')+'&device='+adDevice+'&source='+url);
2220            });
2221            });
2222        }
2223        function ADRandCeil(min,max) {
2224            return Math.ceil(Math.random()*(max-min+1)+min-1);
2225        }
2226    </script>
2226
2227
2228<!-- googleNews M 版 -->
2229    <div class="googleNews boxTitle gn_m" data-desc="內廣">
2230                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026020942655769" target="_blank">
2231                <img class="lazy_imgs_ltn gn_m_img" data-src="https://img.ltn.com.tw/Upload/suggest/432/432162083.jpg" src="assets/images/spacer.gif" alt="圖"/>
2232            </a>
2233                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026090358879688" target="_blank">
2234                <img class="lazy_imgs_ltn gn_m_img" data-src="https://img.ltn.com.tw/Upload/suggest/432/1788424367.jpg" src="assets/images/spacer.gif" alt="圖"/>
2235            </a>
2236                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026092413388917" target="_blank">
2237                <img class="lazy_imgs_ltn gn_m_img" data-src="https://img.ltn.com.tw/Upload/suggest/432/1790234179.gif" src="assets/images/spacer.gif" alt="圖"/>
2238            </a>
2239                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026100183367078" target="_blank">
2240                <img class="lazy_imgs_ltn gn_m_img" data-src="https://img.ltn.com.tw/Upload/suggest/432/432167351.jpg" src="assets/images/spacer.gif" alt="圖"/>
2241            </a>
2242            </div>
2243
2244    
2244<script>
2245        T = $(".googleNews");
2246        if (T.length > 0 && adDevice == 'M') {
2247            $.each(T,function(){
2248            ADRand = ADRandCeil(1,$("a",this).length)-1;
2249            $("a:eq("+ADRand+")",this).show();
2250            var adno = $("a:eq("+ADRand+")",this).attr("href");
2251            var adnoArray = new Array();
2252            adnoArray = adno.split("=");
2253            var adpv = $('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + adnoArray[1] + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
2254            adpv.appendTo(this);
2255            $("a",this).each(function(){
2256                var url = document.URL.substring(0,(document.URL.indexOf("?")>0) ?document.URL.indexOf("?") : 200);
2257                $(this).attr('href',$(this).attr('href')+'&device='+adDevice+'&source='+url);
2258            });
2259            });
2260        }
2261        function ADRandCeil(min,max) {
2262            return Math.ceil(Math.random()*(max-min+1)+min-1);
2263        }
2264    </script>
2264
2265
2266<!-- 相關新聞 -->
2267<div class="content_title">相關新聞</div>
2268<div class="related content_list boxTitle" data-desc="相關新聞"></div>
2269<script>
2270    let originalMoreNews = [{"url":"https:\/\/news.ltn.com.tw\/news\/politics\/breakingnews\/5591806","title":"\u6c88\u4f2f\u6d0b\u89aa\u625bAI\u5716\u722d\u8b70 \u5979\u9178\u8523\u842c\u5b89\u51fa\u5305\u63a8\u91cc\u9577\u625b\u7518\u8517","no":"5591806","type":"politics","group":"breakingnews","time":"20261001145508","viewTime":"2026\/10\/01 14:55","photo":"https:\/\/img.ltn.com.tw\/Upload\/news\/300\/2026\/10\/01\/php2tRLoS.jpg","width":0,"height":0,"other":0},{"url":"https:\/\/news.ltn.com.tw\/news\/politics\/breakingnews\/5592092","title":"\u4f59\u6587\u5fe0\u8cea\u7591\u535a\u58eb\u8ad6\u6587\u7814\u7a76\u502b\u7406 \u6797\u6708\u7434\u79c04\u53e3\u59d4\u8072\u660e\u53cd\u99c1","no":"5592092","type":"politics","group":"breakingnews","time":"20261001152448","viewTime":"2026\/10\/01 15:24","photo":"https:\/\/img.ltn.com.tw\/Upload\/news\/300\/2026\/10\/01\/5592092_1_1.jpg","width":0,"height":0,"other":0},{"no":"2026100146655519","title":"\u5168\u570b\u96fb\u5b50\u9031\u5e74\u617610\/1\u958b\u8dd1 \u6307\u5b9a\u5927\u5bb6\u96fb7\u6298\u8d77\u3001\u5168\u9928\u5bb6\u96fb9\u6298","photo":"1790823880.jpg","link":"https:\/\/market.ltn.com.tw\/article\/18918","width":"900","height":"600","content":"","typeno":"155","category":"0","buy":"insidead","title_color":"\u5168\u570b\u96fb\u5b50\u9031\u5e74\u617610\/1\u958b\u8dd1 \u6307\u5b9a\u5927\u5bb6\u96fb7\u6298\u8d77\u3001\u5168\u9928\u5bb6\u96fb9\u6298","dom":"https:\/\/img.ltn.com.tw\/Upload\/suggest\/155\/1790823880.jpg","tag":"","other":"ad"},{"url":"https:\/\/news.ltn.com.tw\/news\/politics\/breakingnews\/5592056","title":"\u5317\u5e02\u71df\u990a\u5348\u9910\u722d\u8b70\u9023\u74b0\u7206\uff01\u767d\u71df\u8cea\u7591\u4f5c\u79c0 \u6c88\u4f2f\u6d0b\uff1a\u6279\u8a55\u61c9\u672c\u65bc\u4e8b\u5be6","no":"5592056","type":"politics","group":"breakingnews","time":"20261001150616","viewTime":"2026\/10\/01 15:06","photo":"https:\/\/img.ltn.com.tw\/Upload\/news\/300\/2026\/10\/01\/5592056_1_1.jpg","width":0,"height":0,"other":0},{"url":"https:\/\/news.ltn.com.tw\/news\/politics\/breakingnews\/5592061","title":"\u300c\u6f22\u5b50\u3001\u71d5\u5b50\u3001\u79bf\u5b50\u300d10\/4\u5408\u9ad4\u66ff\u6c5f\u555f\u81e3\u7ad9\u53f0   \u4f55\u6b23\u7d14\u558a\u8a71\u9019\u4ef6\u4e8b","no":"5592061","type":"politics","group":"breakingnews","time":"20261001151146","viewTime":"2026\/10\/01 15:11","photo":"https:\/\/img.ltn.com.tw\/Upload\/news\/300\/2026\/10\/01\/5592061_1_1.jpg","width":0,"height":0,"other":0},{"url":"https:\/\/news.ltn.com.tw\/news\/politics\/breakingnews\/5592074","title":"\u8523\u842c\u5b89\u300c\u53f0\u5317\u5b89\u53ef\u300d\u62da\u9023\u4efb \u5f35\u96c5\u7433\u6279\u7b56\u7565\u8207\u57f7\u884c\u56b4\u91cd\u65b7\u88c2","no":"5592074","type":"politics","group":"breakingnews","time":"20261001155325","viewTime":"2026\/10\/01 15:53","photo":"https:\/\/img.ltn.com.tw\/Upload\/news\/300\/2026\/10\/01\/phpLagUuH.jpg","width":0,"height":0,"other":0}];
2271
2272    document.addEventListener('DOMContentLoaded', () => {
2273            initRelatedNews();   // 你之前的初始化函式
2274    });
2275
2276    function initRelatedNews() {
2277        const area = document.querySelector('.related.boxTitle');
2278        const io = new IntersectionObserver((es, obs)=> {
2279            if (es[0].isIntersecting) {
2280                obs.unobserve(area);
2281                let category = ("politics").toUpperCase();
2282                fetchRelatedNews('5592174', 'breakingnews', 6, category)
2283                    .then(function(data) {
2284                        if (data.length) {
2285                            data = insertAdToFetchRelatedNews(data, originalMoreNews);
2286                            useFetchedRelatedNews(data);
2287                        } else {
2288                            (originalMoreNews.length > 0) ? useOriginalRelatedNews(originalMoreNews, category): removeRelativeSection();
2289                        }
2290                    })
2291                    .finally(function() {
2292                        $('img', '.resize_imgs_ltn').each(function() {
2293                            resize_imgs($(this));
2294                        }).on('load', function() {
2295                            // 同時有lazyload效果時要再處理一次
2296                            resize_imgs($(this));
2297                        });
2298                        lazyImg = $('img.lazy_imgs_ltn');
2299                        lazyload(lazyImg);
2300                    });
2301            }
2302        },{rootMargin:'200px'});
2303        io.observe(area);
2304    }
2305    /**
2306     * 從api取相關新聞
2307     */
2308    function useFetchedRelatedNews(data) {
2309        var relatedNewsContainer = $('.related.content_list.boxTitle');
2310        var relatedHtml = '';
2311        $.each(data, function(index, news) {
2312            if (news.buy) {
2313                relatedHtml += '<a title="' + news.title + '" class="L1ad" href="https://' + "pv6.ltn.com.tw/click" + '?ano=' + news.no + '">';
2314                relatedHtml += '<div class="resize_imgs_ltn ph listS_h">';
2315                relatedHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg" data-src="' + (news.dom ? news.dom : 'assets/images/all/default.jpg') + '" title="' + news.title + '" alt="impression">';
2316                relatedHtml += '</div>';
2317				relatedHtml += '<div class="tit">';
2318                relatedHtml += '<h3>' + truncateTitle(news.title) + '</h3>';
2319				relatedHtml += '</div>';
2320                relatedHtml += '</a>';
2321                relatedHtml += '<img style="display:none" src="https://' + "pv6.ltn.com.tw/impression" + '?ano=' + news.no + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">';
2322            } else {
2323                relatedHtml += '<a title="' + news.LTRT_Title + '" href="' + news.LTRT_Url + '" data-desc="T: ' + index + ': ' + news.LTRT_Title + '">';
2324                relatedHtml += '<div class="resize_imgs_ltn ph listS_h">';
2325                relatedHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg"  onload= "listS_w($(this))" data-src="' + news.LTRT_SmallPhotoPath + '" title="' + news.LTRT_Title + '" alt="' + news.LTRT_Title + '">';
2326                relatedHtml += '</div>';
2327				relatedHtml += '<div class="tit">';
2328                relatedHtml += '<h3>' + truncateTitle(news.LTRT_Title) + '</h3>';
2329				if (news.LTRT_ViewTime) {
2330                    relatedHtml += '<span>' + formatTime(news.LTRT_ViewTime) + '</span>';
2331                }
2332				relatedHtml += '</div>';
2333                relatedHtml += '</a>';
2334            }
2335        });
2336        relatedNewsContainer.html(relatedHtml);
2337
2338        $('div.related.content_list.boxTitle').find('a.L1ad').each(function() {
2339            var adHref = $(this).attr('href');
2340            $(this).attr('href', adHref + '&device=' + adDevice + '&source=' + document.URL);
2341        });
2342    }
2343
2344    /**
2345     * 使用原本的相關新聞
2346     */
2347    function useOriginalRelatedNews(data, category) {
2348        var relatedNewsContainer = $('.related.content_list.boxTitle');
2349        var relatedHtml = '';
2350        $.each(data, function(index, news) {
2351            if (news.buy) {
2352                relatedHtml += '<a title="' + news.title + '" class="L1ad" href="https://' + "pv6.ltn.com.tw/click" + '?ano=' + news.no + '">';
2353                relatedHtml += '<div class="resize_imgs_ltn ph listS_h">';
2354                relatedHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg" data-src="' + (news.dom ? news.dom : 'assets/images/all/default.jpg') + '" title="' + news.title + '" alt="impression">';
2355                relatedHtml += '</div>';
2356				relatedHtml += '<div class="tit">';
2357                relatedHtml += '<h3>' + truncateTitle(news.title) + '</h3>';
2358				relatedHtml += '</div>';
2359                relatedHtml += '</a>';
2360                relatedHtml += '<img style="display:none" src="https://' + "pv6.ltn.com.tw/impression" + '?ano=' + news.no + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">';
2361            } else {
2362                relatedHtml += '<a title="' + news.title + '" href="' + news.url + '?utm_source=' + category + '&utm_medium=relatedNews&utm_campaign=ltn_customize" data-desc="T: ' + index + ': ' + news.title + '">';
2363                relatedHtml += '<div class="resize_imgs_ltn ph listS_h">';
2364                relatedHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg"  onload= "listS_w($(this))" data-src="' + news.photo + '" title="' + news.title + '" alt="' + news.title + '">';
2365                relatedHtml += '</div>';
2366				relatedHtml += '<div class="tit">';
2367				relatedHtml += '<h3>' + truncateTitle(news.title) + '</h3>';
2368                if (news.viewTime) {
2369                    relatedHtml += '<span>' + formatTime(news.viewTime) + '</span>';
2370                }
2371				relatedHtml += '</div>';
2372                relatedHtml += '</a>';
2373            }
2374        });
2375        relatedNewsContainer.html(relatedHtml);
2376        $('div.related.boxTitle').find('a.L1ad').each(function() {
2377            var adHref = $(this).attr('href');
2378            $(this).attr('href', adHref + '&device=' + adDevice + '&source=' + document.URL);
2379        });
2380    }
2381
2382    function removeRelativeSection() {
2383        removeHotnewsDOM("related.content_list.boxTitle");
2384        removeHotnewsDOM("content_title");
2385    }
2386</script>
2386
2387
2388<!-- 廣告728*90 -->
2389<div class="suggest">
2390    <div class="suggest728">    <!-- /21202031/01-news-pol-P-K2 -->
2391    <div id="ad-K2"
2392        class="boxTitle adHeight90 suggest_pc"
2393        data-desc="廣告ad-K2"
2394        style="text-align: center;">
2395            
2395<script>displayDFP('ad-K2', 'pc');</script>
2395
2396    </div>
2397</div>
2398</div>
2399
2400<!-- 上下則 -->
2401<div class="see_more boxTitle" data-desc="上下則">
2402                        <a href="https://news.ltn.com.tw/news/politics/breakingnews/5592158" class="prev" data-desc="上一頁">
2403                <b>上一則</b>
2404                <p>白營批沈伯洋選舉才挺 「營養午餐專法」 蘇巧慧這麼看</p>
2405            </a>
2406                            <a href="https://news.ltn.com.tw/news/politics/breakingnews/5592153" class="next" data-desc="下一頁">
2407                <b>下一則</b>
2408                <p>攜手伊甸簽署視障友善城市宣言 李四川:與民間打造共融友善城市</p>
2409            </a>
2410            </div>
2411
2412<!-- ad-B2 -->
2413    <!-- /21202031/02-mobile-pol-B2 -->
2414    <div id="ad-B2"
2415        class="boxTitle adHeight280 suggest_m"
2416        data-desc="廣告ad-B2"
2417        style="text-align: center;">
2418            
2418<script>displayDFP('ad-B2', 'm');</script>
2418
2419    </div>
2420
2421<div id="outbrain_widget_1"></div>
2422<script>
2423    if (!isTW || sysLang !== 'zh-tw') {
2424        document.addEventListener("DOMContentLoaded", function() {
2425            var observer = new IntersectionObserver(function(entries, observer) {
2426                entries.forEach(function(entry) {
2427                    if (entry.isIntersecting) {
2428                        var container = document.getElementById('outbrain_widget_1');
2429                        var div = document.createElement('div');
2430                        div.className = 'OUTBRAIN';
2431                        div.setAttribute('data-src', 'https://news.ltn.com.tw/news/politics/breakingnews/5592174');
2432                        div.setAttribute('data-widget-id', 'AR_1');
2433                        container.appendChild(div);
2434
2435                        var script = document.createElement('script');
2436                        script.type = 'text/javascript';
2437                        script.async = true;
2438                        script.src = '//widgets.outbrain.com/outbrain.js';
2439                        container.appendChild(script);
2440
2441                        observer.unobserve(entry.target);
2442                    }
2443                });
2444            }, {
2445                rootMargin: "200px"
2446            });
2447
2448            var target = document.getElementById('outbrain_widget_1');
2449            if (target) observer.observe(target);
2450        });
2451    }
2452</script>
2452
2453
2454<div id="randBlock1">
2455    <div id="todayHotNews">
2456        <!-- 今日熱門 -->
2457        <div class="content_title">政治今日熱門</div>
2458<div class="todaynews content_list boxTitle" data-desc="今日熱門:政治">
2459    <!-- render -->
2460</div>
2461
2462<script>
2463    let ajaxCategory = "politics";
2464    hotNewsSource = category.toUpperCase();
2465
2466    // 抓下方的今日熱門資料
2467    document.addEventListener('DOMContentLoaded', () => {
2468        fetchHotNews([ajaxCategory, ajaxCategory], 4, "hotnews_bottom")
2469            .then(data => {
2470                (data.length > 0) ? renderHotNewsBottom(data): removeTodayNews();
2471            })
2472            .finally(function() {
2473                // lazy load images
2474                lazyImg = $('img.lazy_imgs_ltn');
2475                lazyload(lazyImg);
2476            })
2477    })
2478    var randAd = Math.ceil(Math.random() * 2); // 決定第三則的廣告商 1:tenmax 2:freakout
2479    if (randBlock == 0) {
2480        // 模組上
2481        var compassMobile = 4290962; // compass
2482        var compassPC = 4290961; // compass
2483    } else {
2484        // 模組下
2485        var compassMobile = 4291084; // compass
2486        var compassPC = 4291083; //compass
2487    }
2488
2489    function renderHotNewsBottom(data) {
2490        const hotBottomList = $('.todaynews.content_list.boxTitle');
2491        hotBottomListHTML = '';
2492        var cf_id;
2493        $.each(data, function(index, news) {
2494            hotBottomListHTML += '<a href="' + news.LTRT_Url + '" title="' + news.LTRT_Title + '" data-desc="P:' + index + ':' + news.LTRT_Title + '">';
2495            hotBottomListHTML += '<div class="resize_imgs_ltn ph listS_h">'
2496            hotBottomListHTML += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg" data-src="' + news.LTRT_SmallPhotoPath + '" alt="' + news.LTRT_Title + '" title="' + news.LTRT_Title + '" data-desc="P:' + index + ':' + news.LTRT_Title + '">';
2497            hotBottomListHTML += '</div>';
2498			hotBottomListHTML += '<div class="tit">';
2499            hotBottomListHTML += '<h3>';
2500            hotBottomListHTML += truncateTitle(news.LTRT_Title)
2501            news.LTRT_VideoFlag ? hotBottomListHTML += '<span class="isVideo"></span>' : "";
2502            hotBottomListHTML += '</h3>';
2503			hotBottomListHTML += '<span class="timeLine">' + formatTime(news.LTRT_ViewTime) + '</span>';
2504            hotBottomListHTML += '</div>';
2505			hotBottomListHTML += '</a>';
2506            if (index == 3) {
2507                hotBottomListHTML += '<div id="compass-fit-uaid">';
2508                hotBottomListHTML += '</div>'
2509                var ua = navigator.userAgent;
2510                if (ua.indexOf('iPhone') > 0 || ua.indexOf('iPod') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
2511                    ua = 'sp';
2512                } else if (ua.indexOf('iPad') > 0 || ua.indexOf('Android') > 0) {
2513                    ua = 'tab';
2514                } else {
2515                    ua = 'pc';
2516                }
2517                if (ua == 'sp') {
2518                    cf_id = compassMobile;
2519                } else {
2520                    cf_id = compassPC;
2521                }
2522            }
2523            if (index == 1) {
2524                hotBottomListHTML += '<a id="_popIn_recommend_hot_3"></a>';
2525            }
2526        });
2527        hotBottomList.html(hotBottomListHTML);
2528
2529        (function() {
2530            var pa = document.createElement('script');
2531            pa.type = 'text/javascript';
2532            pa.charset = "utf-8";
2533            pa.async = true;
2534            pa.src = window.location.protocol + "//api.popin.cc/searchbox/ltn_tw.js";
2535            var s = document.getElementsByTagName('script')[0];
2536            s.parentNode.insertBefore(pa, s);
2537            if (randBlock != 0) {
2538                $('#_popIn_recommend_hot_3').attr({
2539                    'id': '_popIn_recommend_hot_3_below',
2540                });
2541            }
2542        })();
2543        // compass
2544        document.getElementById('compass-fit-uaid').id = "compass-fit-" + cf_id;
2545        (function() {
2546            var _lgy_lw = document.createElement("script");
2547            _lgy_lw.type = "text/javascript";
2548            _lgy_lw.charset = "UTF-8";
2549            _lgy_lw.async = true;
2550            _lgy_lw.src = (("https:" == document.location.protocol) ? "https://" : "http://") + "nt.compass-fit.jp/lift_widget.js?adspot_id=" + cf_id;
2551            var _lgy_lw_0 = document.getElementsByTagName("script")[0];
2552            _lgy_lw_0.parentNode.insertBefore(_lgy_lw, _lgy_lw_0);
2553        })();
2554    }
2555
2556    function formatTime(viewTime) {
2557        const date = new Date(viewTime);
2558
2559        const year = date.getFullYear();
2560        const month = String(date.getMonth() + 1).padStart(2, '0');
2561        const day = String(date.getDate()).padStart(2, '0');
2562
2563        const hours = String(date.getHours()).padStart(2, '0');
2564        const minutes = String(date.getMinutes()).padStart(2, '0');
2565
2566        return `${year}/${month}/${day} ${hours}:${minutes}`;
2567    }
2568
2569    function truncateTitle(title, maxLength = 43) {
2570        return title.length > maxLength ? title.slice(0, maxLength) + '…' : title;
2571    }
2572
2573    function removeTodayNews() {
2574        removeHotnewsDOM("content_title");
2575        removeHotnewsDOM("todaynews.content_list.boxTitle");
2576    }
2577</script>
2577
2578    </div>
2579</div>
2580
2581<!-- news重要專題1 -->
2582<!-- news重要專題2 -->
2583<!-- news重要專題3 -->
2584
2585<!-- 廣告300*250-2則 -->
2586<div class="suggest">
2587    <div class="ad_bg">
2588        <div>    <!-- /21202031/01-news-sponsors-B1 -->
2589    <div id="ad-C1"
2590        class="boxTitle adHeight250 suggest_pc"
2591        data-desc="廣告ad-C1"
2592        style="text-align: center;">
2593            
2593<script>displayDFP('ad-C1', 'pc');</script>
2593
2594    </div>
2595</div>
2596        <div>    <!-- /21202031/01-news-sponsors-B2 -->
2597    <div id="ad-C2"
2598        class="boxTitle adHeight250 suggest_pc"
2599        data-desc="廣告ad-C2"
2600        style="text-align: center;">
2601            
2601<script>displayDFP('ad-C2', 'pc');</script>
2601
2602    </div>
2603</div>
2604    </div>
2605</div>
2606
2607<div id="randBlock2">
2608    <div id="maybeLike">
2609        <!-- 你可能有興趣 -->
2610        
2610<script>
2611            document.addEventListener("DOMContentLoaded", function() {
2612                var observer = new IntersectionObserver(function(entries, observer) {
2613                    entries.forEach(function(entry) {
2614                        if (entry.isIntersecting) {
2615                            loadMaybeLike();
2616                            observer.unobserve(entry.target);
2617                        }
2618                    });
2619                }, {
2620                    rootMargin: "200px"
2621                });
2622
2623                var target = document.getElementById('maybeLike');
2624                if (target) observer.observe(target);
2625            });
2626
2627            function loadMaybeLike() {
2628                var youMayLikeBox = [1, 2, 2, 3, 3];
2629                var randOrder = Math.ceil(Math.random() * 5);
2630                var youMayLikeNo = youMayLikeBox[randOrder - 1];
2631
2632                if (!isTW || sysLang !== 'zh-tw') {
2633                    youMayLikeNo = 4;
2634                }
2635                // A 今日熱門下、你可能會喜歡上
2636                // B 今日熱門上、你可能會喜歡下
2637                var abTest = (randBlock == 0) ? 'A' : 'B';
2638                switch (youMayLikeNo) {
2639                    case 1: // Compass 0 下 1 上
2640                        var compassAd = document.createElement('div');
2641                        var compassDivId = 'compass-fit-uaid';
2642                        compassAd.setAttribute('id', compassDivId);
2643                        compassAd.setAttribute('class', 'boxTitle');
2644                        compassAd.setAttribute('data-desc', '你可能有興趣:compass-' + abTest);
2645                        $('#maybeLike').append(compassAd);
2646                        var compassIdMo = (randBlock == 0) ? '4289820' : '4291090';
2647                        var compassIdPc = (randBlock == 0) ? '4289819' : '4291089';
2648                        var ua = navigator.userAgent;
2649                        var cf_id;
2650                        if (ua.indexOf('iPhone') > 0 || ua.indexOf('iPod') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
2651                            ua = 'sp';
2652                        } else if (ua.indexOf('iPad') > 0 || ua.indexOf('Android') > 0) {
2653                            ua = 'tab';
2654                        } else {
2655                            ua = 'pc';
2656                        }
2657                        if (ua == 'sp') {
2658                            cf_id = compassIdMo;
2659                        } else {
2660                            cf_id = compassIdPc;
2661                        }
2662                        document.getElementById('compass-fit-uaid').id = "compass-fit-" + cf_id;
2663
2664                        (function() {
2665                            var _lgy_lw = document.createElement("script");
2666                            _lgy_lw.type = "text/javascript";
2667                            _lgy_lw.charset = "UTF-8";
2668                            _lgy_lw.async = true;
2669                            _lgy_lw.src = (("https:" == document.location.protocol) ? "https://" : "http://") + "nt.compass-fit.jp/lift_widget.js?adspot_id=" + cf_id;
2670                            var _lgy_lw_0 = document.getElementsByTagName("script")[0];
2671                            _lgy_lw_0.parentNode.insertBefore(_lgy_lw, _lgy_lw_0);
2672                        })();
2673                        break;
2674                    case 2: // popIn
2675                        var popinAd = document.createElement('div');
2676                        var popinId = (randBlock == 0) ? '_popIn_recommend_rwd' : '_popIn_recommend_rwd_top';
2677                        popinAd.setAttribute('id', popinId);
2678                        popinAd.setAttribute('class', 'boxTitle');
2679                        popinAd.setAttribute('data-desc', '你可能有興趣:popIn-' + abTest);
2680                        $('#maybeLike').append(popinAd);
2681                        (function() {
2682                            var pa = document.createElement('script');
2683                            pa.type = 'text/javascript';
2684                            pa.charset = "utf-8";
2685                            pa.async = true;
2686                            pa.src = window.location.protocol + "//api.popin.cc/searchbox/ltn_tw.js";
2687                            var s = document.getElementsByTagName('script')[0];
2688                            s.parentNode.insertBefore(pa, s);
2689                        })();
2690                        break;
2691                    case 3: // Dable
2692                        var dableAd = document.createElement('div');
2693                        var dableIdPc = (randBlock == 0) ? '2XnjzMXd' : 'Gokm0Nlv';
2694                        var dableIdMo = (randBlock == 0) ? 'xXAYJmXG' : 'jobP0dlW';
2695
2696                        dableAd.setAttribute('id', 'dablewidget_' + dableIdPc + '_' + dableIdMo);
2697                        dableAd.setAttribute('class', 'boxTitle');
2698                        dableAd.setAttribute('data-desc', '你可能有興趣:dable-' + abTest);
2699                        dableAd.setAttribute('data-widget_id-pc', dableIdPc);
2700                        dableAd.setAttribute('data-widget_id-mo', dableIdMo);
2701                        $('#maybeLike').append(dableAd);
2702
2703                        (function(d, a, b, l, e, _) {
2704                            if (d[b] && d[b].q) return;
2705                            d[b] = function() {
2706                                (d[b].q = d[b].q || []).push(arguments)
2707                            };
2708                            e = a.createElement(l);
2709                            e.async = 1;
2710                            e.charset = 'utf-8';
2711                            e.src = '//static.dable.io/dist/plugin.min.js';
2712                            _ = a.getElementsByTagName(l)[0];
2713                            _.parentNode.insertBefore(e, _);
2714                        })(window, document, 'dable', 'script');
2715
2716                        dable('setService', 'news.ltn.com.tw');
2717                        dable('sendLogOnce');
2718                        dable('renderWidgetByWidth', 'dablewidget_' + dableIdPc + '_' + dableIdMo);
2719
2720                        break;
2721                }
2722            }
2723        </script>
2723
2724    </div>
2725</div>
2726
2727<div id="outbrain_widget_2"></div>
2728<script>
2729    if (!isTW || sysLang !== 'zh-tw') {
2730        document.addEventListener("DOMContentLoaded", function() {
2731            var observer = new IntersectionObserver(function(entries, observer) {
2732                entries.forEach(function(entry) {
2733                    if (entry.isIntersecting) {
2734                        var container = document.getElementById('outbrain_widget_2');
2735                        var div = document.createElement('div');
2736                        div.className = 'OUTBRAIN';
2737                        div.setAttribute('data-src', 'https://news.ltn.com.tw/news/politics/breakingnews/5592174');
2738                        div.setAttribute('data-widget-id', 'AR_2');
2739                        container.appendChild(div);
2740
2741                        var script = document.createElement('script');
2742                        script.type = 'text/javascript';
2743                        script.async = true;
2744                        script.src = '//widgets.outbrain.com/outbrain.js';
2745                        container.appendChild(script);
2746
2747                        observer.unobserve(entry.target);
2748                    }
2749                });
2750            }, {
2751                rootMargin: "200px"
2752            });
2753
2754            var target = document.getElementById('outbrain_widget_2');
2755            if (target) observer.observe(target);
2756        });
2757    }
2758</script>
2758
2759
2760<!-- 文末粉絲團 -->
2761<div class="add_fb">
2762    <div class="add_fb_wrap">
2763        <div class="add_fb_title">看更多!請加入自由時報粉絲團</div>
2764        <div class="fb_body">
2765            <iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fm.ltn.tw&tabs=timeline&width=300&height=80&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="300" height="80" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>
2766        </div>
2767    </div>
2768</div>
2769
2770<!-- 公版開始 -->
2771<style>
2772    section.content940 div.template {
2773        display: none;
2774    }
2775</style>
2776<div class="whitecon article boxTitle boxText template" data-page="0">
2777    <h1></h1>
2778    <span class="article_time"></span>
2779    <span class="article_edit"></span>
2780    <div class="article_wrap">
2781        <div class="shareBox">
2782            <!-- 加入為 Google 偏好來源按鈕 google sources BTN Mobile -->
2783<button class="share_google" data-desc="google" title="加入Google首選" onclick="window.open('https://www.google.com/preferences/source?q=ltn.com.tw', 'google-share', config='height=500, width=500');">
2784    <div class="btnIcon">
2785        <svg class="googleIcon" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" aria-hidden="true">
2786            <path fill="#FFC107" d="M22.296 9.944h-.846V9.9H12v4.2h5.934A6.297 6.297 0 0 1 5.7 12 6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5C6.202 1.5 1.5 6.201 1.5 12S6.202 22.5 12 22.5c5.799 0 10.5-4.701 10.5-10.5 0-.704-.072-1.391-.204-2.056"></path>
2787            <path fill="#FF3D00" d="m2.71 7.113 3.45 2.53A6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5c-4.033 0-7.53 2.277-9.29 5.613"></path>
2788            <path fill="#4CAF50" d="M12 22.5c2.712 0 5.176-1.038 7.04-2.726l-3.25-2.75A6.25 6.25 0 0 1 12 18.3a6.3 6.3 0 0 1-5.924-4.172l-3.424 2.639C4.39 20.167 7.92 22.5 12 22.5"></path>
2789            <path fill="#1976D2" d="M22.296 9.9H12v4.2h5.934a6.3 6.3 0 0 1-2.146 2.925l.002-.001 3.25 2.75c-.23.209 3.46-2.524 3.46-7.774 0-.704-.072-1.435-.204-2.1"></path>
2790        </svg>
2791    </div>
2792</button>
2793
2794<button class="share_fb" data-desc="facebook" title="分享至Facebook" onclick="window.open('https://www.facebook.com/share.php?u=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DFACEBOOK', 'FB-share', config='height=500, width=500');">
2795    <div class="btnIcon"></div>
2796</button>
2797
2798<button class="share_x twitter-share-button" title="分享至X" data-desc="twitter" onclick="window.open('https://twitter.com/intent/tweet?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3Dtwitter', 'X-share', config='menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');">
2799    <div class="btnIcon"></div>
2800</button>
2801
2802<button class="share_line" data-desc="line" title="分享至Line" onclick="window.open('https://lineit.line.me/share/ui?url=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DLINE', 'Line-share', config='height=500, width=500');">
2803    <div class="btnIcon"></div>
2804</button>
2805
2806<button class="share_threads" data-desc="threads" title="分享至Threads" onclick="window.open('https://threads.net/intent/post?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DTHREADS', 'Threads-share', config='height=500, width=500');">
2807    <div class="btnIcon"></div>
2808</button>
2809
2810<button class="btn_link" title="複製網址" onclick=" copyCurrentUrl(this);" onmouseleave="removeActive(this)">
2811    <div class="btnIcon"></div>
2812</button>
2813
2814<button onclick="printpage()" class="print" data-desc="列印" title="列印">
2815    <div class="btnIcon"></div>
2816</button>
2817
2818<button class="fontsize" data-desc="字體縮放" title="字體縮放">
2819    <div class="btnIcon"></div>
2820</button>
2821        </div>
2822        <div class="text boxTitle boxText" data-desc="內容頁"></div>
2823        <div class="shareBox articleEnd">
2824            <!-- 加入為 Google 偏好來源按鈕 google sources BTN Mobile -->
2825<button class="share_google" data-desc="google" title="加入Google首選" onclick="window.open('https://www.google.com/preferences/source?q=ltn.com.tw', 'google-share', config='height=500, width=500');">
2826    <div class="btnIcon">
2827        <svg class="googleIcon" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" aria-hidden="true">
2828            <path fill="#FFC107" d="M22.296 9.944h-.846V9.9H12v4.2h5.934A6.297 6.297 0 0 1 5.7 12 6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5C6.202 1.5 1.5 6.201 1.5 12S6.202 22.5 12 22.5c5.799 0 10.5-4.701 10.5-10.5 0-.704-.072-1.391-.204-2.056"></path>
2829            <path fill="#FF3D00" d="m2.71 7.113 3.45 2.53A6.3 6.3 0 0 1 12 5.7c1.606 0 3.067.606 4.18 1.595l2.97-2.97A10.45 10.45 0 0 0 12 1.5c-4.033 0-7.53 2.277-9.29 5.613"></path>
2830            <path fill="#4CAF50" d="M12 22.5c2.712 0 5.176-1.038 7.04-2.726l-3.25-2.75A6.25 6.25 0 0 1 12 18.3a6.3 6.3 0 0 1-5.924-4.172l-3.424 2.639C4.39 20.167 7.92 22.5 12 22.5"></path>
2831            <path fill="#1976D2" d="M22.296 9.9H12v4.2h5.934a6.3 6.3 0 0 1-2.146 2.925l.002-.001 3.25 2.75c-.23.209 3.46-2.524 3.46-7.774 0-.704-.072-1.435-.204-2.1"></path>
2832        </svg>
2833    </div>
2834</button>
2835
2836<button class="share_fb" data-desc="facebook" title="分享至Facebook" onclick="window.open('https://www.facebook.com/share.php?u=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DFACEBOOK', 'FB-share', config='height=500, width=500');">
2837    <div class="btnIcon"></div>
2838</button>
2839
2840<button class="share_x twitter-share-button" title="分享至X" data-desc="twitter" onclick="window.open('https://twitter.com/intent/tweet?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3Dtwitter', 'X-share', config='menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');">
2841    <div class="btnIcon"></div>
2842</button>
2843
2844<button class="share_line" data-desc="line" title="分享至Line" onclick="window.open('https://lineit.line.me/share/ui?url=https%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DLINE', 'Line-share', config='height=500, width=500');">
2845    <div class="btnIcon"></div>
2846</button>
2847
2848<button class="share_threads" data-desc="threads" title="分享至Threads" onclick="window.open('https://threads.net/intent/post?text=%E6%B2%88%E4%BC%AF%E6%B4%8B%E7%AA%81%E8%A5%B2%E5%AE%A3%E5%B8%83%E4%BB%8A%E6%99%9A%E6%9C%89%E5%AF%A6%E9%AB%94%E6%B4%BB%E5%8B%95%E7%AC%AC4%E5%BD%88%EF%BC%81+%E7%B6%B2%E4%B8%8D%E6%8D%A8%EF%BC%9A%E7%94%9F%E7%97%85%E9%82%84%E4%B8%8D%E5%8E%BB%E4%BC%91%E6%81%AFhttps%3A%2F%2Fnews.ltn.com.tw%2Fnews%2Fpolitics%2Fbreakingnews%2F5592174%3Futm_medium%3DR%26utm_campaign%3DSHARE%26utm_source%3DTHREADS', 'Threads-share', config='height=500, width=500');">
2849    <div class="btnIcon"></div>
2850</button>
2851
2852<button class="btn_link" title="複製網址" onclick=" copyCurrentUrl(this);" onmouseleave="removeActive(this)">
2853    <div class="btnIcon"></div>
2854</button>
2855
2856<button onclick="printpage()" class="print" data-desc="列印" title="列印">
2857    <div class="btnIcon"></div>
2858</button>
2859
2860<button class="fontsize" data-desc="字體縮放" title="字體縮放">
2861    <div class="btnIcon"></div>
2862</button>
2863        </div>
2864    </div>
2865    <div class="article_kw"></div>
2866</div>
2867<!-- 公版結束 -->
2868<!-- shareBtn檔案內,複製連結btn  -->
2869<script>
2870    function copyCurrentUrl(e) {
2871        e.classList.toggle('active');
2872        const currentUrl = window.location.href;
2873        navigator.clipboard.writeText(currentUrl)
2874    }
2875
2876    function removeActive(e) {
2877        e.classList.remove('active');
2878    }
2879</script>
2879
2880
2881
2882<!-- loading... 轉圈圈 -->
2883<style> .waitAjax { text-align: center; display: none; } .waitAjax img { width: auto; margin: 15px 0; } .listEnd { display: none; text-align: center; margin: 15px auto; } </style>
2884<div class="waitAjax"><img src="https://cache.ltn.com.tw/images/loading.svg" alt="載入中" title="載入中"></div>
2885<script>
2886    // 綁定scroll事件
2887    $(window).on('scroll', loadNextPage);
2888    // 變數初始化
2889    let limitOffsets = [];
2890    limitOffsets[0] = 0;
2891    let countPage = 1;
2892    let scrollPage = 1;
2893    let checkOffset = -1;
2894    let ending = false;
2895    let article;
2896    let waitAjax = $('.waitAjax');
2897    let textsize;
2898    let outside940 = $('section.content940');
2899    // 以第0則當作樣板
2900    let template = outside940.find('.template').eq(0);
2901
2902    // dfp宣告
2903    let dfp = {"pc":{"BD1":{"slot":"\/21202031\/01-news-pol-P-BD1","size":"[[300,250], [300,600]]","div":"ad-BD1","class":"adHeight250","collapse":1},"BD2":{"slot":"\/21202031\/01-news-pol-P-BD2","size":"[[300,250], [300,600]]","div":"ad-BD2","class":"adHeight250","collapse":1},"BD3":{"slot":"\/21202031\/01-news-pol-P-BD3","size":"[[300,250], [300,600]]","div":"ad-BD3","class":"adHeight250","collapse":1},"C1":{"slot":"\/21202031\/01-news-sponsors-B1","size":"[300, 250]","div":"ad-C1","class":"adHeight250","collapse":1},"C2":{"slot":"\/21202031\/01-news-sponsors-B2","size":"[300, 250]","div":"ad-C2","class":"adHeight250","collapse":1},"K1":{"slot":"\/21202031\/01-news-pol-P-K1","size":"[[1, 1], [970, 90], [970, 160], [970, 250], [1260, 90], [1260, 160], [1260, 250]]","div":"ad-K1","class":"adHeight250","collapse":0},"K2":{"slot":"\/21202031\/01-news-pol-P-K2","size":"[[728, 90], [1, 1]]","div":"ad-K2","class":"adHeight90","collapse":1},"PB1":{"slot":"\/21202031\/01-news-pol-P-bottom","size":"[[970, 90],[970, 160],[1260, 160],[1, 1],[1260, 90]]","div":"ad-PB1","class":"adHeight90","collapse":1},"PCIR1":{"slot":"\/21202031\/01-news-pol-P-IR1","size":"[[650, 250], [650, 610], [640, 360], 'fluid', [1, 1]]","div":"ad-PCIR1","class":"adHeight250","collapse":1}},"m":{"B1":{"slot":"\/21202031\/02-mobile-pol-B1-ATF","size":"['fluid', [1, 1], [300, 250], [336, 280]]","div":"ad-B1","class":"adHeight280","collapse":0},"B2":{"slot":"\/21202031\/02-mobile-pol-B2","size":"['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]","div":"ad-B2","class":"adHeight280","collapse":1},"I1-bottom":{"slot":"\/21202031\/02-mobile-pol-sub-P-I1-bottom","size":"['fluid', [1, 1], [320, 50], [320, 100]]","div":"ad-I1-bottom","class":"door-bottom door-bottom-head","collapse":1},"IR1":{"slot":"\/21202031\/02-mobile-pol-sub-P-IR1","size":"['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]","div":"ad-IR1","class":"adHeight280","collapse":1},"IR1-2":{"slot":"\/21202031\/02-mobile-pol-sub-P-IR1","size":"['fluid', [1, 1], [300, 250], [320, 480], [336, 280]]","div":"ad-IR1-2","class":"adHeight280","collapse":1}}};
2904    dfp = dfp[checkDevice];
2905    var divTodayNewsWrap;
2906    var pTodayNews;
2907    var divTodayNews;
2908
2909    // 廣告
2910    let K2adOutside;
2911    let B2adOutside;
2912    let ATFadOutside
2913
2914    /**
2915     * main
2916     *
2917     */
2918    function loadNextPage() {
2919        let limitOffset = changeHref();
2920        if (limitOffset < 0) {
2921            return;
2922        }
2923        // 暫時移除scroll事件避免重複觸發
2924        $(window).off('scroll', loadNextPage);
2925        let page = parseInt(outside940.data('page')) + 1;
2926        $.ajax({
2927                url: 'https://news.ltn.com.tw/articleAjax/breakingnews/5592174/' + page + '?timestamp=' + Date.now(),
2928                beforeSend: function(xhr) {
2929                    waitAjax.show();
2930                }
2931            })
2932            .done(function(data) {
2933                if (data == "") {
2934                    ending = true;
2935                    waitAjax.hide();
2936                    // 重新綁定scroll事件
2937                    $(window).on('scroll', changeHref);
2938                    return;
2939                }
2940                if (typeof data == 'string') {
2941                    data = JSON.parse(data);
2942                }
2943                var responseData = data && data.data && typeof data.code !== 'undefined' ? data.data : data;
2944                var needComscore = responseData.comscore === 'pageview_candidate';
2945                if (!(Object.keys(responseData).length > 0)) {
2946                    ending = true;
2947                    // 重新綁定scroll事件
2948                    $(window).on('scroll', changeHref);
2949                    return;
2950                }
2951                data = responseData;
2952                //頁碼
2953                let page = parseInt(outside940.data('page'));
2954                // 複製樣板html
2955                article = template.clone();
2956                article.removeAttr('class');
2957                article.attr({
2958                    'class': 'whitecon article',
2959                    'data-page': page + 1,
2960                    'data-ano': data['A_No'],
2961                });
2962                //塞資料
2963                doDeviceAppend(data, page);
2964                // 更新目前頁碼
2965                $('section.content940').data('page', page + 1);
2966                // 重新綁定scroll事件
2967                $(window).on('scroll', loadNextPage);
2968                countPage++;
2969                // 配置新網址參數
2970                setNewUrlParams(data);
2971                limitOffsets[countPage] = limitOffset;
2972                // 重新呼叫點圖放大
2973                beforeClickImageLarge();
2974                clickImageLarge();
2975                // 打大數據前,更新 document url 跟 title
2976                changeHref();
2977                // 打大數據
2978                hitBigData(data);
2979                //Lazyload
2980                lazyImg = $('img.lazy_imgs_ltn');
2981                lazyload(lazyImg);
2982                //擴展
2983                callMoreFunction([]);
2984                //刷新廣告
2985                setTimeout(refreshAdPushup, 800);
2986                ga('send', 'pageview');
2987                if (needComscore) {
2988                    window.dataLayer = window.dataLayer || [];
2989                    window.dataLayer.push({
2990                        event: 'pageview_candidate'
2991                    });
2992                }
2993
2994            })
2995            .fail(function() {
2996                console.log("error");
2997            })
2998            // Ajax執行結束後,隱藏讀取中
2999            .always(function() {
3000                $('.waitAjax').hide();
3001            });
3002    }
3003
3004    /**
3005     * 模板字符串轉DOM元素
3006     *
3007     */
3008    function parse(html) {
3009        const placeholder = document.createElement("div");
3010        placeholder.innerHTML = html;
3011        return placeholder.firstElementChild; // 返回第一個子元素
3012    }
3013
3014    /**
3015     * 變更連結網址以支援觸發瀑布流文章產出
3016     *
3017     */
3018    function changeHref() {
3019        let totalHeight = $(document).height();
3020        let footerHeight = $('footer').height();
3021
3022        // 當右側內容比左側內容高的時候要剪掉高度差異來觸發第二頁
3023        let moreHeight = $('#right_blake').height() - $('section.content940').height();
3024        if (moreHeight > 0 && totalHeight - moreHeight) {
3025            totalHeight = totalHeight - moreHeight;
3026        }
3027
3028        let limitHeight = totalHeight - $(window).height();
3029
3030        let offset = window.scrollY;
3031
3032        let limitOffset = limitHeight - footerHeight;
3033
3034        if (window.innerWidth <= 760) {
3035            let header = $('header');
3036            if (header.length === 0) {
3037                header = $('.ltnheader');
3038            }
3039            let headerHeight = header.outerHeight();
3040            limitOffset = limitHeight - headerHeight - footerHeight;
3041        }
3042
3043        if (!ending) {
3044            limitOffsets[countPage] = limitOffset;
3045        }
3046
3047        // 更換網址
3048        if (offset > limitOffsets[scrollPage] && typeof (limitOffsets[scrollPage + 1]) != "undefined") {
3049            scrollPage++;
3050            let newUrl = setUrl(true);
3051            changeUrlTitle(newUrl, title[scrollPage]);
3052        } else if (offset < limitOffsets[scrollPage - 1] && offset > 0) {
3053            scrollPage--;
3054            if (scrollPage === 1) {
3055                let newUrl = setUrl(false);
3056                changeUrlTitle(newUrl, title[scrollPage]);
3057            } else {
3058                let newUrl = setUrl(true);
3059                changeUrlTitle(newUrl, title[scrollPage]);
3060            }
3061        }
3062
3063        if (offset < limitOffset) {
3064            return -1;
3065        } else {
3066            return limitOffset;
3067        }
3068    }
3069
3070    /**
3071     * 變更網址和文件標題。
3072     *
3073     * @param {string} $url - 網址。
3074     * @param {string} $title - 標題。
3075     */
3076    function changeUrlTitle($url, $title) {
3077        history.replaceState({
3078            page: 1
3079        }, '', $url);
3080        document.title = $title;
3081    }
3082
3083    /**
3084     * 塞DFP宣告
3085     *
3086     */
3087    function dfpDefineSlot($slot, size, div) {
3088        googletag.cmd.push(function () {
3089            googletag.defineSlot(
3090                $slot,
3091                eval(size),
3092                div
3093            ).addService(googletag.pubads()).setCollapseEmptyDiv(true, true);
3094            googletag.enableServices();
3095        });
3096    }
3097
3098    /**
3099     * 塞DFP
3100     *
3101     */
3102    function creatDfpElement(dfpUnitId, page) {
3103        let adOutside = document.createElement('div');
3104        adOutside.setAttribute('class', 'suggest');
3105
3106        let dfpBody = document.createElement('div');
3107        dfpBody.setAttribute('id', dfp[dfpUnitId]['div'] + '_' + (page + 1));
3108        dfpBody.setAttribute('class', 'suggest_' + checkDevice + ' ' + dfp[dfpUnitId]['class'] + " boxTitle");
3109        dfpBody.setAttribute('data-desc', "廣告" + dfp[dfpUnitId]['div'] + '_' + (page + 1));
3110        dfpBody.setAttribute('style', "text-align:center");
3111
3112        adOutside.append(dfpBody);
3113        return adOutside;
3114    }
3115
3116    /**
3117     * DFP設置
3118     *
3119     */
3120    function dfpSetting(dfpInfo, page) {
3121        dfpDefineSlot(dfpInfo['slot'], dfpInfo['size'], dfpInfo['div'] + '_' + (page + 1));
3122        displayDFP(dfpInfo['div'] + '_' + (page + 1), checkDevice);
3123    }
3124
3125    /**
3126     * 格式化內文
3127     *
3128     * @param {string} input - 要處理的輸入字符串。
3129     * @param {string} allowed - 允許保留的HTML標記(可選)。若未提供,則去除所有HTML標記。
3130     * @returns {string} - 去除HTML標記後的字符串。
3131     */
3132    function stripTags(input, allowed) {
3133        allowed = (((allowed || "") + "").toLowerCase().match(/<[a-z][a-z0-9]*>/g) || []).join(''); // making sure the allowed arg is a string containing only tags in lowercase (<a><b><c>)
3134        let tags = /<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,
3135            commentsAndPhpTags = /<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi;
3136        return input.replace(commentsAndPhpTags, '').replace(tags, function ($0, $1) {
3137            return allowed.indexOf('<' + $1.toLowerCase() + '>') > -1 ? $0 : '';
3138        });
3139    }
3140
3141    /**
3142     * 打大數據
3143     *
3144     */
3145    function hitBigData(data) {
3146        let domain = location.hostname; //channel.ltn.com.tw
3147        let type = ('politics');
3148        let a_group = data['A_Group'];
3149        let a_no =  data['A_No'];
3150        getScrNews(domain, type, a_group, a_no);
3151    }
3152
3153    /**
3154     * 將廣告插入文章中指定位置
3155     *
3156     * @param {string} article - 原始文章內容
3157     * @param {string}
3157 $ad - 要插入的廣告內容
3158     * @param {number} $position - 要插入廣告的位置(默認第二段落)
3159     * @returns {string} - 插入廣告後的文章內容。
3160     */
3161    function insertADtoArticle(article, $ad, $position = 2) {
3162
3163        // 依照</p>切分文章
3164        let paragraphs = article.split('</p>');
3165        // 記錄段落是否在表格當中
3166        let in_table = false;
3167        // 取得所有段落數
3168        let paragraphs_count = paragraphs.length;
3169        // 計算可塞入廣告的位置數
3170        let fit_count = 0;
3171
3172        paragraphs.forEach((news, i) => {
3173
3174            if (news.indexOf('</table') >= 0) {
3175                in_table = false;
3176            }
3177            if (news.indexOf('<table') >= 0) {
3178                in_table = true;
3179            }
3180            // 如果在表格當中則跳過此段落
3181            if (in_table) {
3182                return;
3183            }
3184            // 如果包含以下標籤則跳過此段落
3185            if (news.indexOf('<img') >= 0) {
3186                return;
3187            }
3188            if (news.indexOf('<amp-img') >= 0) {
3189                return;
3190            } // AMP image
3191            if (news.indexOf('<blockquote') >= 0) {
3192                return;
3193            }
3194            if (news.indexOf('<iframe') >= 0) {
3195                return;
3196            }
3197            if (news.indexOf('<embed') >= 0) {
3198                return;
3199            }
3200            if (news.indexOf('<&darr;') >= 0) {
3201                return;
3202            }
3203
3204            // 檢查段落長度,如果段落內文不夠長則跳過(計算中文20個字)
3205            let $pStrips = stripTags(news);
3206            $pStrips = $pStrips.trim();
3207            if ($pStrips.length < 20) {
3208                return;
3209            }
3210
3211            // 如果是最後一個段落則不插入廣告(為了避免與IR2相連)
3212            if ((i + 1) >= (paragraphs_count - 1)) {
3213                return;
3214            }
3215
3216            // 如果不在指定的段落則不插入廣告
3217            fit_count++; // 適合的位置數+1
3218            if (fit_count !== $position) {
3219                return;
3220            }
3221
3222            // 在適合的段落後方插入廣告
3223            // 廣告前加入「請繼續往下閱讀...」
3224            news += '</p>';
3225            news += '<p class="before_ir" style="text-align: center;">請繼續往下閱讀...</p>';
3226            // 插入廣告
3227            news += $ad;
3228            // 廣告後墊檔區塊
3229            news += '<p class="after_ir">';
3230            paragraphs[i] = news;
3231        });
3232        // 回傳完整的html
3233        article = paragraphs.join('</p>');
3234        return article;
3235    }
3236
3237    /**
3238     * 塞社群
3239     *
3240     * @param {string} sharefb - fb分享
3241     * @param {string} sharetwitter - twitter分享
3242     * @param {string} shareline - line分享
3243     */
3244    function registeredSocialShare(sharefb, sharetwitter, shareline) {
3245        article.find('.sharefb').click(function() {
3246            window.open(sharefb + '', 'FB-share', 'height=500, width=500');
3247        });
3248        article.find('.sharetwitter').click(function() {
3249            window.open(sharetwitter + '', 'sharetwitter', 'height=600, width=600');
3250            return false;
3251        });
3252        article.find('.shareline').click(function() {
3253            window.open(shareline + '', 'Line-share', 'height=500, width=500');
3254        });
3255    }
3256
3257    /**
3258     * 塞關鍵字
3259     *
3260     */
3261    function appendKeywordsToArticle(keywords) {
3262        let ulKeyword = document.createElement('ul');
3263        ulKeyword.setAttribute('class', "keyword boxTitle boxText");
3264        ulKeyword.setAttribute('data-desc', "關鍵字");
3265        let pKeyword = document.createElement('p');
3266        pKeyword.setAttribute('class', "keyword_tit");
3267        let pText = document.createTextNode('關鍵字');
3268        pKeyword.append(pText);
3269
3270        for (let news of keywords) {
3271            let li = document.createElement('li');
3272            let aTag = document.createElement('a');
3273            aTag.setAttribute('href', "https://news.ltn.com.tw/" + 'keywords/' + news['G_Name']);
3274            let softPushNotificationText = document.createTextNode(news['G_Name']);
3275            aTag.append(softPushNotificationText);
3276            li.append(aTag);
3277            ulKeyword.append(li);
3278        }
3279
3280        article.append(pKeyword);
3281        article.append(ulKeyword);
3282    }
3283
3284    /**
3285     * 擴展,當loadNextPage無法供應需求,專案內執行傳入customFunctions參數,ex: 'customFunctions' => array('funName1','funName2'...)
3286     *
3287     */
3288    function callMoreFunction(customFunctions) {
3289        if(!customFunctions){
3290            return;
3291        }
3292        customFunctions.forEach(function(funcName) {
3293            if (typeof window[funcName] === 'function') {
3294                window[funcName](); //調用函式
3295            }
3296        });
3297    }
3298
3299    function refreshAdPushup(){
3300        window.adpushup = window.adpushup || {};
3301                window.adpushup.que = window.adpushup.que || [];
3302                window.adpushup.que.push(function() {
3303                    window.adpushup.registerApSlots();
3304                });
3305    }
3306
3307</script>
3307
3308
3309<script>
3310    // 文章專用的變數初始化
3311    groups = [];
3312    let nos = [];
3313    let title = [];
3314    let urlCategory = [];
3315
3316    groups[1] = 'breakingnews';
3317    nos[1] = 5592174;
3318    title[1] = '沈伯洋突襲宣布今晚有實體活動第4彈! 網不捨:生病還不去休息';
3319    urlCategory[1] = 'politics';
3320
3321    /**
3322     * 設置 URL
3323     */
3324    function setUrl(needUtm) {
3325        if (needUtm) {
3326            return "https://news.ltn.com.tw/" + "news/" + urlCategory[scrollPage] + '/' + groups[scrollPage] + '/' + nos[scrollPage] + '?utm_source=NEWS&utm_medium=' + (scrollPage - 1) + '&utm_campaign=MOREPAGE';
3327        } else {
3328            return "https://news.ltn.com.tw/" + "news/" + urlCategory[scrollPage] + '/' + groups[scrollPage] + '/' + nos[scrollPage];
3329        }
3330    }
3331
3332    /**
3333     * 設置新網址參數
3334     */
3335    function setNewUrlParams(data) {
3336        groups[countPage] = data['A_Group'];
3337        nos[countPage] = data['A_No'];
3338        title[countPage] = data['A_Title'];
3339        urlCategory[countPage] = data['crumbs'];
3340    }
3341
3342    /**
3343     * 覆寫打大數據函數(因為 ltnews3 需要特殊處理)
3344     */
3345    function hitBigData(data) {
3346        let domain = location.hostname;
3347        let type = data['crumbs'];
3348        let a_group = data['A_Group'];
3349        let a_no = data['A_No'];
3350        getScrNews(domain, type, a_group, a_no);
3351    }
3352
3353    /**
3354     * 根據設備附加文章內容
3355     */
3356    function doDeviceAppend(data, page) {
3357        // 處理麵包屑
3358        let breadcrumbs = setBreadcrumbs(data);
3359
3360        switch (checkDevice) {
3361            case 'pc':
3362                PcIR1adOutside = creatDfpElement('PCIR1', page);
3363                data['tplView'] = JSON.parse(data['tplView']);
3364                data['tplView'] = insertADtoArticle(data['tplView'], PcIR1adOutside.innerHTML, 2);
3365
3366                appendArticleContent(data);
3367
3368                // 按頁面順序塞入列表並顯示
3369                waitAjax.before(breadcrumbs);
3370                waitAjax.before(article);
3371                article.fadeIn(1000);
3372
3373                // 相關新聞
3374                fetchRelatedApi(data);
3375
3376                // 廣告塞K2
3377                K2adOutside = creatDfpElement('K2', page);
3378                K2adOutside.classList.add('suggestBottom');
3379                waitAjax.before(K2adOutside);
3380
3381                // 熱門新聞
3382                fetchHotBottom(data);
3383
3384                setTimeout(() => {
3385                    C1C2Ad = createAdGroupElements(page, ['C1', 'C2']);
3386                    waitAjax.before(C1C2Ad);
3387                    ['C1', 'C2', 'K2', 'PCIR1'].forEach(adUnitId => {
3388                        dfpSetting(dfp[adUnitId], page);
3389                    });
3390                }, 500);
3391                break;
3392
3393            case 'm':
3394                B1adOutside = creatDfpElement('B1', page);
3395                B2adOutside = creatDfpElement('B2', page);
3396                IR1adOutside = creatDfpElement('IR1', page);
3397
3398                data['tplView'] = JSON.parse(data['tplView']);
3399                data['tplView'] = insertADtoArticle(data['tplView'], IR1adOutside.innerHTML, 2);
3400
3401                waitAjax.before(B1adOutside);
3402                appendArticleContent(data);
3403                waitAjax.before(breadcrumbs);
3404                waitAjax.before(article);
3405                article.fadeIn(1000);
3406
3407                // 相關新聞
3408                fetchRelatedApi(data);
3409
3410                waitAjax.before(B2adOutside);
3411                dfpSetting(dfp['B1'], page);
3412                dfpSetting(dfp['IR1'], page);
3413                dfpSetting(dfp['B2'], page);
3414
3415                // 熱門新聞
3416                fetchHotBottom(data);
3417                break;
3418        }
3419
3420        applyTextSize();
3421    }
3422
3423    /**
3424     * 創建廣告群組元素
3425     */
3426    function createAdGroupElements(page, adUnitIds) {
3427        let adBgDiv = document.createElement('div');
3428        adBgDiv.className = 'ad_bg';
3429
3430        adUnitIds.forEach(dfpUnitId => {
3431            let adElement = creatDfpElement(dfpUnitId, page);
3432            adBgDiv.appendChild(adElement.children[0].cloneNode(true));
3433        });
3434
3435        let suggestDiv = document.createElement('div');
3436        suggestDiv.className = 'suggest';
3437        suggestDiv.appendChild(adBgDiv);
3438
3439        return suggestDiv;
3440    }
3441
3442    /**
3443     * 設置麵包屑
3444     */
3445    function setBreadcrumbs(data) {
3446        const breadcrumbsDiv = document.createElement('div');
3447        breadcrumbsDiv.classList.add('breadcrumbs', 'boxTitle', 'boxText');
3448        breadcrumbsDiv.setAttribute('data-desc', '麵包屑');
3449
3450        const homeLink = document.createElement('a');
3451        homeLink.href = `https://${'www.ltn.com.tw'}`;
3452        homeLink.textContent = '首頁';
3453        breadcrumbsDiv.appendChild(homeLink);
3454
3455        const separatorTextNode = document.createTextNode(' > ');
3456        breadcrumbsDiv.appendChild(separatorTextNode);
3457
3458        const pageLink = document.createElement('a');
3459        pageLink.href = `${'https://news.ltn.com.tw/'}list/breakingnews/${data['crumbs']}`;
3460        pageLink.textContent = data['crumbs_cn'];
3461        pageLink.classList.add('breadcrumbSort', 'boxText');
3462        breadcrumbsDiv.appendChild(pageLink);
3463
3464        return breadcrumbsDiv;
3465    }
3466
3467    /**
3468     * 填充文章內容
3469     */
3470    function appendArticleContent(data) {
3471        article.find('h1').text(data['A_Title']);
3472        article.find('.text').html(data['tplView']);
3473        article.find('.article_time').text(data['A_ViewTime']);
3474        article.find('.article_edit').text(data['A_Editor']);
3475
3476        // 塞社群
3477        registeredSocialShare(data['share_fb'], data['share_x'], data['share_line']);
3478    }
3479
3480    /**
3481     * 塞社群分享
3482     */
3483    function registeredSocialShare(sharefb, sharex, shareline) {
3484        article.find('.share_fb').click(function() {
3485            window.open(sharefb + '', 'FB-share', 'height=500, width=500');
3486        });
3487        article.find('.share_x').click(function() {
3488            window.open(sharex + '', 'X-share', 'height=500, width=500');
3489            return false;
3490        });
3491        article.find('.share_threads').click(function() {
3492            window.open(data['share_threads'] + '', 'Threads-share', 'height=500, width=500');
3493            return false;
3494        });
3495        article.find('.share_line').click(function() {
3496            window.open(shareline + '', 'Line-share', 'height=500, width=500');
3497        });
3498    }
3499
3500    /**
3501     * 相關新聞fetch data
3502     */
3503    function fetchRelatedApi(data) {
3504        let catagory = data.crumbs.toUpperCase();
3505        fetchRelatedNews(data.A_No, data.A_Group, 6, catagory)
3506            .then(function(news) {
3507                if (news.length > 0) {
3508                    news = insertAdToFetchRelatedNews(news, data['moreNews']);
3509                    createMoreNewsAPI(news);
3510                } else if (data['moreNews'].length > 0) {
3511                    createMoreNewsElements(data['moreNews'], catagory);
3512                }
3513            })
3514            .finally(function() {
3515                $('img', '.resize_imgs_ltn').each(function() {
3516                    resize_imgs($(this));
3517                }).on('load', function() {
3518                    resize_imgs($(this));
3519                });
3520                lazyImg = $('img.lazy_imgs_ltn');
3521                lazyload(lazyImg);
3522            });
3523    }
3524
3525    /**
3526     * 相關新聞fetch dom
3527     */
3528    function createMoreNewsAPI(data) {
3529        var relativeHtml = '';
3530        relativeHtml += '<div class="content_title">相關新聞</div>';
3531        relativeHtml += '<div class="related content_list boxTitle" data-desc="相關新聞">';
3532
3533        $.each(data, function(index, news) {
3534            if (news.buy) {
3535                relativeHtml += '<a title="' + news.title + '" class="L1ad" href="https://' + "pv6.ltn.com.tw/click" + '?ano=' + news.no + '">';
3536                relativeHtml += '<div class="resize_imgs_ltn ph listS_h">';
3537                relativeHtml += '<img class="lazy_imgs_ltn" src="' + news.dom + '" data-src="' + (news.dom ? news.dom : 'assets/images/all/default.jpg') + '" title="' + news.title + '" alt="impression">';
3538                relativeHtml += '</div>';
3539                relativeHtml += '<div class="tit"><h3>' + truncateTitle(news.title) + '</h3></div>';
3540                relativeHtml += '</a>';
3541                relativeHtml += '<img style="display:none" src="https://' + "pv6.ltn.com.tw/impression" + '?ano=' + news.no + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">';
3542            } else {
3543                relativeHtml += '<a title="' + news.LTRT_Title + '" href="' + news.LTRT_Url + '" data-desc="T: ' + index + ': ' + news.LTRT_Title + '">';
3544                relativeHtml += '<div class="resize_imgs_ltn ph listS_h">';
3545                relativeHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg" onload="listS_w($(this))" data-src="' + news.LTRT_SmallPhotoPath + '" title="' + news.LTRT_Title + '" alt="' + news.LTRT_Title + '">';
3546                relativeHtml += '</div>';
3547                relativeHtml += '<div class="tit">';
3548                relativeHtml += '<h3>' + truncateTitle(news.LTRT_Title) + '</h3>';
3549                if (news.LTRT_ViewTime) {
3550                    relativeHtml += '<span>' + formatTime(news.LTRT_ViewTime) + '</span>';
3551                }
3552                relativeHtml += '</div>';
3553                relativeHtml += '</a>';
3554            }
3555        });
3556
3557        relativeHtml += '</div>';
3558
3559        $('div.related.boxTitle').find('a.L1ad').each(function() {
3560            var adHref = $(this).attr('href');
3561            $(this).attr('href', adHref + '&device=' + adDevice + '&source=' + document.URL);
3562        });
3563        article.after(relativeHtml);
3564    }
3565
3566    /**
3567     * 相關新聞原始Dom
3568     */
3569    function createMoreNewsElements(data, catagory) {
3570        var relativeHtml = '';
3571        relativeHtml += '<div class="content_title">相關新聞</div>';
3572        relativeHtml += '<div class="related content_list boxTitle" data-desc="相關新聞">';
3573
3574        $.each(data, function(index, news) {
3575            if (news.buy) {
3576                relativeHtml += '<a title="' + news.title + '" class="L1ad" href="https://' + "pv6.ltn.com.tw/click" + '?ano=' + news.no + '">';
3577                relativeHtml += '<div class="resize_imgs_ltn ph listS_h">';
3578                relativeHtml += '<img class="lazy_imgs_ltn" src="' + news.dom + '" data-src="' + (news.dom ? news.dom : 'assets/images/all/default.jpg') + '" title="' + news.title + '" alt="impression">';
3579                relativeHtml += '</div>';
3580                relativeHtml += '<div class="tit"><h3>' + truncateTitle(news.title) + '</h3></div>';
3581                relativeHtml += '</a>';
3582                relativeHtml += '<img style="display:none" src="https://' + "pv6.ltn.com.tw/impression" + '?ano=' + news.no + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">';
3583            } else {
3584                relativeHtml += '<a title="' + news.title + '" href="' + news.url + '?utm_source=' + catagory + '&utm_medium=relatedNews&utm_campaign=ltn_customize" data-desc="T: ' + index + ': ' + news.title + '">';
3585                relativeHtml += '<div class="resize_imgs_ltn ph listS_h">';
3586                relativeHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg" onload="listS_w($(this))" data-src="' + news.photo + '" title="' + news.title + '" alt="' + news.title + '">';
3587                relativeHtml += '</div>';
3588                relativeHtml += '<div class="tit">';
3589                relativeHtml += '<h3>' + truncateTitle(news.title) + '</h3>';
3590                if (news.viewTime) {
3591                    relativeHtml += '<span>' + formatTime(news.viewTime) + '</span>';
3592                }
3593                relativeHtml += '</div>';
3594                relativeHtml += '</a>';
3595            }
3596        });
3597
3598        relativeHtml += '</div>';
3599
3600        article.after(relativeHtml);
3601        $('div.related.boxTitle').find('a.L1ad').each(function() {
3602            var adHref = $(this).attr('href');
3603            $(this).attr('href', adHref + '&device=' + adDevice + '&source=' + document.URL);
3604        });
3605    }
3606
3607    /**
3608     * 熱門新聞api data
3609     */
3610    function fetchHotBottom(data) {
3611        fetchHotNews([data.crumbs, data.crumbs_cn], 4, "hotNewsBottom")
3612            .then(hotnewsItem => {
3613                if (hotnewsItem.length > 0) {
3614                    createAPIHotNews(hotnewsItem, data['crumbs_cn']);
3615                }
3616            })
3617            .finally(function() {
3618                lazyImg = $('img.lazy_imgs_ltn');
3619                lazyload(lazyImg);
3620            });
3621    }
3622
3623    /**
3624     * 熱門新聞api data處理
3625     */
3626    function createAPIHotNews(mostviewAll, breadcrumbsCn) {
3627        let todayHotNewsDivWrap = $('<div>', {
3628            class: 'content_title',
3629            text: breadcrumbsCn + '今日熱門',
3630        });
3631        waitAjax.before(todayHotNewsDivWrap);
3632
3633        let todayHotNewsDiv = $('<div>', {
3634            class: 'todaynews content_list boxTitle',
3635            'data-desc': "今日熱門:" + breadcrumbsCn
3636        });
3637
3638        var todayHotNewsHtml = '';
3639        $.each(mostviewAll, function(index, news) {
3640            todayHotNewsHtml += '<a href="' + news.LTRT_Url + '" title="' + news.LTRT_Title + '" data-desc="P:' + index + ':' + news.LTRT_Title + '">';
3641            todayHotNewsHtml += '<div class="resize_imgs_ltn ph listS_h">';
3642            todayHotNewsHtml += '<img class="lazy_imgs_ltn" src="assets/images/all/default.jpg" data-src="' + news.LTRT_SmallPhotoPath + '" alt="' + news.LTRT_Title + '" title="' + news.LTRT_Title + '" data-desc="P:' + index + ':' + news.LTRT_Title + '">';
3643            todayHotNewsHtml += '</div>';
3644            todayHotNewsHtml += '<div class="tit">';
3645            todayHotNewsHtml += '<h3>' + truncateTitle(news.LTRT_Title);
3646            news.LTRT_VideoFlag ? todayHotNewsHtml += '<span class="isVideo"><img src="assets/images/video.svg" alt="影片"></span>' : "";
3647            todayHotNewsHtml += '</h3>';
3648            todayHotNewsHtml += '<span class="timeLine">' + formatTime(news.LTRT_ViewTime) + '</span>';
3649            todayHotNewsHtml += '</div>';
3650            todayHotNewsHtml += '</a>';
3651        });
3652
3653        todayHotNewsDiv.html(todayHotNewsHtml);
3654        waitAjax.before(todayHotNewsDiv);
3655    }
3656
3657    /**
3658     * 點圖放大
3659     */
3660    function clickImageLarge() {
3661        $('.image-popup-vertical-fit').magnificPopup({
3662            type: 'image',
3663            closeOnContentClick: true,
3664            mainClass: 'mfp-img-mobile',
3665            image: {
3666                verticalFit: true
3667            }
3668        });
3669    }
3670
3671    /**
3672     * 添加點圖放大className
3673     */
3674    function beforeClickImageLarge() {
3675        let articleImages = document.getElementsByClassName('imagePopup');
3676        for (let $i = 0; $i < articleImages.length; $i++) {
3677            let imageParent = articleImages[$i].parentNode;
3678            let imageParentSibling = imageParent.nextSibling;
3679            if (!imageParentSibling) {
3680                continue;
3681            }
3682            let imgtext = imageParentSibling.textContent;
3683            let imageOutside = document.createElement('a');
3684            imageOutside.setAttribute('class', 'image-popup-vertical-fit');
3685            imageOutside.setAttribute('title', imgtext);
3686            imageOutside.setAttribute('href', articleImages[$i].dataset.src);
3687            imageOutside.append(articleImages[$i]);
3688            imageParent.append(imageOutside);
3689        }
3690    }
3691
3692    /**
3693     * 應用文字大小設定
3694     */
3695    function applyTextSize() {
3696        var textsize = window.localStorage["textsize"] || getCookie('textsize');
3697        var isLarge = textsize === 'large';
3698        $("h2").toggleClass("fs_h1", isLarge);
3699        $(".text h3, .text h4, .text h5, .text h6").toggleClass("subtit", isLarge);
3700        $(".text p").toggleClass("fs_p", isLarge);
3701        $(".text .time").toggleClass("fs_time", isLarge);
3702        $(".text .photoB a div").toggleClass("fs_s", isLarge);
3703    }
3704</script>
3704
3705
3706<style>
3707    .waitAjax {
3708        text-align: center;
3709        display: none;
3710    }
3711
3712    .waitAjax img {
3713        width: auto;
3714        margin: 15px 0;
3715    }
3716
3717    .listEnd {
3718        display: none;
3719        text-align: center;
3720        margin: 15px auto;
3721    }
3722</style>
3723            </section>
3724                                <aside>
3725    <div id="right_blake">
3726
3727        <div class="suggest">
3728            <div>
3729                    <!-- /21202031/01-news-pol-P-BD1 -->
3730    <div id="ad-BD1"
3731        class="boxTitle adHeight250 suggest_pc"
3732        data-desc="廣告ad-BD1"
3733        style="text-align: center;">
3734            
3734<script>displayDFP('ad-BD1', 'pc');</script>
3734
3735    </div>
3736            </div>
3737        </div>
3738
3739        <!-- 熱門新聞 開始 -->
3740        <div class="hotnews bg boxTitle boxText" data-desc="熱門新聞">
3741    <div class="caption_right"><b>熱門新聞</b></div>
3742</div>
3743<script>
3744    let hotNewsSource = category.toUpperCase();
3745    document.addEventListener('DOMContentLoaded', () => {
3746        fetchHotNews(['all'], 5, "hotnews_right")
3747            .then(data => {
3748                (data.length > 0) ? renderHotNewsRight(data): removeHotnewsDOM("hotnews.bg.boxTitle.boxText");
3749            })
3750    })
3751
3752    function renderHotNewsRight(data) {
3753        const hotNewsHtml = document.querySelector('.hotnews.bg.boxTitle.boxText');
3754        hotNewsHtml.insertAdjacentHTML('beforeend',
3755            data.map((item, index) => `
3756            <a title="${item.LTRT_Title}"
3757                href="${item.LTRT_Url}"
3758                data-desc="T:${index}:${item.LTRT_Title}">
3759                ${item.LTRT_Title}
3760            </a>
3761            `).join('')
3762        );
3763    }
3764</script>
3764        <!-- 熱門新聞 結束 -->
3765
3766        <!-- 內廣 -->
3767        <div class="NC1 boxTitle" data-desc="內廣">
3768            <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026072273975787" target="_blank">
3769            <img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/suggest/138/1784694094.jpg" src="assets/images/spacer.gif" alt="圖"/>
3770        </a>
3771    </div>
3772
3773<script>
3774T = $(".NC1");
3775if (T.length > 0){
3776	$.each(T,function(){
3777		ADRand = ADRandCeil(1, $("a", this).length) - 1;
3778		$("a:eq(" + ADRand + ")", this).show();
3779		var adno = $("a:eq(" + ADRand + ")", this).attr("href");
3780		var adnoArray = new Array();
3781		adnoArray = adno.split("=");
3782		var adpv = $('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + adnoArray[1] + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3783		adpv.appendTo(this);
3784		$("a",this).each(function(){
3785			$(this).attr('href', $(this).attr('href') + '&device=' + adDevice + '&source=' + document.URL);
3786		});
3787	});
3788}
3789function ADRandCeil(min,max) {
3790	return Math.ceil(Math.random()*(max-min+1)+min-1);
3791}
3792</script>
3792
3793
3794        <!-- 熱門新訊 開始 -->
3795        
3796<div class="market300 boxTitle boxText" data-desc="熱門新訊">
3797	<a class="caption_right" href="https://market.ltn.com.tw/" data-desc="區塊標題">
3798		<b>熱門新訊</b><span class="triangle"></span>
3799	</a>
3800    <ul>
3801                        <li class="adMarket"><a href="https://pv6.ltn.com.tw/click?ano=2026100115877378"
3802                    target="_blank" data-desc="T:0:全國電子週年慶10/1開跑 指定大家電7折起、全館家電9折">全國電子週年慶10/1開跑 指定大家電7折起、全館家電9折</a></li>
3803                
3803<script>
3804                    document.write('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=2026100115877378' + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3805                </script>
3805
3806                                    <li class="adMarket"><a href="https://pv6.ltn.com.tw/click?ano=2026092907546314"
3807                    target="_blank" data-desc="T:1:捷運紅藍線高攀不起?萬大線廈安站「玖原馥悦」接收蛋黃外溢紅利">捷運紅藍線高攀不起?萬大線廈安站「玖原馥悦」接收蛋黃外溢紅利</a></li>
3808                
3808<script>
3809                    document.write('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=2026092907546314' + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3810                </script>
3810
3811                                    <li class="adMarket"><a href="https://pv6.ltn.com.tw/click?ano=2026093004073951"
3812                    target="_blank" data-desc="T:2:信義房屋連續20年獲天下永續公民獎 房仲業唯一得獎者">信義房屋連續20年獲天下永續公民獎 房仲業唯一得獎者</a></li>
3813                
3813<script>
3814                    document.write('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=2026093004073951' + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3815                </script>
3815
3816                                    <li class="adMarket"><a href="https://pv6.ltn.com.tw/click?ano=2026093023899993"
3817                    target="_blank" data-desc="T:3:「2026嘉義市光織影舞」首週吸引54萬人次  第二週強檔卡司接力登場">「2026嘉義市光織影舞」首週吸引54萬人次  第二週強檔卡司接力登場</a></li>
3818                
3818<script>
3819                    document.write('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=2026093023899993' + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3820                </script>
3820
3821                        </ul>
3822</div>
3823<script>
3824    $(function(){
3825        $('div.market300').find('li.adMarket').find('a').each(function(){
3826            var adHref = $(this).attr('href');
3827            $(this).attr('href', adHref + '&device=' + adDevice + '&source=' + document.URL);
3828        });
3829    });
3830</script>
3830
3831        <!-- 熱門新訊 結束 -->
3832
3833        <!-- 內廣 -->
3834        
3835
3836<script>
3837    T = $(".C2");
3838    if (T.length > 0){
3839        $.each(T,function(){
3840            ADRand = ADRandCeil(1, $("a", this).length) - 1;
3841            $("a:eq(" + ADRand + ")", this).show();
3842            var adno = $("a:eq(" + ADRand + ")", this).attr("href");
3843            var adnoArray = new Array();
3844            adnoArray = adno.split("=");
3845            var adpv = $('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + adnoArray[1] + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3846            adpv.appendTo(this);
3847            $("a",this).each(function(){
3848                $(this).attr('href', $(this).attr('href') + '&device=' + adDevice + '&source=' + document.URL);
3849            });
3850        });
3851    }
3852    function ADRandCeil(min,max) {
3853        return Math.ceil(Math.random()*(max-min+1)+min-1);
3854    }
3855</script>
3855
3856
3857        <div class="suggest">
3858            <div>
3859                    <!-- /21202031/01-news-pol-P-BD2 -->
3860    <div id="ad-BD2"
3861        class="boxTitle adHeight250 suggest_pc"
3862        data-desc="廣告ad-BD2"
3863        style="text-align: center;">
3864            
3864<script>displayDFP('ad-BD2', 'pc');</script>
3864
3865    </div>
3866            </div>
3867        </div>
3868
3869        <!-- FB -->
3870        <div class="fb-like-box fb_iframe_widget" data-colorscheme="light" data-header="false" data-height="130" data-href="https://www.facebook.com/m.ltn.tw" data-show-border="true" data-show-faces="true" data-stream="false">
3871            <span>
3872                <iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fm.ltn.tw%2F%3Fref%3Dnf%26hc_ref%3DARSiPaQzkVarHbX7Thpz2dQmolAa4LhisCK0ilHMm7OC8hoyUO3-sBHzWQYuEnRnG4I%26__tn__%3D%253C-R&tabs=tabs&width=300&height=130&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="300" height="130" style="border:none;overflow:hidden;display:block;" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>
3873            </span>
3874        </div>
3875
3876            <div class="NC3 boxTitle" data-desc="內廣">
3877                    <a style="display: none;" href="https://pv6.ltn.com.tw/click?ano=2026092239426081" target="_blank">
3878                <img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/suggest/140/140167134.jpg" src="assets/images/spacer.gif" alt="圖"/>
3879            </a>
3880            </div>
3881
3882    
3882<script>
3883        T = $(".NC3");
3884        if (T.length>0){
3885            $.each(T,function(){
3886            ADRand = ADRandCeil(1,$("a",this).length)-1;
3887            $("a:eq("+ADRand+")",this).show();
3888            var adno = $("a:eq("+ADRand+")",this).attr("href");
3889            var adnoArray = new Array();
3890            adnoArray = adno.split("=");
3891            var adpv = $('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + adnoArray[1] + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
3892            adpv.appendTo(this);
3893            $("a",this).each(function(){
3894                var url = document.URL.substring(0,(document.URL.indexOf("?")>0) ?document.URL.indexOf("?") : 200);
3895                $(this).attr('href',$(this).attr('href')+'&device='+adDevice+'&source='+url);
3896            });
3897            });
3898        }
3899        function ADRandCeil(min,max) {
3900            return Math.ceil(Math.random()*(max-min+1)+min-1);
3901        }
3902    </script>
3902
3903<!--yes123內廣(3) -->
3904
3905        <!-- 熱門關鍵字 開始-->
3906        <div class="hot_tag boxTitle" data-desc="熱門關鍵字">
3907    <p>大家都關注</p>
3908    <div class="boxTitle hottag" data-desc="熱門關鍵字">
3909        <ul>
3910                            <li>
3911                    <a
3912                        href="https://news.ltn.com.tw/topic/中職"
3913                        title="中職"
3914                        data-desc="中職">
3915                        中職                    </a>
3916                </li>
3917                            <li>
3918                    <a
3919                        href="https://news.ltn.com.tw/topic/民進黨"
3920                        title="民進黨"
3921                        data-desc="民進黨">
3922                        民進黨                    </a>
3923                </li>
3924                            <li>
3925                    <a
3926                        href="https://news.ltn.com.tw/topic/養老"
3927                        title="養老"
3928                        data-desc="養老">
3929                        養老                    </a>
3930                </li>
3931                            <li>
3932                    <a
3933                        href="https://news.ltn.com.tw/topic/MLB季後賽"
3934                        title="MLB季後賽"
3935                        data-desc="MLB季後賽">
3936                        MLB季後賽                    </a>
3937                </li>
3938                            <li>
3939                    <a
3940                        href="https://news.ltn.com.tw/topic/賴總統點將"
3941                        title="賴總統點將"
3942                        data-desc="賴總統點將">
3943                        賴總統點將                    </a>
3944                </li>
3945                            <li>
3946                    <a
3947                        href="https://news.ltn.com.tw/topic/原聖華中將"
3948                        title="原聖華中將"
3949                        data-desc="原聖華中將">
3950                        原聖華中將                    </a>
3951                </li>
3952                            <li>
3953                    <a
3954                        href="https://news.ltn.com.tw/topic/灰色地帶襲擾"
3955                        title="灰色地帶襲擾"
3956                        data-desc="灰色地帶襲擾">
3957                        灰色地帶襲擾                    </a>
3958                </li>
3959                            <li>
3960                    <a
3961                        href="https://news.ltn.com.tw/topic/亞運"
3962                        title="亞運"
3963                        data-desc="亞運">
3964                        亞運                    </a>
3965                </li>
3966                            <li>
3967                    <a
3968                        href="https://news.ltn.com.tw/topic/習近平"
3969                        title="習近平"
3970                        data-desc="習近平">
3971                        習近平                    </a>
3972                </li>
3973                            <li>
3974                    <a
3975                        href="https://news.ltn.com.tw/topic/李四川"
3976                        title="李四川"
3977                        data-desc="李四川">
3978                        李四川                    </a>
3979                </li>
3980                            <li>
3981                    <a
3982                        href="https://news.ltn.com.tw/topic/台獨"
3983                        title="台獨"
3984                        data-desc="台獨">
3985                        台獨                    </a>
3986                </li>
3987                            <li>
3988                    <a
3989                        href="https://news.ltn.com.tw/topic/兩岸關係"
3990                        title="兩岸關係"
3991                        data-desc="兩岸關係">
3992                        兩岸關係                    </a>
3993                </li>
3994                            <li>
3995                    <a
3996                        href="https://news.ltn.com.tw/topic/中共建政77年談話"
3997                        title="中共建政77年談話"
3998                        data-desc="中共建政77年談話">
3999                        中共建政77年談話                    </a>
4000                </li>
4001                            <li>
4002                    <a
4003                        href="https://news.ltn.com.tw/topic/中國國慶日"
4004                        title="中國國慶日"
4005                        data-desc="中國國慶日">
4006                        中國國慶日                    </a>
4007                </li>
4008                            <li>
4009                    <a
4010                        href="https://news.ltn.com.tw/topic/行政院"
4011                        title="行政院"
4012                        data-desc="行政院">
4013                        行政院                    </a>
4014                </li>
4015                            <li>
4016                    <a
4017                        href="https://news.ltn.com.tw/topic/日職"
4018                        title="日職"
4019                        data-desc="日職">
4020                        日職                    </a>
4021                </li>
4022                            <li>
4023                    <a
4024                        href="https://news.ltn.com.tw/topic/台灣隊"
4025                        title="台灣隊"
4026                        data-desc="台灣隊">
4027                        台灣隊                    </a>
4028                </li>
4029                            <li>
4030                    <a
4031                        href="https://news.ltn.com.tw/topic/流感疫苗"
4032                        title="流感疫苗"
4033                        data-desc="流感疫苗">
4034                        流感疫苗                    </a>
4035                </li>
4036                            <li>
4037                    <a
4038                        href="https://news.ltn.com.tw/topic/國民黨"
4039                        title="國民黨"
4040                        data-desc="國民黨">
4041                        國民黨                    </a>
4042                </li>
4043                            <li>
4044                    <a
4045                        href="https://news.ltn.com.tw/topic/杜拜航空"
4046                        title="杜拜航空"
4047                        data-desc="杜拜航空">
4048                        杜拜航空                    </a>
4049                </li>
4050                    </ul>
4051    </div>
4052</div>
4053        <!-- 熱門關鍵字 結束-->
4054
4055        
4056<script>
4057    T = $(".C3");
4058    if (T.length > 0){
4059        $.each(T,function(){
4060            ADRand = ADRandCeil(1, $("a", this).length) - 1;
4061            $("a:eq(" + ADRand + ")", this).show();
4062            var adno = $("a:eq(" + ADRand + ")", this).attr("href");
4063            var adnoArray = new Array();
4064            adnoArray = adno.split("=");
4065            var adpv = $('<img style="display:none" src="https://pv6.ltn.com.tw/impression?ano=' + adnoArray[1] + '&device=' + adDevice + '&' + new Date().getTime() + '" alt="impression">');
4066            adpv.appendTo(this);
4067            $("a",this).each(function(){
4068                $(this).attr('href', $(this).attr('href') + '&device=' + adDevice + '&source=' + document.URL);
4069            });
4070        });
4071    }
4072    function ADRandCeil(min,max) {
4073        return Math.ceil(Math.random()*(max-min+1)+min-1);
4074    }
4075</script>
4075
4076
4077        
4077<script>
4078            if ((!isTW || sysLang !== 'zh-tw') && (cookies_m.isPC())) {
4079                document.write(`
4080            <div class="OUTBRAIN" data-src="https://news.ltn.com.tw/news/politics/breakingnews/5592174" data-widget-id="SB_1"></div>
4081            
4081<script type="text/javascript" async="async" src="//widgets.outbrain.com/outbrain.js"><\/script>
4082        `);
4083            }
4084        </script>
4084
4085
4086        <div class="suggest">
4087            <div>
4088                    <!-- /21202031/01-news-pol-P-BD3 -->
4089    <div id="ad-BD3"
4090        class="boxTitle adHeight250 suggest_pc"
4091        data-desc="廣告ad-BD3"
4092        style="text-align: center;">
4093            
4093<script>displayDFP('ad-BD3', 'pc');</script>
4093
4094    </div>
4095            </div>
4096        </div>
4097
4098    </div>
4099</aside>
4100                    </div>
4101
4102        <link rel="stylesheet" href="https://cache.ltn.com.tw/css/rwd_ltnfooter.css?202511" />
4103
4104    <!-- 01-news-pol-P-bottom 桌機置底 -->
4105<style>
4106    .PB1 {display: none; position: fixed; bottom: 0; text-align: center;width: 100%;z-index: 5;background-color: rgb(233 233 233 / 90%); border-top: 1px solid #e0e0e0; box-shadow: 0px 0px 6px #acacac;}
4107    .PB1-closebtn .PB1-close-pic { width: 28px; position: absolute;top: -36px; right: 10px;box-shadow: 0px 0px 6px #acacac; border-radius: 50%; border: 1px solid #c4c4c4; background-color: rgb(233 233 233 / 90%); padding: 2px; cursor: pointer; }
4108    @media screen and (max-width:970px) {.PB1 { display: none; }}
4109</style>
4110<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
4110
4111
4112<script>
4113    window.googletag = window.googletag || {
4114        cmd: []
4115    };
4116</script>
4116
4117<!--01-news-pol-P-bottom-->
4118<div class="PB1">
4119    <!-- /21202031/01-news-pol-P-bottom -->
4120    <div id="ad-PB1" class="adHeight90" style='min-width: 970px; min-height: 90px;'>
4121        
4121<script>
4122            $(function(){
4123                googletag.cmd.push(function() {
4124                    googletag.display("ad-PB1");
4125                });
4126            });
4127        </script>
4127
4128    </div>
4129    <div class="PB1-closebtn">
4130        <img class="PB1-close-pic" src="https://cache.ltn.com.tw/images/idlepageback.png" alt="關閉" title="關閉" onclick="$('.PB1').css('display', 'none');">
4131    </div>
4132</div>
4133<footer class="ltnfooter boxTitle" data-desc="底部選單">
4134    <div class="footermenu">
4135        <div class="menu1">
4136            <div class="bt">
4137                <a title="Facebook" href="https://www.facebook.com/m.ltn.tw/?fref=ts" class="Facebook" target="_blank" data-desc="Facebook"></a>
4138                <a title="Line" href="https://line.me/R/ti/p/%40ltnnews" class="Line" target="_blank" data-desc="Line"></a>
4139                <a title="Twitter" href="https://twitter.com/ltntw" class="Twitter" target="_blank" data-desc="Twitter"></a>
4140                <a title="YouTube" href="https://www.youtube.com/user/tvforltn" class="YouTube" target="_blank" data-desc="YouTube"></a>
4141				<a title="我要爆料" href="https://service.ltn.com.tw/complain" class="Boom" data-desc="爆料"><p>爆</p></a>
4142
4143                <div class="weather" data-desc="天氣">
4144                <img id="weather_img" src="" alt="" title="">
4145                <p id="weather_text"></p>
4146            </div>
4147            </div>
4148
4149            <ul>
4150                <li><a title="即時" href="https://news.ltn.com.tw/list/breakingnews/all" data-desc="即時">即時</a></li>
4151                <li><a title="熱門" href="https://news.ltn.com.tw/list/breakingnews/popular" data-desc="ç†
4151±é–€">熱門</a></li>
4152                <li><a title="政治" href="https://news.ltn.com.tw/list/breakingnews/politics" data-desc="政治">政治</a></li>
4153                <li><a title="財富自由" href="https://stock.ltn.com.tw" data-desc="財富自由" target="_blank">財富自由</a></li>
4154                <li><a title="軍武" href="https://def.ltn.com.tw" data-desc="軍武">軍武</a></li>
4155                <li><a title="社會" href="https://news.ltn.com.tw/list/breakingnews/society" data-desc="社會">社會</a></li>
4156                <li><a title="生活" href="https://news.ltn.com.tw/list/breakingnews/life" data-desc="生活">生活</a></li>
4157                <li><a title="健康醫療" href="https://health.ltn.com.tw" data-desc="健康醫療">健康</a></li>
4158                <li><a title="國際" href="https://news.ltn.com.tw/list/breakingnews/world" data-desc="國際">國際</a></li>
4159                <li><a title="地方" href="https://news.ltn.com.tw/list/breakingnews/local" data-desc="地方">地方</a></li>
4160                <li><a title="蒐奇" href="https://news.ltn.com.tw/list/breakingnews/novelty" data-desc="蒐奇">蒐奇</a></li>
4161                <li><a title="自由影音" href="https://videos.ltn.com.tw" data-desc="自由影音">影音</a></li>
4162                <li><a title="自由財經" href="https://ec.ltn.com.tw" data-desc="自由財經">財經</a></li>
4163                <li><a title="自由娛樂" href="https://ent.ltn.com.tw" data-desc="自由娛樂">娛樂</a></li>
4164                <li><a title="自由藝文" href="https://art.ltn.com.tw" data-desc="自由藝文">藝文</a></li>
4165                <li><a title="汽車頻道" href="https://auto.ltn.com.tw" data-desc="汽車頻道">汽車</a></li>
4166                <li><a title="iStyle時尚" href="https://istyle.ltn.com.tw" data-desc="iStyle時尚">時尚</a></li>
4167                <li><a title="自由體育" href="https://sports.ltn.com.tw" data-desc="自由體育">體育</a></li>
4168                <li><a title="3C科技" href="https://3c.ltn.com.tw" data-desc="3C科技">3C</a></li>
4169                <li><a title="自由評論網" href="https://talk.ltn.com.tw" data-desc="自由評論網">評論</a></li>
4170                <li><a title="玩咖Playing" href="https://playing.ltn.com.tw" data-desc="玩咖Playing">玩咖</a></li>
4171                <li><a title="食譜自由配" href="https://food.ltn.com.tw" data-desc="食譜自由配">食譜</a></li>
4172                <li><a title="地產天下" href="https://estate.ltn.com.tw" data-desc="地產天下">地產</a></li>
4173                <li><a title="專區" href="https://features.ltn.com.tw" data-desc="專區">專區</a></li>
4174                <li><a title="Taipei Times" href="http://www.taipeitimes.com/News" data-desc="TAIPEI TIMES" target="_blank">TAIPEI TIMES</a></li>
4175            </ul>
4176        </div>
4177		<ul class="menu2">
4178			<li><a title="廣告" href="https://service.ltn.com.tw/advertise" data-desc="廣告">.廣告</a></li>
4179			<li><a title="熱門新訊" href="https://market.ltn.com.tw" data-desc="ç†
4179±é–€æ–°è¨Š">.熱門新訊</a></li>
4180			<li><a title="發票" href="http://invoice.etax.nat.gov.tw/" data-desc="發票" target="_blank">.發票</a></li>
4181			<li><a title="樂透" href="http://www.taiwanlottery.com.tw/" data-desc="樂透" target="_blank">.樂透</a></li>
4182			<li><a title="徵才" href="https://www.yes123.com.tw/admin/job_refer_comp_info.asp?p_id=5000225_52570683" data-desc="徵才" target="_blank">.徵才</a></li>
4183			<li><a title="RSS" href="https://service.ltn.com.tw/RSS" data-desc="RSS">.RSS</a></li>
4184			<li><a title="關於我們" href="https://service.ltn.com.tw/about" data-desc="關於我們">.關於我們</a></li>
4185			<li><a title="聯絡我們" href="https://service.ltn.com.tw/complain" data-desc="聯絡我們">.聯絡我們</a></li>
4186			<li><a title="著作權聲明" href="https://service.ltn.com.tw/copyright" data-desc="著作權聲明">.著作權聲明</a></li>
4187			<li><a title="隱私權政策" href="https://service.ltn.com.tw/privacy-policy" data-desc="隱私權政策">.隱私權政策</a></li>
4188			<li><a title="投稿" href="https://service.ltn.com.tw/contribute" data-desc="投稿">.投稿</a></li>
4189			<li><a title="訂閱推播Q&A" href="https://service.ltn.com.tw/webpush" data-desc="訂閱推播Q&A">.訂閱推播Q&A</a></li>
4190			<li><a title="訂報" href="https://service.ltn.com.tw/subscribe" data-desc="訂報">.訂報</a></li>
4191			<li><a title="下載APP" href="https://service.ltn.com.tw/app" data-desc="下載APP">.下載APP</a></li>
4192		</ul>
4193		<ul class="menu3">
4194			<li><a title="聯邦文教基金會" href="http://ubot.org.tw/" data-desc="聯邦文教基金會" target="_blank">.聯邦文教基金會</a></li>
4195			<li><a title="林榮三文學獎" href="http://www.lrsf.org.tw/" data-desc="林榮三文學獎" target="_blank">.林榮三文學獎</a></li>
4196			<li><a title="聯邦銀行" href="https://www.ubot.com.tw/" data-desc="聯邦銀行" target="_blank">.聯邦銀行</a></li>
4197			<li><a title="瓏山林台北中和飯店" href="http://www.rslhotel.com/" data-desc="瓏山林台北中和飯店" target="_blank">.瓏山林台北中和飯店</a></li>
4198			<li><a title="瓏山林蘇澳冷熱泉度假飯店" href="http://www.rslhotel.com/" data-desc="瓏山林蘇澳冷熱泉度假飯店" target="_blank">.瓏山林蘇澳冷熱泉度假飯店</a></li>
4199			<li><a title="自由廣場會議中心" href="http://www.lscc.com.tw/" data-desc="自由廣場會議中心" target="_blank">.自由廣場會議中心</a></li>
4200			<li><a title="yes123求職網" href="https://www.yes123.com.tw/" data-desc="yes123求職網" target="_blank">.yes123求職網</a></li>
4201		</ul>
4202    </div>
4203    <div class="app_DL">
4204        <a title="appstore" href="https://itunes.apple.com/tw/app/zi-you-shi-bao/id1060983848?l=zh&ls=1&mt=8">
4205            <img src="https://cache.ltn.com.tw/images/appstore.png" alt="appstore" title="appstore">
4206        </a>
4207        <a title="googleplay" href="https://play.google.com/store/apps/details?id=com.ltnnews.news">
4208            <img src="https://cache.ltn.com.tw/images/googleplay.png" alt="googleplay" title="googleplay">
4209        </a>
4210    </div>
4211    <p class="copyright">自由時報版權所有不得轉載<span>© 2026 The Liberty Times. All Rights Reserved.<span></p>
4212</footer>
4213<script>
4214    $(function() {
4215        /* 手機版切換 */
4216        $("#tom, #tomf").click(function() {
4217            cookies_m.write('MOBILE');
4218            setTimeout('gotoMobile_cache()', 800);
4219        });
4220    });
4221
4222    function gotoMobile_cache() {
4223        $(window).scrollTop(0);
4224        location.reload();
4225    }
4226</script>
4226
4227<!-- 天氣使用經緯度取資料 -->
4228<script async src="https://cache.ltn.com.tw/js/weather.min.js"></script>
4228
4229
4230                
4230<script>
4231    var idleAds = {
4232    // 'IB1':['/21202031/01-news-idle-B1', [300, 250], 'ad-IB1'],
4233    'IC1':['/21202031/01-news-idle-C1', [300, 100], 'ad-IC1']
4234};
4235</script>
vendor: 1 bytes, line 4235
4235
4236<script>
4237    document.addEventListener('DOMContentLoaded', () => {
4238        scheduleIdleTask(() => {
4239            setTimeout(() => {
4240                loadNonCriticalScripts();    // 你的顯示函式
4241            }, 60 * 1000);
4242        }, { timeout: 1000 });
4243    });
4244    function loadNonCriticalScripts() {
4245        // 1. 動態載入 mCustomScrollbar
4246        const sc = document.createElement('script');
4247        sc.src = 'https://cache.ltn.com.tw/js/jquery.mCustomScrollbar.concat.min.js';
4248        // 2. 等它載完才載入 rwd_idlepage.js
4249        sc.onload = () => {
4250            const idle = document.createElement('script');
4251            // 加上版本號 cache‑bust
4252            idle.src = 'https://cache.ltn.com.tw/js/rwd_idlepage.js?20240801';
4253            document.body.appendChild(idle);
4254        };
4255        document.body.appendChild(sc);
4256
4257        // 3. 同樣延後載入 ppnio.js
4258        const p = document.createElement('script');
4259        p.src = 'https://player.svc.litv.tv/v3/ppnio.js';
4260        document.body.appendChild(p);
4261
4262        // 4. 再動態執行那段 inline 初始化
4263        const inline = document.createElement('script');
4264        inline.textContent = 'window.ppnio = window.ppnio || [];';
4265        document.body.appendChild(inline);
4266    }
4267</script>
4267
4268<link rel="stylesheet" href="https://cache.ltn.com.tw/css/jquery.mCustomScrollbar.css" />
4269<link rel="stylesheet" href="https://cache.ltn.com.tw/css/rwd_idlepage.css?20240801" />
4270
4271
4272<div class="idle_lightbox_target" id="idle-notice">
4273    <div class="content">
4274        <div class="idcenter">此網頁已閒置超過5分鐘,請點擊透明黑底或右下角 X 鈕。</div>
4275
4276        <div class="idle_con boxTitle" data-desc="熱門推播">
4277            <p>熱門推播</p>
4278            <ul>
4279                                    <li>
4280                        <a href="https://news.ltn.com.tw/news/society/breakingnews/5592201" class="idle_listpic" data-desc="P:0:謀財害命?彰化男肋骨斷送醫1個月不治  堂哥遭控吞3千萬財產" title="謀財害命?彰化男肋骨斷送醫1個月不治  堂哥遭控吞3千萬財產"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/5592201_1_1.jpg" src="assets/images/spacer.gif" alt="謀財害命?彰化男肋骨斷送醫1個月不治  堂哥遭控吞3千萬財產">
4281                                </a><a href="https://news.ltn.com.tw/news/society/breakingnews/5592201" class="idle_pictitle" data-desc="T:0:謀財害命?彰化男肋骨斷送醫1個月不治  堂哥遭控吞3千萬財產" title="謀財害命?彰化男肋骨斷送醫1個月不治  堂哥遭控吞3千萬財產">謀財害命?彰化男肋骨斷送醫1個月不治  堂哥遭控吞3千萬財產</a>                    </li>
4282                                    <li>
4283                        <a href="https://sports.ltn.com.tw/news/breakingnews/5592147" class="idle_listpic" data-desc="P:1:喬丹總冠軍賽球衣約3.9億台幣拍出!刷新個人紀念品最高價紀錄" title="喬丹總冠軍賽球衣約3.9億台幣拍出!刷新個人紀念品最高價紀錄"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/sports/page/400S/2026/10/01/phpoIjVdF.jpg" src="assets/images/spacer.gif" alt="喬丹總冠軍賽球衣約3.9億台幣拍出!刷新個人紀念品最高價紀錄">
4284                                </a><a href="https://sports.ltn.com.tw/news/breakingnews/5592147" class="idle_pictitle" data-desc="T:1:喬丹總冠軍賽球衣約3.9億台幣拍出!刷新個人紀念品最高價紀錄" title="喬丹總冠軍賽球衣約3.9億台幣拍出!刷新個人紀念品最高價紀錄">喬丹總冠軍賽球衣約3.9億台幣拍出!刷新個人紀念品最高價紀錄</a>                    </li>
4285                                    <li>
4286                        <a href="https://news.ltn.com.tw/news/world/breakingnews/5592090" class="idle_listpic" data-desc="P:2:距台僅百公里!菲最大巡邏艦出手趕海調船 中國海警突現身「護航」" title="距台僅百公里!菲最大巡邏艦出手趕海調船 中國海警突現身「護航」"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/php82gVpV.jpg" src="assets/images/spacer.gif" alt="距台僅百公里!菲最大巡邏艦出手趕海調船 中國海警突現身「護航」">
4287                                </a><a href="https://news.ltn.com.tw/news/world/breakingnews/5592090" class="idle_pictitle" data-desc="T:2:距台僅百公里!菲最大巡邏艦出手趕海調船 中國海警突現身「護航」" title="距台僅百公里!菲最大巡邏艦出手趕海調船 中國海警突現身「護航」">距台僅百公里!菲最大巡邏艦出手趕海調船 中國海警突現身「護航」</a>                    </li>
4288                                    <li>
4289                        <a href="https://news.ltn.com.tw/news/life/breakingnews/5592041" class="idle_listpic" data-desc="P:3:澎湖海域驚見「幽浮船」!雙翼鋪滿光電板 真實身分曝光" title="澎湖海域驚見「幽浮船」!雙翼鋪滿光電板 真實身分曝光"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/5592041_1_1.jpg" src="assets/images/spacer.gif" alt="澎湖海域驚見「幽浮船」!雙翼鋪滿光電板 真實身分曝光">
4290                                </a><a href="https://news.ltn.com.tw/news/life/breakingnews/5592041" class="idle_pictitle" data-desc="T:3:澎湖海域驚見「幽浮船」!雙翼鋪滿光電板 真實身分曝光" title="澎湖海域驚見「幽浮船」!雙翼鋪滿光電板 真實身分曝光">澎湖海域驚見「幽浮船」!雙翼鋪滿光電板 真實身分曝光</a>                    </li>
4291                                    <li>
4292                        <a href="https://news.ltn.com.tw/news/life/breakingnews/5591973" class="idle_listpic" data-desc="P:4:北市學生誤食「油桐子」送醫! 校方︰好奇嘗試" title="北市學生誤食「油桐子」送醫! 校方︰好奇嘗試"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/5591973_1_1.jpg" src="assets/images/spacer.gif" alt="北市學生誤食「油桐子」送醫! 校方︰好奇嘗試">
4293                                </a><a href="https://news.ltn.com.tw/news/life/breakingnews/5591973" class="idle_pictitle" data-desc="T:4:北市學生誤食「油桐子」送醫! 校方︰好奇嘗試" title="北市學生誤食「油桐子」送醫! 校方︰好奇嘗試">北市學生誤食「油桐子」送醫! 校方︰好奇嘗試</a>                    </li>
4294                                    <li>
4295                        <a href="https://ec.ltn.com.tw/article/breakingnews/5592058" class="idle_listpic" data-desc="P:5:美光震撼彈!狂簽26份長約鎖定千億美元市場 三星、SK海力士跟不跟?" title="美光震撼彈!狂簽26份長約鎖定千億美元市場 三星、SK海力士跟不跟?"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/business/page/400S/2026/10/01/php2u0Yhr.jpg" src="assets/images/spacer.gif" alt="美光震撼彈!狂簽26份長約鎖定千億美元市場 三星、SK海力士跟不跟?">
4296                                </a><a href="https://ec.ltn.com.tw/article/breakingnews/5592058" class="idle_pictitle" data-desc="T:5:美光震撼彈!狂簽26份長約鎖定千億美元市場 三星、SK海力士跟不跟?" title="美光震撼彈!狂簽26份長約鎖定千億美元市場 三星、SK海力士跟不跟?">美光震撼彈!狂簽26份長約鎖定千億美元市場 三星、SK海力士跟不跟?</a>                    </li>
4297                                    <li>
4298                        <a href="https://news.ltn.com.tw/news/politics/breakingnews/5592023" class="idle_listpic" data-desc="P:6:自由觀點》普發現金攻防戰 不能重蹈è¦
4298†è½" title="自由觀點》普發現金攻防戰 不能重蹈覆轍"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/php0DteKE.jpg" src="assets/images/spacer.gif" alt="自由觀點》普發現金攻防戰 不能重蹈覆轍">
4299                                </a><a href="https://news.ltn.com.tw/news/politics/breakingnews/5592023" class="idle_pictitle" data-desc="T:6:自由觀點》普發現金攻防戰 不能重蹈覆轍" title="自由觀點》普發現金攻防戰 不能重蹈覆轍">自由觀點》普發現金攻防戰 不能重蹈覆轍</a>                    </li>
4300                                    <li>
4301                        <a href="https://news.ltn.com.tw/news/politics/breakingnews/5592050" class="idle_listpic" data-desc="P:7:禿頭阿公長出頭髮?藍營花蓮參選人競選廣告與本人不符上榜..." title="禿頭阿公長出頭髮?藍營花蓮參選人競選廣告與本人不符上榜..."><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/5592050_4_1.jpg" src="assets/images/spacer.gif" alt="禿頭阿公長出頭髮?藍營花蓮參選人競選廣告與本人不符上榜...">
4302                                </a><a href="https://news.ltn.com.tw/news/politics/breakingnews/5592050" class="idle_pictitle" data-desc="T:7:禿頭阿公長出頭髮?藍營花蓮參選人競選廣告與本人不符上榜..." title="禿頭阿公長出頭髮?藍營花蓮參選人競選廣告與本人不符上榜...">禿頭阿公長出頭髮?藍營花蓮參選人競選廣告與本人不符上榜...</a>                    </li>
4303                                    <li>
4304                        <a href="https://ec.ltn.com.tw/article/breakingnews/5592005" class="idle_listpic" data-desc="P:8:白宮AI協議出大包!「美國」拼錯超傻眼  黃仁勳也沒發現還簽名" title="白宮AI協議出大包!「美國」拼錯超傻眼  黃仁勳也沒發現還簽名"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/business/page/400S/2026/10/01/phpW4Y76i.jpg" src="assets/images/spacer.gif" alt="白宮AI協議出大包!「美國」拼錯超傻眼  黃仁勳也沒發現還簽名">
4305                                </a><a href="https://ec.ltn.com.tw/article/breakingnews/5592005" class="idle_pictitle" data-desc="T:8:白宮AI協議出大包!「美國」拼錯超傻眼  黃仁勳也沒發現還簽名" title="白宮AI協議出大包!「美國」拼錯超傻眼  黃仁勳也沒發現還簽名">白宮AI協議出大包!「美國」拼錯超傻眼  黃仁勳也沒發現還簽名</a>                    </li>
4306                                    <li>
4307                        <a href="https://news.ltn.com.tw/news/def/breakingnews/5592010" class="idle_listpic" data-desc="P:9:立委王定宇:傳滯留夏威夷F-16戰機已起飛返台 我爭取「非現金」補償" title="立委王定宇:傳滯留夏威夷F-16戰機已起飛返台 我爭取「非現金」補償"><img class="lazy_imgs_ltn" data-src="https://img.ltn.com.tw/Upload/news/250/2026/10/01/phpcYQSgh.jpg" src="assets/images/spacer.gif" alt="立委王定宇:傳滯留夏威夷F-16戰機已起飛返台 我爭取「非現金」補償">
4308                                </a><a href="https://news.ltn.com.tw/news/def/breakingnews/5592010" class="idle_pictitle" data-desc="T:9:立委王定宇:傳滯留夏威夷F-16戰機已起飛返台 我爭取「非現金」補償" title="立委王定宇:傳滯留夏威夷F-16戰機已起飛返台 我爭取「非現金」補償">立委王定宇:傳滯留夏威夷F-16戰機已起飛返台 我爭取「非現金」補償</a>                    </li>
4309                            </ul>
4310        </div>
4311
4312        <!-- LiTV -->
4313        <div class="idle_ad03">
4314            <div id="ppn-bHRu-0"></div>
4315        </div>
4316        <div id="ad-IC1" class="idle_ad02">
4317        </div>
4318
4319        <div class="idle_button">
4320            <div class="idle_a1 idle_lightbox_close" id="lightbox-close" title="關閉此視窗">
4321                <img class="idle_times" src="https://cache.ltn.com.tw/images/idlepageback.png" alt="關閉此視窗" title="關閉此視窗">
4322            </div>
4323
4324            <div class="idle_a1 idle_lightbox_repeat" id="lightbox-repeat" title="重新整理頁面">
4325                <img class="idle_repeat" src="https://cache.ltn.com.tw/images/idlepagereturn.png" alt="重新整理頁面" title="重新整理頁面">
4326            </div>
4327        </div>
4328    </div>
4329</div>
4330
4331        <!-- 浮水印廣告 -->
4332            <!-- /21202031/02-mobile-pol-sub-P-I1-bottom -->
4333    <div id="ad-I1-bottom"
4334        class="boxTitle door-bottom door-bottom-head suggest_m"
4335        data-desc="廣告ad-I1-bottom"
4336        style="text-align: center;">
4337            
4337<script>displayDFP('ad-I1-bottom', 'm');</script>
4337
4338    </div>
4339        <div class='door-bottom door-bottom-space' style="display: none;"></div>
4340
4341        
4341<script defer src="assets/js/scrolltofixed-min.js"></script>
4341
4342        
4342<script defer src="https://cache.ltn.com.tw/js/lazyload.min.js"></script>
4342
4343        
4343<script defer>
4344            $(document).ready(function(){
4345                /*分享列固定*/
4346                $('.share').scrollToFixed({
4347                    marginTop: $('header').outerHeight(true) + 30 ,
4348                    limit: function() {
4349                        var limit = $('.sharebottom').offset().top - $(this).outerHeight(true) - 20;
4350                        return limit;
4351                    },
4352                    zIndex: 200
4353                });
4354                /*處理圖片延遲*/
4355                lazyImg = $('img.lazy_imgs_ltn');
4356                lazyload(lazyImg);
4357            });
4358        </script>
4358
4359        <!-- AMG -->
4360        
4360<script src="https://cache.ltn.com.tw/js/getTargetTime.js"></script>
vendor: 1 bytes, line 4360
4360
4361<script type='text/javascript'><!--//<![CDATA[
4362    const thisTimeZoneDate = new Date();
4363    const inTheTimeZone = (function () {
4364        const checkTimeZone = [-4, -5, -6, -7, -8];
4365        // ../cache/js/getTargetTime.js:getDiffTime() 兩地相差時間
4366        for (let key in checkTimeZone) {
4367            if (getDiffTime(thisTimeZoneDate, checkTimeZone[key]) === 0) {
4368                return true;
4369            }
4370        }
4371        return false;
4372    })();
4373
4374    function checkSpecificDate() {
4375        const today = new Date();
4376        const year = today.getFullYear();
4377        const month = today.getMonth() + 1;
4378        const date = today.getDate();
4379        return (year === 2023 && month === 10 && date >= 1 && date <= 31);
4380    }
4381
4382    const show_amg_footer = (function () {
4383        const AMGHostName = location.hostname.toLowerCase().replace(".ltn.com.tw", "");
4384        const AMGOpenTime = {
4385            'www':[
4386                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4387            ],
4388            'news': [
4389                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4390            ],
4391            'auto': [
4392                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4393            ],
4394            'sports': [
4395                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4396            ],
4397            '3c': [
4398                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4399            ],
4400            'ec': [
4401                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4402            ],
4403            'features': [
4404                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4405            ],
4406            'istyle': [
4407                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4408            ],
4409            'art': [
4410                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4411            ],
4412            'food': [
4413                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4414            ],
4415            'estate': [
4416                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4417            ],
4418            'ent': [
4419                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4420            ],
4421            'health': [
4422                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4423            ],
4424            'playing': [
4425                {'start': '2020-09-28T00:00:00', 'end': '2220-09-28T00:00:00'}
4426            ],
4427        };
4428        //AMGOpenTime沒設定的頻道回傳false防測試機報錯
4429        if (AMGOpenTime[AMGHostName] != 'undefined') {
4430            const AMGNowTime = thisTimeZoneDate.getFullYear() + "-" + ('0' + (thisTimeZoneDate.getMonth() + 1)).substr(-2, 2) + "-" + ('0' + thisTimeZoneDate.getDate()).substr(-2, 2) + "T" + ('0' + thisTimeZoneDate.getHours()).substr(-2, 2) + ":" + ('0' + thisTimeZoneDate.getMinutes()).substr(-2, 2) + ":" + ('0' + thisTimeZoneDate.getSeconds()).substr(-2, 2);
4431            let openTime = AMGOpenTime[AMGHostName];
4432            for (let key in openTime) {
4433                let start = openTime[key]['start'];
4434                let end = openTime[key]['end'];
4435                if (AMGNowTime >= start && AMGNowTime <= end) {
4436                    return true;
4437                }
4438            }
4439        }
4440        return false;
4441    })();
4442
4443    const get_amg_zoneid = (function () {
4444        const AMGHostName = location.hostname.toLowerCase().replace(".ltn.com.tw", "");
4445        switch (AMGHostName) {
4446            case 'health':
4447            case 'ent':
4448            case 'istyle':
4449            case 'art':
4450            case 'playing':
4451            case 'food':
4452                return '562';
4453            case 'ec':
4454            case 'estate':
4455            case 'auto':
4456            case 'sports':
4457            case '3c':
4458                return '680';
4459            default:
4460                return '96';
4461        }
4462    })();
4463
4464    const shiftvValue = (function () {
4465        const AMGHostName = location.hostname.toLowerCase().replace(".ltn.com.tw", "");
4466        switch (AMGHostName) {
4467            case 'health':
4468            case 'ent':
4469            case 'istyle':
4470            case 'art':
4471            case 'playing':
4472            case 'food':
4473                return '22';
4474            case 'ec':
4475            case 'estate':
4476            case 'auto':
4477            case 'sports':
4478            case '3c':
4479            default:
4480                return '15';
4481        }
4482    })();
4483
4484    if (inTheTimeZone && show_amg_footer) {
4485        let ox_u = 'https://amgs5.com/AS/www/delivery/al.php?zoneid=' + get_amg_zoneid + '&layerstyle=simple&align=center&valign=bottom&padding=2&padding=2&shifth=0&shiftv=' + shiftvValue + '&closebutton=t&backcolor=FFFFFF&bordercolor=000000';
4486
4487        if (document.context) ox_u += '&context=' + escape(document.context);
4488        document.write("<scr"+"ipt type='text/javascript' src='" + ox_u + "'></scr"+"ipt>");
4489    }
4490//]]>--></script>
4490
4491        
4491<script>
4492            document.addEventListener('DOMContentLoaded', () => {
4493                scheduleIdleTask(() => {
4494                    loadLiTV();   // 你之前的初始化函式
4495                }, { timeout: 3000 });
4496            });
4497            function loadLiTV() {
4498                const src = 'https://cache.ltn.com.tw/js/videoAPI_LiTV.js';
4499                if (!document.querySelector(`script[src="${src}"]`)) {
4500                    const s = document.createElement('script');
4501                    s.src = src;
4502                    document.body.appendChild(s);
4503                }
4504            }
4505        </script>
4505
4506
4507        
4507<script>
4508    let webPushOrigin = 'https://www.ltn.com.tw';
4509    let webPushFile = webPushOrigin + '/webNotificationCheck';
4510    let webPushNotification = webPushOrigin + '/webNotification';
4511
4512    // 監聽檢查回應
4513    window.addEventListener('message',function(e) {
4514        if (e.origin == webPushOrigin) {
4515            if (e.data == 'isOK') {
4516                let checkIframe = document.getElementById('checkIframe');
4517                checkIframe.contentWindow.postMessage('getPermission', webPushOrigin);
4518            } else if (e.data == 'granted') {
4519                $("#checkIframe").remove();
4520                console.log(e.data);
4521            } else if (e.data == 'denied' || e.data == 'default') { //default or denied
4522                $("#checkIframe").remove();
4523                console.log(e.data);
4524                softConfirm();
4525            }
4526        }
4527    },false);
4528
4529    $(function() {
4530        let webPush = getCookie("softPush");
4531        if (webPush === undefined || webPush < 1) {
4532            if (userAgent.indexOf('Chrome') >= 0 || userAgent.indexOf('Firefox') >= 0 || userAgent.indexOf('Edge/') >= 0) {
4533                initFcm();
4534            } else if (userAgent.indexOf('Safari') >= 0) {
4535            }
4536        }
4537    });
4538
4539    //檢查notification
4540    function initFcm()
4541    {
4542        console.log('check notification');
4543        if ('Notification' in window) {
4544            checkFcm();
4545        }
4546    }
4547
4548    //檢查notification permission
4549    function checkFcm()
4550    {
4551        console.log('checkFcm');
4552        let checkIframe = document.createElement('iframe');
4553        checkIframe.setAttribute('id', 'checkIframe');
4554        checkIframe.setAttribute('src', webPushFile);
4555        checkIframe.setAttribute('allow', 'payment');
4556        document.body.appendChild(checkIframe);
4557    }
4558
4559    //觸發軟詢問
4560    function softConfirm()
4561    {
4562        let softPushNotificaton = document.createElement('div');
4563        softPushNotificaton.setAttribute('class', 'softPush_notification');
4564
4565        let softPushNotificationImg = document.createElement('img');
4566        softPushNotificationImg.setAttribute('src', 'https://news.ltn.com.tw/assets/images/all/ltn.png');
4567        softPushNotificationImg.setAttribute('alt', '自由時報');
4568        softPushNotificaton.appendChild(softPushNotificationImg);
4569
4570        let softPushNotificationSpan = document.createElement('span');
4571        softPushNotificationSpan.setAttribute('class', 'softPush_word');
4572        let softPushNotificationText = document.createTextNode('感謝您的訂閱 自由時報電子報隨時提供您最即時、熱門的新聞訊息。');
4573        softPushNotificationSpan.appendChild(softPushNotificationText);
4574        softPushNotificaton.appendChild(softPushNotificationSpan);
4575
4576        let softPushNotificationButton = document.createElement('button');
4577        softPushNotificationButton.setAttribute('class', 'softPush_confirm');
4578        softPushNotificationText = document.createTextNode('訂閱');
4579        softPushNotificationButton.appendChild(softPushNotificationText);
4580        softPushNotificaton.appendChild(softPushNotificationButton);
4581
4582        softPushNotificationButton = document.createElement('button');
4583        softPushNotificationButton.setAttribute('class', 'softPush_refuse');
4584        softPushNotificationText = document.createTextNode('暫時不要');
4585        softPushNotificationButton.appendChild(softPushNotificationText);
4586        softPushNotificaton.appendChild(softPushNotificationButton);
4587
4588        document.body.appendChild(softPushNotificaton);
4589    }
4590
4591    //設定軟詢問時間
4592    function setSoftPushCookie(extension = 0)
4593    {
4594        let st = "";
4595        let expires = new Date();
4596        //延展時間
4597        extension = (extension == 0) ? 7 * 24 * 60 * 60 * 1000 : extension;
4598        expires.setTime(expires.getTime() + extension);
4599        let ti = getCookie("softPush");
4600        if (ti === undefined) ti = 0;
4601        st = "softPush=" + (Number(ti)+1) +"; domain=ltn.com.tw;expires=" + expires.toGMTString() +"; path=/";
4602        document.cookie = st;
4603    }
4604
4605    $(document).on("click",".softPush_confirm",function() {
4606        window.open(webPushNotification);
4607        getScrNews('www.webPush.ask', 'ask', '', '1');
4608        $(".softPush_notification").remove();
4609    });
4610
4611    $(document).on("click",".softPush_refuse",function(){
4612        $(".softPush_notification").remove();
4613        getScrNews('www.webPush.ask', 'ask', '', '0');
4614        setSoftPushCookie();
4615    });
4616</script>
4616
4617<style>
4618    /******************** 瀏覽器推播通知 ********************/
4619    .softPush_notification { width: 400px; height: 170px; padding: 20px; border-radius: 10px; position: fixed; left: 50%; margin-left: -200px; top: 28%;  background: #fbfbfb; box-shadow: 0px 0px 30px 6px rgb(0 0 0 / 40%); z-index:  300; text-align: justify;}
4620    .softPush_notification img { width: 80px; height: auto; float: left; margin-right: 10px; }
4621    .softPush_notification span.softPush_word { margin-bottom: 10px; font-size: 18px; line-height: 30px; font-family: 'Noto Sans TC', "微軟正黑體";}
4622    .softPush_notification button { border-radius: 5px; padding: 5px 8px; letter-spacing: 1px; cursor: pointer; border: 0px; font-size: 16px;}
4623    .softPush_notification button.softPush_confirm { position: absolute; right: 25px; bottom: 20px; background: #daa01c; color: #fff; transition: .2s linear;}
4624    .softPush_notification button.softPush_refuse { position: absolute; right: 80px; bottom: 20px; color: #8e8e8e; transition: .2s linear;}
4625    .softPush_notification button.softPush_confirm:hover { background: #c58901; }
4626    .softPush_notification button.softPush_refuse:hover { background: #dedede; }
4627
4628    @media screen and (max-width:500px) {
4629        /* 瀏覽器推播通知 */
4630        .softPush_notification {
4631            width: 280px;
4632            height: 140px;
4633            padding: 16px;
4634            margin-left: -140px;
4635        }
4636
4637        .softPush_notification img {
4638            width: 60px;
4639        }
4640
4641        .softPush_notification span.softPush_word {
4642            font-size: 16px;
4643            line-height: 24px;
4644        }
4645
4646        .softPush_notification button {
4647            padding: 6px 12px;
4648            font-size: 12px;
4649        }
4650
4651        .softPush_notification button.softPush_confirm,
4652        .softPush_notification button.softPush_refuse {
4653            bottom: 12px;
4654        }
4655
4656        .softPush_notification button.softPush_confirm {
4657            right: 16px;
4658        }
4659    }
4660</style>
4661<script src="https://cache.ltn.com.tw/js/initAviviD.min.js"></script>
vendor: 1 bytes, line 4661
4661
4662<script>
4663document.addEventListener('DOMContentLoaded', function () {
4664    initAviviD();
4665});
4666</script>
4666
4667    </body>
4668</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.