Iran's Warning Over Beirut: A Chilling Signal of Possible Regional War
0) { designTemplateLoaded = true; deeplinkElements.forEach((element) => { if (!element) return; element.classList.remove("oi-recommended-articles-option1", "oi-recommended-articles-option2", "oi-recommended-articles-option3"); element.classList.add(`oi-recommended-articles-option${designLoaded}`); const updateLink = () => { const link = element.querySelector("a"); if (!link) return false; link.dataset.uparam = `ref_source=${hostParam}-${langParam}&ref_medium=Article-Page&ref_campaign=Deep-Links-D${designLoaded}`; return true; // try updating immediately updateLink(); // observe only if link not yet present const observer = new MutationObserver(() => { if (updateLink()) { observer.disconnect(); observer.observe(element, { childList: true, subtree: true }); globalAnchorClick() // calculate next design let nextDesign = (designLoaded % 3) + 1; sessionStorage.setItem("design", nextDesign); .catch((err) => { console.log("deeplink loading...", err); if (!lotteryPageAdLoaded) { lotteryPageAdLoaded = true; if (document.head.dataset.engTags.includes("lottery") && document.head.dataset.monetization == "false") { if (domainmiddle == "goodreturns") { commonFunctions.loadAd( document.getElementById("bottom-sticky"), (atOptions = { key: "ecf07c14b507ef20f5bc289adb3b36bd", format: "iframe", height: 50, width: 320, params: {}, "https://engineerfoal.com/ecf07c14b507ef20f5bc289adb3b36bd/invoke.js", if (document.getElementById("stickymaincon")) { document.getElementById("stickymaincon").style.display = "block"; if (document.getElementById("bottomAdWrapper")) { document.getElementById("bottomAdWrapper").style.setProperty("display", "block", "important"); commonFunctions.loadAd( document.getElementById("are-slot-1"), (atOptions = { key: "5f45a40e971323b65893db3d0e63a14f", format: "iframe", height: 250, width: 300, params: {}, "https://engineerfoal.com/5f45a40e971323b65893db3d0e63a14f/invoke.js", if (domainmiddle == "oneindia") { commonFunctions.loadAd( document.getElementById("bottom-sticky"), (atOptions = { key: "89758f0f4693df9548968afdb5a4d902", format: "iframe", height: 50, width: 320, params: {}, "https://engineerfoal.com/89758f0f4693df9548968afdb5a4d902/invoke.js", if (document.getElementById("stickymaincon")) { document.getElementById("stickymaincon").style.display = "block"; if (document.getElementById("bottomAdWrapper")) { document.getElementById("bottomAdWrapper").style.setProperty("display", "block", "important"); commonFunctions.loadAd( document.getElementById("are-slot-1"), (atOptions = { key: "ce146180f15d99aff15253386c46ae5a", format: "iframe", height: 250, width: 300, params: {}, "https://engineerfoal.com/ce146180f15d99aff15253386c46ae5a/invoke.js", if (!indianSutrasAds) { let adSlots = document.querySelectorAll("[id^='are-slot-']"); indianSutrasAds = true; if (adSlots.length) { adSlots.forEach((element) => { if (window.location.hostname == "hindi.indiansutras.com") { let nativeDiv = document.createElement("div"); nativeDiv.id = "4dcfbc057e2ae8589f9bbd98b591c50a"; const js = document.createElement("script"); js.type = "text/javascript"; js.src = "https://click.nativclick.com/loading/?handle=9699"; js.async = false; // force execution order nativeDiv.appendChild(js); element.appendChild(nativeDiv); if (window.location.hostname == "tamil.indiansutras.com") { let nativeDiv = document.createElement("div"); nativeDiv.id = "fc2dc7d20994a777cfd5e6de734fe254"; const js = document.createElement("script"); js.type = "text/javascript"; js.src = "https://click.nativclick.com/loading/?handle=9698"; js.async = false; // force execution order nativeDiv.appendChild(js); element.appendChild(nativeDiv); if (refiner_live && refineryHost.includes(domainmiddle)) { if (!refinery_flag) { refinery_flag = true; loadrefinery(); if (!affinityInserted) { affinityInserted = true; if (affMatrix == 1 && trackpagetype != "home") { affinityMatrix(); if (!chartbeatLoaded) { chartbeatLoaded = true; if (chartbeatflag == 1) { if (typeof ga_author_name === "undefined") { let ga_author_name = ""; if (typeof oi_category_name === "undefined") { let oi_category_name = ""; let parts = window.location.hostname.split("."); let charbeatdomain = window.location.hostname; //parts.slice(-2).join('.'); let _sf_async_config = (window._sf_async_config = window._sf_async_config || {}); _sf_async_config.uid = 51426; _sf_async_config.domain = charbeatdomain; _sf_async_config.flickerControl = false; _sf_async_config.useCanonical = true; _sf_async_config.useCanonicalDomain = true; _sf_async_config.sections = oi_category_name; _sf_async_config.authors = ga_author_name; loadChartbeat(); if (!sessionStorage.getItem("clarityLoaded")) { if (!clarityFlag) { clarityFlag = true; fetch("/common/clarity-tracking.json?v=" + clarityVersion) .then((response) => response.json()) .then((data) => { const clarityId = data[domainmiddle]?.[claritylangParam]; if (!clarityId) { console.error("Clarity ID not found for the given domain and language!"); return; (function (c, l, a, r, i, t, y) { c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments); t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i; y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); })(window, document, "clarity", "script", clarityId); if (window.location.hostname === "www.oneindia.com") { if (window.googletag && googletag.apiReady) { checkConsentAndTriggerClarity(); // Mark Clarity as loaded in this session sessionStorage.setItem("clarityLoaded", "true"); .catch((error) => { console.error("Error loading the clarify-tracking.json file:", error); if (!rubiconProjectLoaded) { rubiconProjectLoaded = true; if ("odia.oneindia.com" == window.location.hostname || ["drivespark", "boldsky", "mykhel"].includes(domainmiddle)) { let rubicon = document.createElement("script"); rubicon.src = "https://link.rubiconproject.com/magnite/7523.js"; document.head.appendChild(rubicon); if (window.location.hostname === "www.oneindia.com") { if (document.getElementById("shiPromo")) { function trackImpHealth(impUrl) { fetch(impUrl, { method: "GET", mode: "no-cors", }).catch(function (err) { console.log("Inside Imp error:", err); document.getElementById("shiPromo").addEventListener("click", function (event) { event.preventDefault(); // Prevent default navigation let url = this.href; if (document.getElementById("dynamicanchor")) { document.getElementById("dynamicanchor").remove(); var link = document.createElement("a"); link.target = "_blank"; link.id = "dynamicanchor"; link.href = url; document.body.appendChild(link); document.getElementById("dynamicanchor").click(); let healthImpUrl = "https://pubads.g.doubleclick.net/gampad/clk?id=6924557502&iu=/1008496/clicktracker-oi-1"; trackImpHealth(healthImpUrl); function checkConsentAndTriggerClarity() { window.googlefc = window.googlefc || {}; window.googlefc.callbackQueue = window.googlefc.callbackQueue || []; window.googlefc.callbackQueue.push({ CONSENT_DATA_READY: () => __tcfapi("addEventListener", 2, (tcData, success) => { if (success) { const hasConsent = tcData.purpose.consents && tcData.purpose.consents[1]; if (hasConsent) { console.log("Consent granted for tracking"); window.clarity("consent"); } else { console.log("Consent not granted for tracking"); } else { console.log("Unable to retrieve consent status or TC Data is invalid"); /*---------------------------------------Momagic Code Starts--------------------------------------------------------*/ var moMagicHost = ["oneindia", "drivespark", "mykhel", "filmibeat", "goodreturns"]; function trackMoMagic(evnAct, evnLbl) { var curTimeStamp = Math.round(new Date().getTime() / 1000); var extraparam = "×tamp=" + curTimeStamp; if (/Mobi|Android/i.test(navigator.userAgent)) { var triggerDevice = "mobile"; //mobile/desktop var triggerDevice = "desktop"; //mobile/desktop var img = document.createElement("img"); img.src = "https://" + finalImagePath + "/images/tracker.jpg?tracker=oi-tracker-cms&device=" + triggerDevice + "&type=momagictracker&eventcategory=momagic&eventaction=" + evnAct + "&eventlebel=" + evnLbl + extraparam; img.setAttribute("id", "trackermomagicimage"); img.setAttribute("alt", "Momagic Tracker"); img.setAttribute("width", 1); img.setAttribute("height", 1); img.style.display = "none"; document.body.appendChild(img); var trackerGA = "G-BGSPW5MRBP"; trueReachLoad = false; var backRef = documentRef; if (moMagicHost.includes(domainmiddle)) { if (promoArticle == 0) { var evtLbl = "en-oi"; if (langParam != "" && langParam != undefined && langParam != null) { var dynsrc = langParam + "-" + hostParam; evtLbl = dynsrc.toLowerCase(); if (/Mobi|Android/i.test(navigator.userAgent)) { if (momagicFlag === 1) { if (document.referrer.indexOf("oneindia.com") !== -1 || document.referrer.indexOf("filmibeat.com") !== -1 || document.referrer.indexOf("drivespark.com") !== -1 || document.referrer.indexOf("mykhel.com") !== -1 || document.referrer.indexOf("goodreturns.in") !== -1) { trackMoMagic("referral", evtLbl); } else { var moMagicSession = sessionStorage.getItem("moMagicSession"); if (moMagicSession) { trackMoMagic("referral", evtLbl); } else { sessionStorage.setItem("moMagicSession", 1); /*---------------------------------------Momagic Code Ends"> 0) { designTemplateLoaded = true; deeplinkElements.forEach((element) => { if (!element) return; element.classList.remove("oi-recommended-articles-option1", "oi-recommended-articles-option2", "oi-recommended-articles-option3"); element.classList.add(`oi-recommended-articles-option${designLoaded}`); const updateLink = () => { const link = element.querySelector("a"); if (!link) return false; link.dataset.uparam = `ref_source=${hostParam}-${langParam}&ref_medium=Article-Page&ref_campaign=Deep-Links-D${designLoaded}`; return true; // try updating immediately updateLink(); // observe only if link not yet present const observer = new MutationObserver(() => { if (updateLink()) { observer.disconnect(); observer.observe(element, { childList: true, subtree: true }); globalAnchorClick() // calculate next design let nextDesign = (designLoaded % 3) + 1; sessionStorage.setItem("design", nextDesign); .catch((err) => { console.log("deeplink loading...", err); if (!lotteryPageAdLoaded) { lotteryPageAdLoaded = true; if (document.head.dataset.engTags.includes("lottery") && document.head.dataset.monetization == "false") { if (domainmiddle == "goodreturns") { commonFunctions.loadAd( document.getElementById("bottom-sticky"), (atOptions = { key: "ecf07c14b507ef20f5bc289adb3b36bd", format: "iframe", height: 50, width: 320, params: {}, "https://engineerfoal.com/ecf07c14b507ef20f5bc289adb3b36bd/invoke.js", if (document.getElementById("stickymaincon")) { document.getElementById("stickymaincon").style.display = "block"; if (document.getElementById("bottomAdWrapper")) { document.getElementById("bottomAdWrapper").style.setProperty("display", "block", "important"); commonFunctions.loadAd( document.getElementById("are-slot-1"), (atOptions = { key: "5f45a40e971323b65893db3d0e63a14f", format: "iframe", height: 250, width: 300, params: {}, "https://engineerfoal.com/5f45a40e971323b65893db3d0e63a14f/invoke.js", if (domainmiddle == "oneindia") { commonFunctions.loadAd( document.getElementById("bottom-sticky"), (atOptions = { key: "89758f0f4693df9548968afdb5a4d902", format: "iframe", height: 50, width: 320, params: {}, "https://engineerfoal.com/89758f0f4693df9548968afdb5a4d902/invoke.js", if (document.getElementById("stickymaincon")) { document.getElementById("stickymaincon").style.display = "block"; if (document.getElementById("bottomAdWrapper")) { document.getElementById("bottomAdWrapper").style.setProperty("display", "block", "important"); commonFunctions.loadAd( document.getElementById("are-slot-1"), (atOptions = { key: "ce146180f15d99aff15253386c46ae5a", format: "iframe", height: 250, width: 300, params: {}, "https://engineerfoal.com/ce146180f15d99aff15253386c46ae5a/invoke.js", if (!indianSutrasAds) { let adSlots = document.querySelectorAll("[id^='are-slot-']"); indianSutrasAds = true; if (adSlots.length) { adSlots.forEach((element) => { if (window.location.hostname == "hindi.indiansutras.com") { let nativeDiv = document.createElement("div"); nativeDiv.id = "4dcfbc057e2ae8589f9bbd98b591c50a"; const js = document.createElement("script"); js.type = "text/javascript"; js.src = "https://click.nativclick.com/loading/?handle=9699"; js.async = false; // force execution order nativeDiv.appendChild(js); element.appendChild(nativeDiv); if (window.location.hostname == "tamil.indiansutras.com") { let nativeDiv = document.createElement("div"); nativeDiv.id = "fc2dc7d20994a777cfd5e6de734fe254"; const js = document.createElement("script"); js.type = "text/javascript"; js.src = "https://click.nativclick.com/loading/?handle=9698"; js.async = false; // force execution order nativeDiv.appendChild(js); element.appendChild(nativeDiv); if (refiner_live && refineryHost.includes(domainmiddle)) { if (!refinery_flag) { refinery_flag = true; loadrefinery(); if (!affinityInserted) { affinityInserted = true; if (affMatrix == 1 && trackpagetype != "home") { affinityMatrix(); if (!chartbeatLoaded) { chartbeatLoaded = true; if (chartbeatflag == 1) { if (typeof ga_author_name === "undefined") { let ga_author_name = ""; if (typeof oi_category_name === "undefined") { let oi_category_name = ""; let parts = window.location.hostname.split("."); let charbeatdomain = window.location.hostname; //parts.slice(-2).join('.'); let _sf_async_config = (window._sf_async_config = window._sf_async_config || {}); _sf_async_config.uid = 51426; _sf_async_config.domain = charbeatdomain; _sf_async_config.flickerControl = false; _sf_async_config.useCanonical = true; _sf_async_config.useCanonicalDomain = true; _sf_async_config.sections = oi_category_name; _sf_async_config.authors = ga_author_name; loadChartbeat(); if (!sessionStorage.getItem("clarityLoaded")) { if (!clarityFlag) { clarityFlag = true; fetch("/common/clarity-tracking.json?v=" + clarityVersion) .then((response) => response.json()) .then((data) => { const clarityId = data[domainmiddle]?.[claritylangParam]; if (!clarityId) { console.error("Clarity ID not found for the given domain and language!"); return; (function (c, l, a, r, i, t, y) { c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments); t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i; y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); })(window, document, "clarity", "script", clarityId); if (window.location.hostname === "www.oneindia.com") { if (window.googletag && googletag.apiReady) { checkConsentAndTriggerClarity(); // Mark Clarity as loaded in this session sessionStorage.setItem("clarityLoaded", "true"); .catch((error) => { console.error("Error loading the clarify-tracking.json file:", error); if (!rubiconProjectLoaded) { rubiconProjectLoaded = true; if ("odia.oneindia.com" == window.location.hostname || ["drivespark", "boldsky", "mykhel"].includes(domainmiddle)) { let rubicon = document.createElement("script"); rubicon.src = "https://link.rubiconproject.com/magnite/7523.js"; document.head.appendChild(rubicon); if (window.location.hostname === "www.oneindia.com") { if (document.getElementById("shiPromo")) { function trackImpHealth(impUrl) { fetch(impUrl, { method: "GET", mode: "no-cors", }).catch(function (err) { console.log("Inside Imp error:", err); document.getElementById("shiPromo").addEventListener("click", function (event) { event.preventDefault(); // Prevent default navigation let url = this.href; if (document.getElementById("dynamicanchor")) { document.getElementById("dynamicanchor").remove(); var link = document.createElement("a"); link.target = "_blank"; link.id = "dynamicanchor"; link.href = url; document.body.appendChild(link); document.getElementById("dynamicanchor").click(); let healthImpUrl = "https://pubads.g.doubleclick.net/gampad/clk?id=6924557502&iu=/1008496/clicktracker-oi-1"; trackImpHealth(healthImpUrl); function checkConsentAndTriggerClarity() { window.googlefc = window.googlefc || {}; window.googlefc.callbackQueue = window.googlefc.callbackQueue || []; window.googlefc.callbackQueue.push({ CONSENT_DATA_READY: () => __tcfapi("addEventListener", 2, (tcData, success) => { if (success) { const hasConsent = tcData.purpose.consents && tcData.purpose.consents[1]; if (hasConsent) { console.log("Consent granted for tracking"); window.clarity("consent"); } else { console.log("Consent not granted for tracking"); } else { console.log("Unable to retrieve consent status or TC Data is invalid"); /*---------------------------------------Momagic Code Starts--------------------------------------------------------*/ var moMagicHost = ["oneindia", "drivespark", "mykhel", "filmibeat", "goodreturns"]; function trackMoMagic(evnAct, evnLbl) { var curTimeStamp = Math.round(new Date().getTime() / 1000); var extraparam = "×tamp=" + curTimeStamp; if (/Mobi|Android/i.test(navigator.userAgent)) { var triggerDevice = "mobile"; //mobile/desktop var triggerDevice = "desktop"; //mobile/desktop var img = document.createElement("img"); img.src = "https://" + finalImagePath + "/images/tracker.jpg?tracker=oi-tracker-cms&device=" + triggerDevice + "&type=momagictracker&eventcategory=momagic&eventaction=" + evnAct + "&eventlebel=" + evnLbl + extraparam; img.setAttribute("id", "trackermomagicimage"); img.setAttribute("alt", "Momagic Tracker"); img.setAttribute("width", 1); img.setAttribute("height", 1); img.style.display = "none"; document.body.appendChild(img); var trackerGA = "G-BGSPW5MRBP"; trueReachLoad = false; var backRef = documentRef; if (moMagicHost.includes(domainmiddle)) { if (promoArticle == 0) { var evtLbl = "en-oi"; if (langParam != "" && langParam != undefined && langParam != null) { var dynsrc = langParam + "-" + hostParam; evtLbl = dynsrc.toLowerCase(); if (/Mobi|Android/i.test(navigator.userAgent)) { if (momagicFlag === 1) { if (document.referrer.indexOf("oneindia.com") !== -1 || document.referrer.indexOf("filmibeat.com") !== -1 || document.referrer.indexOf("drivespark.com") !== -1 || document.referrer.indexOf("mykhel.com") !== -1 || document.referrer.indexOf("goodreturns.in") !== -1) { trackMoMagic("referral", evtLbl); } else { var moMagicSession = sessionStorage.getItem("moMagicSession"); if (moMagicSession) { trackMoMagic("referral", evtLbl); } else { sessionStorage.setItem("moMagicSession", 1); /*---------------------------------------Momagic Code Ends">