截至11月,数码身份证注册人数达1480 最新资讯
EN BM 中文 TA 登录 订阅 (function(){const SESSION_CACHE_KEY = "wb_session_cache_v5"; const VISITOR_CACHE_VERSION_COOKIE = "visitor_cache_version"; try { if (document.documentElement.getAttribute('data-auth') === 'in') { var entry = JSON.parse(localStorage.getItem(SESSION_CACHE_KEY) || 'null'); var matches = document.cookie.match( new RegExp('(?:^|; )' + VISITOR_CACHE_VERSION_COOKIE + '=[^;]*', 'g') ); // Two copies make the version ambiguous — skip the pre-fill var ambiguous = !!matches && matches.length > 1; var version = matches ? decodeURIComponent(matches[0].split('=').slice(1).join('=')) : null; var name = entry && entry.data && entry.data.isLoggedIn && entry.data.displayName; if (name && !ambiguous && entry.cacheVersion === version) { var nameEl = document.getElementById('header-user-name'); nameEl.textContent = name; nameEl.title = name; } } } catch (e) {} })(); 终身订阅 有效 无效 过期 注册于: 更新日期: 到期日期: 有效 无效 过期 订阅 更新 延长订阅 设定 联络我们 登出 新闻 编辑推荐 视频 新闻实验室 今分析 今特写 今人物 专栏 公告 来函 大专论坛 漫画 本刊简介 雇员资讯 隐私政策 协助条款 广告协助 工作机会 联系 电邮 WhatsApp 投诉 地址 广告 登录 订阅 EN BM 中文 TA 新闻 编辑推荐 视频 新闻实验室 今分析 今特写 今人物 专栏 公告 来函 大专论坛 漫画 本刊简介 雇员资讯 隐私政策 协助条款 广告协助 工作机会 联系 电邮 WhatsApp 投诉 地址 广告 EN BM 中文 TA (function () { var SESSION_KEY = 'mk_sto_dismissed'; // ───────────────────────────────────────────────────────────────────────── // Registries // // Key: exact slotId from ads.ts (e.g. '/6929183/MK-EN//Home//SiteTakeOverNew') // Value: { bannerLabel, skipLabel } // ───────────────────────────────────────────────────────────────────────── /** @type {Record } */ var HOME_REGISTRY = { '/6929183/MK-EN//Home//SiteTakeOverNew': { bannerLabel: 'You are currently at Malaysiakini.com', skipLabel: 'Skip this ad', }, '/6929183/MK-BM//Home//SiteTakeOverNew': { bannerLabel: 'Anda kini berada di Malaysiakini.com', skipLabel: 'Langkau iklan ini', }, '/6929183/MK-CN//Home//SiteTakeOverNew': { bannerLabel: '您目前正在浏览 Malaysiakini.com', skipLabel: '跳过广告', }, }; /** @type {Record } */ var NEWS_REGISTRY = { '/6929183/MK-EN//News//SiteTakeOverNew': { bannerLabel: 'You are currently at Malaysiakini.com', skipLabel: 'Skip this ad', }, '/6929183/MK-BM//News//SiteTakeOverNew': { bannerLabel: 'Anda kini berada di Malaysiakini.com', skipLabel: 'Langkau iklan ini', }, '/6929183/MK-CN//News//SiteTakeOverNew': { bannerLabel: '您目前正在浏览 Malaysiakini.com', skipLabel: '跳过广告', }, }; // ───────────────────────────────────────────────────────────────────────── // Boot — resolve the active registry from the SSR-inlined data-page attr // ───────────────────────────────────────────────────────────────────────── var currentPage = document.currentScript ? document.currentScript.getAttribute('data-page') : (document.querySelector('script[data-page]') || {}).getAttribute('data-page'); var REGISTRY = currentPage === 'news' ? NEWS_REGISTRY : HOME_REGISTRY; var OTHER = currentPage === 'news' ? HOME_REGISTRY : NEWS_REGISTRY; var PAGE_LABEL = currentPage === 'news' ? 'article page' : 'homepage'; var OTHER_LABEL = currentPage === 'news' ? 'homepage' : 'article page'; // ───────────────────────────────────────────────────────────────────────── // Overlay DOM — created lazily on first render, reused after that // ───────────────────────────────────────────────────────────────────────── var overlayEl = null; function getOverlay() { if (overlayEl) return overlayEl; overlayEl = document.createElement('div'); overlayEl.id = 'mk_sto_overlay'; overlayEl.className = 'mk-sto-overlay'; overlayEl.setAttribute('role', 'dialog'); overlayEl.setAttribute('aria-modal', 'true'); document.body.appendChild(overlayEl); return overlayEl; } function dismiss() { if (overlayEl) overlayEl.style.display = 'none'; document.documentElement.classList.remove('mk-sto-open'); try { sessionStorage.setItem(SESSION_KEY, '1'); } catch (e) {} } function wasDismissed() { try { return sessionStorage.getItem(SESSION_KEY) === '1'; } catch (e) { return false; } } // ───────────────────────────────────────────────────────────────────────── // Public API // ───────────────────────────────────────────────────────────────────────── /** * @param {string} slotId - Exact GPT slot path from ads.ts. * Use the %%ADUNIT%% GAM macro in the creative. * @param {string} imageUrl - Creative image URL (780x450). * @param {string} destUrl - Destination URL when the creative is clicked. */ window.renderSiteTakeOver = function (slotId, imageUrl, destUrl) { var entry = REGISTRY[slotId]; if (!entry) { if (OTHER[slotId]) { console.warn( '[renderSiteTakeOver] Slot "' + slotId + '" belongs to the ' + OTHER_LABEL + ', but this renderer is mounted on the ' + PAGE_LABEL + '. No content rendered.' ); } else { console.warn( '[renderSiteTakeOver] Unknown slotId "' + slotId + '" on ' + PAGE_LABEL + '. Verify it matches an entry in SiteTakeOverRenderer.astro and ads.ts.' ); } return; } if (wasDismissed()) return; var overlay = getOverlay(); overlay.innerHTML = ' ' + ' ' + entry.bannerLabel + ' ' + ' ' + entry.skipLabel + ' × ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' '; overlay.style.display = 'flex'; document.documentElement.classList.add('mk-sto-open'); overlay.querySelector('.mk-sto-skip').addEventListener('click', dismiss); }; })(); (function () { var SESSION_KEY = 'mk_mfv_dismissed'; // ───────────────────────────────────────────────────────────────────────── // Registries // // Key: exact slotId from ads.ts (e.g. '/6929183/mk_en_mobile_hp_firstview_new') // Value: { bannerLabel, skipLabel } // ───────────────────────────────────────────────────────────────────────── /** @type {Record } */ var HOME_REGISTRY = { '/6929183/mk_en_mobile_hp_firstview_new': { bannerLabel: 'Malaysiakini.com', skipLabel: 'Skip ad', }, '/6929183/mk_my_mobile_hp_firstview_new': { bannerLabel: 'Malaysiakini.com', skipLabel: 'Langkau', }, '/6929183/mk_zh_mobile_hp_firstview_new': { bannerLabel: 'Malaysiakini.com', skipLabel: '跳过', }, }; /** @type {Record } */ var NEWS_REGISTRY = { '/6929183/mk_en_mobile_ip_firstview_new': { bannerLabel: 'Malaysiakini.com', skipLabel: 'Skip ad', }, '/6929183/mk_my_mobile_ip_firstview_new': { bannerLabel: 'Malaysiakini.com', skipLabel: 'Langkau', }, '/6929183/mk_zh_mobile_ip_firstview_new': { bannerLabel: 'Malaysiakini.com', skipLabel: '跳过', }, }; // ───────────────────────────────────────────────────────────────────────── // Boot — resolve the active registry from the SSR-inlined data-page attr // ───────────────────────────────────────────────────────────────────────── var currentPage = document.currentScript ? document.currentScript.getAttribute('data-page') : (document.querySelector('script[data-page]') || {}).getAttribute('data-page'); var REGISTRY = currentPage === 'news' ? NEWS_REGISTRY : HOME_REGISTRY; var OTHER = currentPage === 'news' ? HOME_REGISTRY : NEWS_REGISTRY; var PAGE_LABEL = currentPage === 'news' ? 'article page' : 'homepage'; var OTHER_LABEL = currentPage === 'news' ? 'homepage' : 'article page'; // ───────────────────────────────────────────────────────────────────────── // Overlay DOM — created lazily on first render, reused after that // ───────────────────────────────────────────────────────────────────────── var overlayEl = null; function getOverlay() { if (overlayEl) return overlayEl; overlayEl = document.createElement('div'); overlayEl.id = 'mk_mfv_overlay'; overlayEl.className = 'mk-mfv-overlay'; overlayEl.setAttribute('role', 'dialog'); overlayEl.setAttribute('aria-modal', 'true'); document.body.appendChild(overlayEl); return overlayEl; } function dismiss() { if (overlayEl) overlayEl.style.display = 'none'; document.documentElement.classList.remove('mk-mfv-open'); try { sessionStorage.setItem(SESSION_KEY, '1'); } catch (e) {} } function wasDismissed() { try { return sessionStorage.getItem(SESSION_KEY) === '1'; } catch (e) { return false; } } // ───────────────────────────────────────────────────────────────────────── // Public API // ───────────────────────────────────────────────────────────────────────── /** * @param {string} slotId - Exact GPT slot path from ads.ts. * Use the %%ADUNIT%% GAM macro in the creative. * @param {string} imageUrl - Creative image URL (320x416). * @param {string} destUrl - Destination URL when the creative is clicked. */ window.renderMobileFirstView = function (slotId, imageUrl, destUrl) { var entry = REGISTRY[slotId]; if (!entry) { if (OTHER[slotId]) { console.warn( '[renderMobileFirstView] Slot "' + slotId + '" belongs to the ' + OTHER_LABEL + ', but this renderer is mounted on the ' + PAGE_LABEL + '. No content rendered.' ); } else { console.warn( '[renderMobileFirstView] Unknown slotId "' + slotId + '" on ' + PAGE_LABEL + '. Verify it matches an entry in MobileFirstViewRenderer.astro and ads.ts.' ); } return; } if (wasDismissed()) return; var overlay = getOverlay(); overlay.innerHTML = ' ' + ' ' + entry.bannerLabel + ' ' + ' ' + entry.skipLabel + ' × ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' '; overlay.style.display = 'flex'; document.documentElement.classList.add('mk-mfv-open'); overlay.querySelector('.mk-mfv-skip').addEventListener('click', dismiss); }; })(); 最热议 最抢眼 从数据看安华执政四年,大马经济对比区域表现如何? 5h ago 警方破门入官邸押送上庭,慕巴拉被控煽动但不认罪 2h ago 丹大臣遇袭受轻伤,嫌疑人毒品筛检呈阳 1h ago 若有证据资助传播基督教,当局将查Atomy资金流向 17h ago 数据中心巨头决定跟Megaspeed在马业务切割 1d ago globalThis.process??={},globalThis.process.env??={};var e=document.querySelectorAll(`.trending-btns button`),t=document.querySelector(`.trending-articles-list`);function n(e){t?.querySelectorAll(`ul[data-list]`).forEach(t=>{t.hidden=t.dataset.list!==e})}e.forEach(t=>{t.addEventListener(`click`,()=>{let r=t.dataset.tab;e.forEach(e=>e.classList.remove(`active`)),t.classList.add(`active`),n(r)})});async function r(){let e=t?.dataset.lang,n=t?.querySelector(`ul[data-list="most-commented"]`);if(t&&e&&n)try{let t=await fetch(`/api/mostread/${e}`);if(!t.ok)return;let r=new DOMParser().parseFromString(await t.text(),`text/html`).querySelector(`[data-list="most-commented"]`);r&&(n.innerHTML=r.innerHTML)}catch{}}r(); 新聞 ✕ 截至11月,数码身份证注册人数达1480万 马新社 刊载: Dec 4, 2026 2:06 PM 截至11月19日,共有1480万名马来西亚人注册国国家数码身份证(MyDigital ID)。 副首相阿末扎希说,MyDigital ID是政府开发的数码身份验证平台,通过与国民登记局的数据库进行交叉核对,以核实用户身份。 也是乡村及区域发展部长的阿末扎希指出,这个系统秉持“隐私保护融入设计”的原则,从开发初期便优先考虑用户隐私和安全。 “系统采用密码学技术,将数据转换成无法直接读取的哈希值,以避免用户资料以容易读取的明文形式储存或处理,从而保护用户资料。” 截至11月19日,共有1480万名马来西亚人注册国家数码身份证(MyDigital ID)。 副首相阿末扎希说,MyDigital ID是政府开发的数码身份验证平台,通过与国民登记局的数据库进行交叉核对,以核实用户身份。 也是乡村及区域发展部长的阿末扎希指出,这个系统秉持“隐私保护融入设计”的原则,从开发初期便优先考虑用户隐私和安全。 “系统采用密码学技术,将数据转换成无法直接读取的哈希值,以避免用户资料以容易读取的明文形式储存或处理,从而保护用户资料。” “此外,加密技术则用于保护数据在临时储存和系统之间传输过程中的安全,确保用户资料的保密性和安全性时刻受到保障。” “因此,MyDigital ID不会储存用户的年龄、所属州属和性别等资料,也不会储存各群体注册人数占符合资格总人口的渗透率数据。” 扎希是在国会下议院通过书面答复,回答希盟居銮国会议员黄书琪的提问,即MyDigital ID按年龄、州属和性别划分的注册统计数据,以及政府提高乐龄人士参与率的计划。 扩大注册范围 扎希表示,政府正通过多项针对性计划,全面且包容地扩大MyDigital ID的注册范围,包括鼓励乐龄人士参与。 该计划包括昌明人民计划(Program MADANI Rakyat)、我们的昌明计划(Program MADANI Kita),以及乡村社区计划(PKD)。 他说,MyDigital ID也已整合至朝圣基金局的电子朝圣指导应用程式(e-Bimbingan Haji),并配合2026年朝圣综合课程(Kursus Perdana Haji),在全国18个地点展开注册活动。 他指出,政府也正扩大注册协助亭的设置范围,以协助数码技能有限的乐龄人士和公众完成注册。 “目前,全国有超过700台MyDigital ID注册协助亭,设置在指定邮政局分行、国民登记局、国家高等教育基金局(PTPTN)、昌明关怀协助亭(Kios Sentuhan MADANI)和屈臣氏(Watsons)药行等地点。” “另外400台注册协助亭正在安装中,地点涵盖全国城市和乡区的策略性位置。” 扎希说,政府也继续保留实体协助柜台,让人民能够通过柜台获取所需的政府协助。 Waze受以色列法律约束,政府鼓励民众用本土导航TuJu 1200万人注册数码身份证,114项政府线上协助整合 怀疑有Turap内阁文件,警方搜查《当今》记者住家 Bestinet誓用一切必要法律手段,反击污蔑诽谤 掌24亿护照大马卡合约,NexG董事权斗掀政商风暴 MCMC申请撤社媒有害内容,张念群说赌博占比最高 数码身份证管理不当,部长称因委员会架构引“混乱” 数码身份证项目爆弊端,2813万支出未经适当批准 (function placePaywallTeaser() { // Without an introduction, the paywall sits after this body paragraph, // or after the last one if the article is shorter. var TEASER_PARAGRAPHS = 4; var paywall = document.querySelector('.article-content .article-paywall'); var body = document.querySelector('.article-content [data-wb-article-body]'); if (!paywall || !body) return; var hasIntroduction = paywall.getAttribute('data-has-introduction') === '1'; var observer = new MutationObserver(function () { // The loader flags its message with data-wb-paywall-marker once it has // appended it and detached the article body (same task, so it's set by now). var marker = paywall.querySelector(':scope > [data-wb-paywall-marker]'); if (!marker) return; observer.disconnect(); var teaser = document.createDocumentFragment(); if (hasIntroduction) { // The introduction (already rendered above the marker) is the whole // teaser. Bring only the teaser-allowed ads (Underlay, marked // data-paywall-teaser) over from the detached body, after it. Array.prototype.forEach.call( body.querySelectorAll(':scope > .ad-wrapper[data-paywall-teaser]'), function (ad) { teaser.appendChild(ad); } ); } else { // Same content-paragraph rule as the in-content ad injection: skip empty spacers. var paragraphs = Array.prototype.filter.call(body.querySelectorAll(':scope > p'), function (p) { return p.textContent.trim().length > 0; }); if (paragraphs.length === 0) return; var last = paragraphs[Math.min(TEASER_PARAGRAPHS, paragraphs.length) - 1]; var node = body.firstChild; while (node) { var next = node.nextSibling; // Leave injected in-content ads behind in the detached body, except // those allowed in the teaser (Underlay, marked data-paywall-teaser). var isAd = node.nodeType === 1 && node.classList.contains('ad-wrapper'); if (!isAd || node.hasAttribute('data-paywall-teaser')) { teaser.appendChild(node); } if (node === last) break; node = next; } // Replace the (empty) introduction with the article's own paragraphs. while (paywall.firstChild && paywall.firstChild !== marker) { paywall.removeChild(paywall.firstChild); } } paywall.insertBefore(teaser, marker); // Slots may already be defined (BaseLayout's GPT init / revealDeferredAds()): // ads left in the detached body point at DIVs no longer on the page, so // destroy them; teaser ads lost their creative iframe when the body was // detached, so refresh them — only those already requested (data-requested, // set by @lib/utils/ads): with initial load disabled, a defined-but-unrequested // slot is still awaiting the header-bidding refresh, and refreshing it here // too would request it twice. Not-yet-defined slots are picked up normally // (their offsetParent checks see the teaser ads as on the page). // Queued on googletag.cmd so it runs after any define already queued. window.googletag = window.googletag || { cmd: [] }; window.googletag.cmd.push(function () { function ids(root) { return Array.prototype.map.call(root.querySelectorAll('.advertisement[id]'), function (el) { return el.id; }); } var leftIds = ids(body); var teaserIds = ids(paywall); var slots = googletag.pubads().getSlots(); var toDestroy = slots.filter(function (s) { return leftIds.indexOf(s.getSlotElementId()) !== -1; }); var toRefresh = slots.filter(function (s) { var el = document.getElementById(s.getSlotElementId()); return teaserIds.indexOf(s.getSlotElementId()) !== -1 && el && el.dataset.requested === '1'; }); if (toDestroy.length > 0) googletag.destroySlots(toDestroy); if (toRefresh.length > 0) googletag.pubads().refresh(toRefresh); }); }); observer.observe(paywall, { childList: true }); })(); 0 0 相关报道 8 Waze受以色列法律约束,政府鼓励民众用本土导航TuJu 20-10-2026 1200万人注册数码身份证,114项政府线上协助整合 08-07-2026 怀疑有Turap内阁文件,警方搜查《当今》记者住家 27-04-2026 Bestinet誓用一切必要法律手段,反击污蔑诽谤 24-04-2026 掌24亿护照大马卡合约,NexG董事权斗掀政商风暴 17-03-2026 MCMC申请撤社媒有害内容,张念群说赌博占比最高 09-03-2026 数码身份证管理不当,部长称因委员会架构引“混乱” 25-02-2026 数码身份证项目爆弊端,2813万支出未经适当批准 23-02-2026 阅读评论 0 评论 所有评论 留言 0 一旦您选择留言评论,即意味您已同意我们的在此列明的使用条规 读者留言需知 使用条规 我们不会容忍任何粗言秽语、亵渎、粗鄙、诽谤、人身攻击、威胁恐吓,以及性歧视言论,或任何可能涉及违法,或冒犯他人的沟通方式。任何人若有“洗版”和“恶搞”等反社会行为会遭到停权。严重违规者甚至会永久停权。 检举违规者 每则评论下都有检举违规的管道,请善用它以便我们审查。请勿自行处理问题,以免触发不愉快和没必要的纷争,更导致自己被冻结权利,甚至永久停权。 通告 留言系统仍在开发中,读者意见已悉数记录。 订户专区: 您是订户吗? 登录 尚未订阅? 订阅 提交 尚有3200字 待审留言 0 More More 确定要删除留言? 此后将无法恢复 取消 删除 举报这则留言 我认为这则留言违反了此功能的条款 其他 尚有500字 取消 提交报告 --> (function () { // ───────────────────────────────────────────────────────────────────────── // HTML builders // Pure functions — no DOM access. Each receives: // (title, url, image, description, badgeLabel) → HTML string // ───────────────────────────────────────────────────────────────────────── function _mkPicture(src, alt) { return ( ' ' + ' ' + ' ' + ' ' + ' ' ); } function _mkBadge(label) { return ' ' + (label || 'Branded Content') + ' '; } /** Homepage slot 1 — large image + title */ function _buildHpSlot1(title, url, image, _desc, badgeLabel) { return ( ' ' + ' ' + ' ' + ' ' + _mkBadge(badgeLabel) + ' ' + ' ' + ' ' + _mkPicture(image, title) + ' ' + ' ' + title + ' ' + ' ' + ' ' + ' ' + ' ' ); } /** Homepage slot 2 — badge above image */ function _buildHpSlot2(title, url, image, _desc, badgeLabel) { return ( ' ' + ' ' + _mkBadge(badgeLabel) + ' ' + ' ' + ' ' + ' ' + _mkPicture(image, title) + ' ' + ' ' + title + ' ' + ' ' + ' ' + ' ' ); } /** Homepage slot 3 — header-wrapper layout */ function _buildHpSlot3(title, url, image, _desc, badgeLabel) { return ( ' ' + ' ' + (badgeLabel || 'Branded Content') + ' ' + ' ' + ' ' + ' ' + ' ' + _mkPicture(image, title) + ' ' + ' ' + title + ' ' + ' ' + ' ' ); } /** Article page — left sidebar slot, with optional description */ function _buildIpSidebarSlot(title, url, image, description, badgeLabel) { return ( ' ' + ' ' + ' ' + ' ' + _mkPicture(image, title) + ' ' + ' ' + _mkBadge(badgeLabel) + ' ' + ' ' + ' ' + title + ' ' + (description ? ' ' + description + ' ' : '') + ' ' + ' ' ); } // ───────────────────────────────────────────────────────────────────────── // Registries // // Key: exact slotId from ads.ts (e.g. '/6929183/MK-EN//Home//BrandedContentNew1') // Value: { domTargetId, build, badgeLabel } // // domTargetId — id of the DOM element that receives the injected HTML // build — HTML builder for this placement's visual structure // badgeLabel — default badge text; creative can override via last arg // // Only the registry matching the current page is active at runtime. // ───────────────────────────────────────────────────────────────────────── /** @type {Record } */ var HOME_REGISTRY = { // ── Desktop ─────────────────────────────────────────────────────────── // EN '/6929183/MK-EN//Home//BrandedContentNew1': { domTargetId: 'home_branded_content_1', build: _buildHpSlot1, badgeLabel: 'Branded Content', }, '/6929183/MK-EN//Home//BrandedContentNew2': { domTargetId: 'home_branded_content_2', build: _buildHpSlot2, badgeLabel: 'Branded Content', }, '/6929183/MK-EN//Home//BrandedContentNew3': { domTargetId: 'home_branded_content_3', build: _buildHpSlot3, badgeLabel: 'Branded Content', }, // BM '/6929183/MK-BM//Home//BrandedContentNew1': { domTargetId: 'home_branded_content_1', build: _buildHpSlot1, badgeLabel: 'Kandungan Berjenama', }, '/6929183/MK-BM//Home//BrandedContentNew2': { domTargetId: 'home_branded_content_2', build: _buildHpSlot2, badgeLabel: 'Kandungan Berjenama', }, '/6929183/MK-BM//Home//BrandedContentNew3': { domTargetId: 'home_branded_content_3', build: _buildHpSlot3, badgeLabel: 'Kandungan Berjenama', }, // ZH '/6929183/MK-CN//Home//BrandedContentNew1': { domTargetId: 'home_branded_content_1', build: _buildHpSlot1, badgeLabel: '品牌内容', }, '/6929183/MK-CN//Home//BrandedContentNew2': { domTargetId: 'home_branded_content_2', build: _buildHpSlot2, badgeLabel: '品牌内容', }, '/6929183/MK-CN//Home//BrandedContentNew3': { domTargetId: 'home_branded_content_3', build: _buildHpSlot3, badgeLabel: '品牌内容', }, // ── Mobile ──────────────────────────────────────────────────────────── // Same DOM targets as desktop — mobile slots render into the same positions. // EN '/6929183/mk_en_mobile_hp_bc_new_1': { domTargetId: 'home_branded_content_1', build: _buildHpSlot1, badgeLabel: 'Branded Content', }, '/6929183/mk_en_mobile_hp_bc_new_2': { domTargetId: 'home_branded_content_2', build: _buildHpSlot2, badgeLabel: 'Branded Content', }, '/6929183/mk_en_mobile_hp_bc_new_3': { domTargetId: 'home_branded_content_3', build: _buildHpSlot3, badgeLabel: 'Branded Content', }, // BM '/6929183/mk_my_mobile_hp_bc_new_1': { domTargetId: 'home_branded_content_1', build: _buildHpSlot1, badgeLabel: 'Kandungan Berjenama', }, '/6929183/mk_my_mobile_hp_bc_new_2': { domTargetId: 'home_branded_content_2', build: _buildHpSlot2, badgeLabel: 'Kandungan Berjenama', }, '/6929183/mk_my_mobile_hp_bc_new_3': { domTargetId: 'home_branded_content_3', build: _buildHpSlot3, badgeLabel: 'Kandungan Berjenama', }, // ZH '/6929183/mk_zh_mobile_hp_bc_new_1': { domTargetId: 'home_branded_content_1', build: _buildHpSlot1, badgeLabel: '品牌内容', }, '/6929183/mk_zh_mobile_hp_bc_new_2': { domTargetId: 'home_branded_content_2', build: _buildHpSlot2, badgeLabel: '品牌内容', }, // '/6929183/mk_zh_mobile_hp_bc_new_3': not yet available — add entry here when ready }; /** @type {Record } */ var NEWS_REGISTRY = { // EN ────────────────────────────────────────────────────────────────── '/6929183/MK-EN//News//BrandedContentNew1': { domTargetId: 'article_branded_content_1', build: _buildIpSidebarSlot, badgeLabel: 'Branded Content', }, '/6929183/MK-EN//News//BrandedContentNew2': { domTargetId: 'article_branded_content_2', build: _buildIpSidebarSlot, badgeLabel: 'Branded Content', }, '/6929183/MK-EN//News//BrandedContentNew3': { domTargetId: 'article_branded_content_3', build: _buildIpSidebarSlot, badgeLabel: 'Branded Content', }, // BM ────────────────────────────────────────────────────────────────── '/6929183/MK-BM//News//BrandedContentNew1': { domTargetId: 'article_branded_content_1', build: _buildIpSidebarSlot, badgeLabel: 'Kandungan Berjenama', }, '/6929183/MK-BM//News//BrandedContentNew2': { domTargetId: 'article_branded_content_2', build: _buildIpSidebarSlot, badgeLabel: 'Kandungan Berjenama', }, '/6929183/MK-BM//News//BrandedContentNew3': { domTargetId: 'article_branded_content_3', build: _buildIpSidebarSlot, badgeLabel: 'Kandungan Berjenama', }, // ZH ────────────────────────────────────────────────────────────────── '/6929183/MK-CN//News//BrandedContentNew1': { domTargetId: 'article_branded_content_1', build: _buildIpSidebarSlot, badgeLabel: '品牌内容', }, '/6929183/MK-CN//News//BrandedContentNew2': { domTargetId: 'article_branded_content_2', build: _buildIpSidebarSlot, badgeLabel: '品牌内容', }, '/6929183/MK-CN//News//BrandedContentNew3': { domTargetId: 'article_branded_content_3', build: _buildIpSidebarSlot, badgeLabel: '品牌内容', }, }; // ───────────────────────────────────────────────────────────────────────── // Boot — resolve the active registry from the SSR-inlined data-page attr // ───────────────────────────────────────────────────────────────────────── var currentPage = document.currentScript ? document.currentScript.getAttribute('data-page') : (document.querySelector('script[data-page]') || {}).getAttribute('data-page'); var REGISTRY = currentPage === 'news' ? NEWS_REGISTRY : HOME_REGISTRY; var OTHER = currentPage === 'news' ? HOME_REGISTRY : NEWS_REGISTRY; var PAGE_LABEL = currentPage === 'news' ? 'article page' : 'homepage'; var OTHER_LABEL = currentPage === 'news' ? 'homepage' : 'article page'; // ───────────────────────────────────────────────────────────────────────── // Public API // ───────────────────────────────────────────────────────────────────────── /** * @param {string} slotId - Exact GPT slot path from ads.ts. * Use the %%ADUNIT%% GAM macro in the creative. * @param {string} title - Content title. * @param {string} url - Destination URL. * @param {string} image - Image URL. * @param {string} [badgeLabel] - Optional badge label override. * @param {string} [description] - Optional description (article sidebar slots only). */ window.renderBrandedContent = function (slotId, title, url, image, badgeLabel, description) { var entry = REGISTRY[slotId]; if (!entry) { if (OTHER[slotId]) { console.warn( '[renderBrandedContent] Slot "' + slotId + '" belongs to the ' + OTHER_LABEL + ', ' + 'but this renderer is mounted on the ' + PAGE_LABEL + '. No content rendered.' ); } else { console.warn( '[renderBrandedContent] Unknown slotId "' + slotId + '" on ' + PAGE_LABEL + '. ' + 'Verify it matches an entry in BrandedContentRenderer.astro and ads.ts.' ); } return; } var target = document.getElementById(entry.domTargetId); if (!target) { console.warn( '[renderBrandedContent] DOM target #' + entry.domTargetId + ' not found. ' + 'slotId: ' + slotId ); return; } target.innerHTML = entry.build(title, url, image, description || '', badgeLabel || entry.badgeLabel); }; })(); 关于《当今大马》 雇员资讯 隐私政策 协助条款 想要打广告 工作机会 文档 姐妹网站 KiniTV FG Media RSS订阅 新闻 专栏 来函 编辑部(中文版) chinese-editor@malaysiakini.com 订阅部 +6017-323 0707 subscribe@malaysiakini.com Advertising advertise@malaysiakini.com advertise@fgmedia.my Mkini Dotcom Sdn Bhd (199901014818 / 489718-U) No. 9, Jalan 51/205A, Off Jalan Tandang, 46050 Petaling Jaya, Selangor 联系我们 编辑部(中文版) chinese-editor@malaysiakini.com 订阅部 +603-7770 0017 subscribe@malaysiakini.com @Kini No. 9, Jalan 51/205A, Off Jalan Tandang, 46050 Petaling Jaya, Selangor globalThis.process??={},globalThis.process.env??={},document.addEventListener(`DOMContentLoaded`,()=>{let e=document.getElementById(`mobileDropdownToggle`),t=document.getElementById(`mobileDropdownContent`);e&&t&&e.addEventListener(`click`,()=>{let n=t.classList.contains(`open`);t.classList.toggle(`open`),e.classList.toggle(`active`);let r=e.querySelector(`.dropdown-icon`);r&&(r.style.transform=n?`rotate(0deg)`:`rotate(180deg)`)})}); globalThis.process??={},globalThis.process.env??={},(function(){let e=window.innerWidth {let t=e.parentElement;t?.classList.contains(`ad-center`)?t.remove():e.remove()})})(),googletag.cmd.push(function(){document.querySelectorAll(`.advertisement`).forEach(e=>{if(e.style.display===`none`||e.offsetParent===null)return;let t=e.dataset.adunit,n=e.id;if(t&&n&&e.dataset.deferDisplay!==`true`){if(e.dataset.oop===`true`)googletag.defineOutOfPageSlot(t,n)?.addService(googletag.pubads());else{let r=e.dataset.dimension;if(!r)return;let i;try{i=JSON.parse(r)}catch{console.warn(`[GPT] Cannot parse sizes for`,n);return}googletag.defineSlot(t,i,n)?.addService(googletag.pubads())}}}),googletag.setConfig({singleRequest:!0,collapseDiv:`ON_NO_FILL`,videoAds:{enableVideoAds:!0}}),googletag.enableServices()}),googletag.cmd.push(function(){document.querySelectorAll(`.advertisement`).forEach(e=>{if(e.style.display===`none`||e.dataset.loaded===`1`||e.offsetParent===null||e.dataset.deferDisplay===`true`)return;let t=e.id;t&&(googletag.display(t),e.dataset.loaded=`1`)})}); 立即咨询相关文章 -
EN BM 中文 TA 登录 订阅 (function(){const SESSION_CACHE_KEY = "wb_session_cache_v5"; const VISITOR_CACHE_VERSION_COOKIE = "vis