Apple iPhone 12 Pro Max
  VS  
Samsung Galaxy Note20 Ultra 5G  

  • Price List

  • Specs Score

  • GENERAL

    • Operating System
    • iOS 14
    • Android 10
    • Custom UI
    • One UI 2.1
    • Device type
    • Phablet
    • Phablet
    • Sim
    • Dual Sim (Nano SIM+ eSIM)
    • Hybrid SIM (or eSIM)
    • Colours
    • Silver, Graphite, Gold, Pacific Blue
    • Mystic Bronze, Mystic Black, Mystic White
  • Rear Camera Details(Primary)

  • Rear Camera

  • ANNOUNCED

    • Status
    • Available in India
    • Available in india
    • Global Release Date
    • October, 2020
    • August, 2020
    • Indian Release Date
    • 13 November, 2020
    • 28 August, 2020
  • BODY

    • Dimensions
    • 160.8 x 78.1 x 7.4 mm
    • 164.8 x 77.2 x 8.1 mm
    • Weight
    • 228 g
    • 208 g
    • Body Material
    • Glass front (Gorilla Glass), Glass back (Gorilla Glass), Stainless steel frame
    • Glass back (Gorilla Glass Victus), Stainless steel frame
  • DISPLAY

    • Screen size
    • 6.7 inches
    • 6.9 inches
    • Technology
    • Super Retina XDR OLED, HDR10
    • Dynamic AMOLED 2X
    • Screen resolution
    • 1284 x 2778 pixels, 19.5:9 ratio (~458 ppi density)
    • 1440 x 3088 pixels (~494 ppi density)
    • Refresh Rate
    • 120Hz@FHD/60Hz@QHD refresh rate
    • Display Protection
    • Scratch-resistant glass, oleophobic coating
    • Corning Gorilla Glass Victus
    • Touchscreen
    • Capacitive Touchscreen
    • Capacitive Touchscreen
    • Form Factor
    • Touch
    • Touch
  • PROCESSOR

    • Chipset
    • Apple A14 Bionic (5 nm)
    • Exynos 990 (7 nm+)
    • CPU
    • Hexa-core
    • Octa Core (2x2.73 GHz Mongoose M5 & 2x2.50 GHz Cortex-A76 & 4x2.0 GHz Cortex-A55)
    • GPU
    • Apple GPU (4-core graphics)
    • Mali-G77 MP11
  • STORAGE

    • Internal Storage
    • 128 GB NVMe storage
    • 256 GB (UFS 3.1) Storage
    • RAM
    • 6GB RAM
    • 12 GB RAM
    • External Storage
    • up to 1 TB
    • Card Slot
    • microSDXC (uses shared SIM slot)
  • CAMERA

    • Primary camera
    • 12 MP (f/1.6, wide) + 12 MP (f/2.2, tele-photo) + 12 MP (f/2.4, ultra-wide) + TOF 3D LiDAR scanner (depth) Camera
    • 108 MP (f/1.8, wide) + 12 MP (f/3.0, periscope telephoto) + 12 MP (f/2.2, ultrawide) Cameras with LED Flash
    • Front Camera
    • 12 MP (f/2.2) + SL 3D Selfie Camera
    • 10 MP (f/2.2, wide) Front Camera
    • Video Recording
    • 4K@24/30/60fps, 1080p@30/60/120/240fps
    • 8K@24fps, 4K@30/60fps, 1080p@30/60/240fps, 720p@960fps
    • Camera Features
    • Quad-LED True Tone Flash, 4K Video recording, OIS,Continuous Shooting, Portrait mode, Dolby Vision HDR, gyro-EIS
    • Digital Zoom, Auto Flash, Face detection, OIS, 4k, PDAF, HDR10+
  • MULTIMEDIA

    • Audio Player
    • AAC‑LC, HE‑AAC, HE‑AAC v2, Protected AAC, MP3, Linear PCM, Apple Lossless, FLAC
    • WAV, AAC+, AC3, OGG, FLAC, WMA, MP3, AMR, AAC, MXMF, eAAC+
    • Video Player
    • HEVC, H.264, MPEG‑4 Part 2 and Motion JPEG
    • 3GP, ASF, M4V, H.263, H.264, MKV, 3G2, DivX, AVI, WMV, FLV, MPEG4
    • Games
    • Yes
    • Yes
    • FM Radio
    • No
    • Speakers
    • Yes
    • Yes
    • Audio Jack
    • No
    • No
  • BATTERY

    • Type
    • Non-removable Li-Ion 3687 mAh battery
    • Non-removable Li-Ion 4500 mAh Battery
  • CONNECTIVITY

    • GPRS
    • Yes
    • Edge
    • Yes
    • WLAN
    • Wi-Fi 802.11 a/b/g/n/ac/6, dual-band, hotspot
    • Wi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct, hotspot
    • Bluetooth
    • v5.0, A2DP, LE
    • v5.0, A2DP, LE, aptX
    • USB
    • Yes, Lightning, USB 2.0
    • v3.2, Type-C 1.0 reversible connector, USB OTG
    • GPS Facility
    • Yes, with A-GPS, GLONASS, GALILEO, QZSS
    • Yes, with A-GPS, GLONASS, BDS, GALILEO
    • Browser
    • HTML5
    • Speed
    • HSPA 42.2/5.76 Mbps, LTE-A, 5G, EV-DO Rev.A 3.1 Mbps
    • HSPA 42.2/5.76 Mbps, LTE-A (7CA) Cat20 2000/200 Mbps, 5G
  • NETWORK SUPPORT

    • 2G
    • GSM 850 / 900 / 1800 / 1900 MHz
    • GSM 850 / 900 / 1800 / 1900 MHz
    • 3G
    • HSDPA 850 / 900 / 1700 / 1900 / 2100 MHz
    • HSDPA 850 / 900 / 1900 / 2100 MHz
    • 4G
    • VoLTE
    • Dual VoLTE
    • 5G
    • Yes
    • Yes
  • MORE FEATURES

    • Sensors
    • Accelerometer, Gyro, Proximity, Compass, Barometer
    • In-Display Fingerprint Sensor, Accelerometer, Gyro, Proximity, Compass, Barometer
    • Other Features
    • Face Unlock, 15W Qi Quick Charging, Wireless Charging, Water and Dust resistant (IP68)
    • 25W Quick Charging, Fast Qi/PMA wireless charging, NFC, Water resistant, dust resistant, Samsung Pay
  • BENCHMARK SCORES

    • AnTuTu
    • 735051 (v9)
    • 680819 (v9)
    • GeekBench
    • 1593(Single Core) - 4205(Multi Core) (v5)
    • 937(Single Core) - 3154(Multi Core) (v5)
  • PROS

    • Large 1.7 µm pixels Sensor shilft OIS technology 5G
    • Premium Design New And Improved S-Pen Wireless Charging And IP68 Certification
  • CONS

    • Very Expensive Does not include charger or headphones in the box
    • No 3.5mm Headphone Jack Does Not Support 2K Resolution At 120Hz Refresh Rate
Compare Mobiles
Notifications
Settings
Clear Notifications
Notifications
Use the toggle to switch on notifications
  • Block for 8 hours
  • Block for 12 hours
  • Block for 24 hours
  • Don't block
Gender
Select your Gender
  • Male
  • Female
  • Others
Age
Select your Age Range
  • Under 18
  • 18 to 25
  • 26 to 35
  • 36 to 45
  • 45 to 55
  • 55+
` } }) moreFromHtml += ` ${ !(/Mobi|Android/.test(navigator.userAgent)) ? `
Prev
Next
` : '' } `; document.querySelector(".oi-carousel-block").innerHTML = moreFromHtml; } }) .catch((err) => { console.log("deeplink loading...", err); }); } if (!lotteryPageAdLoaded) { lotteryPageAdLoaded = true; if (["nagaland lottery", "kerala lottery", "lottery results", "assam lottery", "uae lottery", "punjab lottery", "sikkim lottery", "maharashtra lottery"].includes(document.head.dataset.category_name) && 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 (!designTemplateLoaded && ["tamil.oneindia.com"].includes(window.location.hostname)) { let designLoaded = parseInt(sessionStorage.getItem("design")) || 1; let deeplinkElements = document.querySelectorAll(".oi-recommended-articles-option1, .oi-recommended-articles-option2, .oi-recommended-articles-option3"); if (deeplinkElements.length > 0) { designTemplateLoaded = true; deeplinkElements.forEach((element) => { console.log("design", 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-DMP-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 }); }); // calculate next design let nextDesign = (designLoaded % 3) + 1; sessionStorage.setItem("design", nextDesign); } } }); 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"); } }), }); } } /*---------------------------------------Chartbeat Code Starts--------------------------------------------------------*/ if (["filmibeat", "goodreturns", "oneindia"].includes(domainmiddle)) { chartbeatflag = 0; } if (chartbeatflag == 1) { if (typeof ga_author_name === "undefined") { var ga_author_name = ""; } if (typeof oi_category_name === "undefined") { var oi_category_name = ""; } var parts = window.location.hostname.split("."); var charbeatdomain = window.location.hostname; //parts.slice(-2).join('.'); (function () { var _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; function loadChartbeat() { var e = document.createElement("script"); var n = document.getElementsByTagName("script")[0]; e.type = "text/javascript"; e.async = true; e.src = "//static.chartbeat.com/js/chartbeat.js"; n.parentNode.insertBefore(e, n); var script = document.createElement("script"); script.src = "//static.chartbeat.com/js/chartbeat_mab.js"; script.async = true; document.head.appendChild(script); window.removeEventListener("scroll", onScroll); } function onScroll() { loadChartbeat(); } window.addEventListener("scroll", onScroll); })(); } /*---------------------------------------Chartbeat Code Ends--------------------------------------------------------*/ /*---------------------------------------Refinary Code Starts--------------------------------------------------------*/ var refineryObj = { boldsky: "https://tags.refinery89.com/boldskycom.js", careerindia: "https://tags.refinery89.com/careerindiacom-aniview.js", mykhel: "https://tags.refinery89.com/mykhelcom-aniview.js", nativeplanet: "https://tags.refinery89.com/nativeplanetcom-aniview.js", }; var refineryHost = ["boldsky", "careerindia", "nativeplanet"]; var refineryflag = 0; if (refineryHost.includes(domainmiddle)) { function loadrefinery() { var refinery = document.createElement("script"); document.head.appendChild(refinery); refinery.async = true; refinery.src = refineryObj[domainmiddle]; sessionStorage.setItem("refinery_status", 1); } if (refiner_live) { window.addEventListener("scroll", function () { if (refineryflag == 0) { refineryflag = 1; loadrefinery(); } }); } } /*---------------------------------------Refinary Code Ends--------------------------------------------------------*/ /*---------------------------------------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 } else { 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 (domainmiddle === "oneindia" || domainmiddle === "mykhel" || domainmiddle === "filmibeat" || domainmiddle === "drivespark" || domainmiddle === "goodreturns") { history.pushState({ page: "intermediate" }, "", ""); window.addEventListener("popstate", function (event) { if (location.hash === "" && trueReachLoad) { if (typeof showTruereachAd === "function") { if (backRef && backRef != "") { showTruereachAd(backRef); } else { showTruereachAd(); } var evtLbl = "en-oi"; if (langParam != "" && langParam != undefined && langParam != null) { var dynsrc = langParam + "-" + hostParam; evtLbl = dynsrc.toLowerCase(); } trackMoMagic("back-button", evtLbl); } } }); } 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--------------------------------------------------------*/ /*---------------------------------------Affinity Matrix/Space Code Starts--------------------------------------------------------*/ function affinityMatrix() { var curhost = location.hostname; var curdom = curhost.split(".").slice(-2).join("."); var o = "script", s = top.document, a = s.createElement(o), m = s.getElementsByTagName(o)[0], d = new Date(), timestamp = "" + d.getDate() + d.getMonth() + d.getHours(); a.async = 1; a.src = "https://cdn4-hbs.affinitymatrix.com/hvrcnf/" + curdom + "/" + timestamp + "/index?t=" + timestamp; m?.parentNode?.insertBefore(a, m); } if ("goodreturns" == domainmiddle) { if (/Mobi|Android/i.test(navigator.userAgent)) { affMatrix = 1; } } if (affMatrix == 1) { if (/Mobi|Android/i.test(navigator.userAgent)) { if (trackpagetype != "home") { var affinityInserted = false; window.addEventListener("scroll", function () { if (!affinityInserted) { affinityMatrix(); affinityInserted = true; } }); } } else { if (trackpagetype != "home") { var affinityInserted = false; window.addEventListener("scroll", function () { if (!affinityInserted) { affinityMatrix(); affinityInserted = true; } }); } } } /*---------------------------------------Affinity Matrix/Space Code Ends--------------------------------------------------------*/ /*---------------------------------------Vidverto /Reward Video Code Starts--------------------------------------------------------*/ function loadVidvertoScript(elementId, mountId) { if (vidvertoFlag == 1) { window.addEventListener("scroll", function loadScriptOnScroll() { var script = document.getElementById(elementId); if (!script) { var a = document.createElement("script"); a.id = elementId; a.src = "https://ad.vidverto.io/vidverto/js/aries/v1/invocation.js"; a.setAttribute("fetchpriority", "high"); var r = window.top; document.head.appendChild(a); if (window.self !== window.top) { window.frameElement.style.cssText = "width:0px!important;height:0px!important;"; } r.aries = r.aries || {}; r.aries.v1 = r.aries.v1 || { commands: [] }; var c = r.aries.v1; c.commands.push(function () { var d = document.getElementById(elementId); d.setAttribute("id", d.getAttribute("id") + new Date().getTime()); var t = window.frameElement || d; c.mount(mountId, t, { width: 1, height: 1 }); }); window.removeEventListener("scroll", loadScriptOnScroll); } }); } } /*if (domainmiddle === 'gizbot') { loadVidvertoScript('_vidverto-6d7f83b216033802179a1489c7ef0112', '12320'); */ /*---------------------------------------Vidverto/Reward Video Code Ends--------------------------------------------------------*/ /*---------------------------------------Aniview Code Starts--------------------------------------------------------*/ /*if(document.querySelector('#are-slot-3')){ document.querySelector('#are-slot-3').classList.remove('oiad', 'oi-axt', 'oiadv', 'dynamic-slot'); }*/ /*---------------------------------------Aniview Code Ends--------------------------------------------------------*/ /*---------------------------------------Clarity Code Ends--------------------------------------------------------*/ // Assuming domainmiddle and langParam are dynamically determined if (!domainmiddle || !langParam || domainmiddle.trim() === "" || langParam.trim() === "") { console.error("Error: domainmiddle or langParam is undefined, null, or blank. Script will not execute."); } else { var claritylangParam = langParam.toLowerCase(); let clarityFlag = 0; let clarityVersion = "1.0.3"; // Check if Clarity has already been triggered in this session if (!sessionStorage.getItem("clarityLoaded")) { if (["oneindia", "filmibeat", "goodreturns"].includes(domainmiddle)) { clarityFlag = 1; } window.addEventListener("scroll", function () { if (clarityFlag === 0) { clarityFlag = 1; 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); }); } }); } } /*---------------------------------------Clarity Code Ends--------------------------------------------------------*/ /*---------------------------------------VOX/Adsense Backfil Code Starts--------------------------------------------------------*/ if (domainmiddle == "mykhel") { if (document.querySelector(".oi-footer-bottom-ad-close")) { document.querySelector(".oi-footer-bottom-ad-close").style.display = "none"; } } var adsenseObj = { oneindia: 6500213837, boldsky: 5451350884, gizbot: 8951063454, drivespark: 2314299074, filmibeat: 5203390138, goodreturns: 3315593397, careerindia: 2385655101, mykhel: 2194083414, nativeplanet: 7446410097 }; var adsenseSlot = adsenseObj[domainmiddle]; var inImageCssWeb = ""; var inImageCssMobi = ""; var inImageHtmlWeb = ''; var inImageHtmlMobi = ''; var finalHtmlCss = ""; if (/Mobi|Android/i.test(navigator.userAgent)) { finalHtmlCss = inImageCssMobi + inImageHtmlMobi; } else { finalHtmlCss = inImageCssWeb + inImageHtmlWeb; } function loadAdgInImgAd() { var adginimgdiv = document.createElement("div"); adginimgdiv.id = "adgebraInImgAd"; adginimgdiv.style.minWidth = "600px"; adginimgdiv.style.minHeight = "90px"; adginimgdiv.style.position = "absolute"; adginimgdiv.style.bottom = "0"; var inImgPlacment = document.querySelector(".big_center_img") || document.querySelector(".big-center-img"); if (inImgPlacment) { inImgPlacment.appendChild(adginimgdiv); } // Define and display the fallback ad in the new element googletag.cmd.push(function () { var adgslot = googletag.defineSlot("/1008496/popup-thats-cricket-out-of-page", [1, 1], "adgebraInImgAd").addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); googletag.enableServices(); googletag.display("adgebraInImgAd"); googletag.pubads().refresh([adgslot]); }); } function loadAdgInImgAdMobi() { var adginimgdiv = document.createElement("div"); adginimgdiv.id = "adgebraInImgAd"; adginimgdiv.style.minWidth = "320px"; adginimgdiv.style.minHeight = "50px"; adginimgdiv.style.position = "absolute"; adginimgdiv.style.bottom = "0"; var inImgPlacment = document.querySelector(".big-center-img") || document.querySelector(".big_center_img"); if (inImgPlacment) { inImgPlacment.appendChild(adginimgdiv); } // Define and display the fallback ad in the new element googletag.cmd.push(function () { var adgslot = googletag.defineSlot("/1008496/popup-thats-cricket-out-of-page", [1, 1], "adgebraInImgAd").addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); googletag.enableServices(); googletag.display("adgebraInImgAd"); googletag.pubads().refresh([adgslot]); }); } var backfillWidgets = { voxWidget: function (idx, elem) { if (liteflag == 0) { console.log("adsense/vox", document.getElementById("oi-vox")); if (document.getElementById("oi-vox")) { var sspflag = 0; if (sspflag == 0) { console.log("adsense/vox", sspflag); if (typeof window._tx === "undefined") { var s = document.createElement("script"); s.type = "text/javascript"; s.async = true; s.src = "https://st.hbrd.io/ssp.js?t=" + new Date().getTime(); (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(s); } window._tx = window._tx || {}; window._tx.cmds = window._tx.cmds || []; console.log("adsense/vox", window._tx, window._tx.cmds); window._tx.cmds.push(function () { window._tx.init({ onSuccessInImageLoad: function (data) { console.log("adsense/vox", "vox"); console.log("onSuccessInImageLoad", data); }, onFailInImageLoad: function (data) { console.log("adsense/vox", "addsense"); if (backfillorder == 2) { backfillWidgets.adsenseWidget(finalHtmlCss, 2, idx, elem); /*if (domainmiddle === 'oneindia') { if (/Mobi|Android/i.test(navigator.userAgent)) { backfillWidgets.adsenseWidget(finalHtmlCss,2,idx,elem); }else{ loadAdgInImgAd(); } }*/ } // console.log("onFailInImageLoad", data); }, }); }); } /* window.addEventListener( "scroll", function () { }, false ); */ } } }, adsenseWidget: function (dynamicHtmlCSs, flg, idx, elem) { console.log("adsense/vox", dynamicHtmlCSs, flg, idx, elem); var scriptElement = document.createElement("script"); scriptElement.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6601380052549923"; scriptElement.async = true; scriptElement.crossOrigin = "anonymous"; document.head.appendChild(scriptElement); var adsenseDiv = document.createElement("div"); adsenseDiv.id = "oiInImg"; adsenseDiv.classList.add("oiInImg"); adsenseDiv.innerHTML = dynamicHtmlCSs; elem.insertAdjacentElement("afterend", adsenseDiv); (adsbygoogle = window.adsbygoogle || []).push({}); var adsenseInt = setInterval(function () { var oiInImgElems = document.querySelectorAll(".oiInImg"); if (oiInImgElems.length > 0) { var oiInImgWrapperElems = document.querySelectorAll(".oiInImg ins"); oiInImgWrapperElems.forEach(function (wrapperElem) { var filledStatus = wrapperElem.getAttribute("data-ad-status"); if (filledStatus === "filled") { oiInImgElems.forEach(function (imgElem) { imgElem.style.display = "block"; }); var imgCloseBtnElem = document.querySelector("#img-close-btn"); imgCloseBtnElem.style.opacity = "1"; imgCloseBtnElem.addEventListener("click", function () { oiInImgElems.forEach(function (imgElem) { imgElem.innerHTML = ""; }); }); var imgCloseBtns = document.querySelectorAll(".img-close-btn"); imgCloseBtns.forEach(function (imgCloseBtn) { imgCloseBtn.style.opacity = "1"; imgCloseBtn.addEventListener("click", function () { oiInImgElems.forEach(function (imgElem) { imgElem.innerHTML = ""; }); }); }); clearInterval(adsenseInt); } else if (filledStatus === "unfilled") { oiInImgElems.forEach(function (imgElem) { imgElem.style.display = "none"; }); if (backfillorder == 1 && flg == 1) { backfillWidgets.voxWidget(idx, elem); } clearInterval(adsenseInt); } }); } }, 500); }, }; if (host.indexOf("bengali") > -1) { backfillorder = 2; } var voxloadflag = 0; var voxFlag = 1; var sspflagload = 0; var gccflag = 0; var gccflagin = 0; window.addEventListener("scroll", function () { if (sspflagload == 0) { sspflagload = 1; var con_code = ""; var city_code = ""; var gcccountryCodes = ["BH", "KW", "OM", "QA", "SA", "AE"]; var gcccountryCodesInd = ["IN"]; var countryInt; countryInt = setInterval(function () { if (document.body) { var gapiDetails = localStorage.getItem("userlocation"); if (gapiDetails) { clearInterval(countryInt); var tmpgapijson = JSON.stringify(gapiDetails); var jdata = gapiDetails; jdata = JSON.parse(jdata); con_code = jdata.country_code; city_code = jdata.city; if (gcccountryCodes.includes(con_code)) { //if(city_code=='Bhubaneswar'){ gccflag = 112345; //} } if (!gcccountryCodesInd.includes(con_code)) { gccflagin = 1; backfillorder = 1; } if (document.querySelector(".image_listical")) { var imageelem = document.querySelectorAll(".image_listical"); var imglen = imageelem.length; if (imglen > 1) { voxloadflag = 1; } if (imglen > 0) { for (let g = 0; g < imglen; g++) { if (g == 0) { imageelem[0].setAttribute("data-adgdisplay", false); if (backfillorder == 1 || backfillorder == 3) { backfillWidgets.adsenseWidget(finalHtmlCss, 1, g, imageelem[0]); } else if (backfillorder == 2 || backfillorder == 4) { if (gccflag == 1) { } else { console.log("adsense/vox", g, imglen); backfillWidgets.voxWidget(g, imageelem[g]); } } } else { if (g > 0) { if (domainmiddle == "boldsky" || domainmiddle == "goodreturns" || domainmiddle == "oneindia" || domainmiddle == "filmibeat") { if (g % 2 == 0) { imageelem[g].setAttribute("data-adgdisplay", false); if (backfillorder == 2 || backfillorder == 4) { if (gccflag == 1) { } else { if (domainmiddle == "goodreturns") { backfillWidgets.adsenseWidget(finalHtmlCss, 1, g, imageelem[0]); } else { backfillWidgets.voxWidget(g, imageelem[g]); } } } } } else { if (g % 2 == 1) { imageelem[g].setAttribute("data-adgdisplay", false); if (backfillorder == 2 || backfillorder == 4) { if (gccflag == 1) { } else { if (domainmiddle == "goodreturns") { backfillWidgets.adsenseWidget(finalHtmlCss, 1, g, imageelem[0]); } else { backfillWidgets.voxWidget(g, imageelem[g]); } } } } } } } } } } } } }, 1000); setTimeout(function () { clearInterval(countryInt); }, 10000); } }); if (document.querySelector(".myimg")) { var imageelem = document.querySelectorAll(".myimg"); var imglen = imageelem.length; if (imglen > 0) { for (g = 0; g < imglen; g++) { if (g == 0) { imageelem[0].setAttribute("data-adgdisplay", false); if (backfillorder == 1) { backfillWidgets.adsenseWidget(finalHtmlCss, 2, g, imageelem[g]); } else if (backfillorder == 2) { backfillWidgets.voxWidget(g, imageelem[g]); } } else if (g == 2) { imageelem[2].setAttribute("data-adgdisplay", false); backfillWidgets.adsenseWidget(finalHtmlCss, 2, g, imageelem[g]); } else if (g == 4) { imageelem[2].setAttribute("data-adgdisplay", false); backfillWidgets.adsenseWidget(finalHtmlCss, 2, g, imageelem[g]); } } } } /*---------------------------------------VOX/Adsense Backfil Code Ends--------------------------------------------------------*/ /*---------------------------------------Adsense in are-slot-4----------------------------------------------------------------*/ function executeAdSenseOnScroll() { const targetDiv = document.getElementById("are-slot-5"); if (!targetDiv) { console.error("Ad container div not found"); return; } targetDiv.innerHTML = ""; // Clear the content first const adScript = document.createElement("script"); adScript.async = true; adScript.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6601380052549923"; adScript.setAttribute("crossorigin", "anonymous"); document.head.appendChild(adScript); const adIns = document.createElement("ins"); adIns.className = "adsbygoogle"; adIns.style.display = "block"; adIns.setAttribute("data-ad-client", "ca-pub-6601380052549923"); adIns.setAttribute("data-ad-slot", "3671027678"); adIns.setAttribute("data-ad-format", "auto"); adIns.setAttribute("data-full-width-responsive", "true"); targetDiv.appendChild(adIns); adScript.onload = function () { try { (adsbygoogle = window.adsbygoogle || []).push({}); } catch (e) { console.error("AdSense initialization error:", e); } }; } // Add scroll event listener to execute AdSense code /*if(domainmiddle=='filmibeat' || domainmiddle=='mykhel' || domainmiddle=='drivespark' || domainmiddle=='gizbot' || domainmiddle=='nativeplanet' || domainmiddle=='boldsky'){ if (/Mobi|Android/i.test(navigator.userAgent)) { var adsenseFlag=0; window.addEventListener('scroll', () => { var targetContainerId = 'are-slot-5'; const targetDiv = document.getElementById('are-slot-5'); if (targetDiv) { if(adsenseFlag==0){ adsenseFlag=1; if(targetContainerId=='are-slot-5'){ targetDiv.innerHTML=''; document.getElementById(targetContainerId).classList.remove('dynamic-slot'); loadAdScriptCommon(); (function(g,o){g[o]=g[o]||function(){(g[o]['q']=g[o]['q']||[]).push(arguments)},g[o]['t']=1*new Date})(window,'_googCsa'); afsAdCallCommon(targetContainerId); } } } }); } }*/ if ([].includes(window.location.hostname)) { if (googletag.apiReady) { googletag.cmd.push(function () { const key = "topic"; // full domain + path let newValue = window.location.hostname + window.location.pathname; // get last part of the pathname (slug or ID) let secondPathName = window.location.pathname.split("/").at(-1) || ""; // Try to extract numeric article ID let articleId = null; let match = secondPathName.match(/(\d+)(?=\.html$|$)/); if (match) { articleId = match[1]; } // ---- Helper: sanitize + trim slug ---- function safeSlug(str) { // remove extension like .html str = str.replace(/\.[^/.]+$/, ""); // keep only letters, numbers, dash, underscore, dot str = str.replace(/[^a-zA-Z0-9._-]/g, ""); // truncate to 40 chars (GAM limit) return str.substring(0, 40) || "na"; } // Fallback: generate safe truncated slug if no numeric ID if (!articleId) { articleId = safeSlug(secondPathName); } // clear any previous targeting googletag.pubads().clearTargeting("host"); googletag.pubads().clearTargeting("curl"); // set targeting googletag.setConfig({ targeting: { prpm: [articleId], // safe 40-char slug/ID [key]: [newValue], }, }); // log what’s being set const targeting = {}; googletag .pubads() .getTargetingKeys() .forEach((key) => { targeting[key] = googletag.pubads().getTargeting(key); }); console.log("Global targeting:", targeting); }); } } function dynamicPerformance(divid) { if (window.googletag && googletag.apiReady && typeof pbjs != "undefined") { var PREBID_TIMEOUT = 1200; var FAILSAFE_TIMEOUT = 3000; googletag.cmd.push(function () { googletag.pubads().disableInitialLoad(); }); var pbjsrss = pbjs || {}; pbjsrss.que = pbjs.que || []; var target_words_rss = []; var getUrlDetailsRss = { cleanArray: function (item) { var tempArr = []; for (var i = 0; i < item.length; i++) { if (item[i] !== undefined && item[i] != "") { tempArr.push(item[i]); } } return tempArr; }, createArrayFromUrl: function () { target_words_rss = target_words_rss.concat(window.location.hostname); var url_host = window.location.hostname.split("."); target_words_rss = target_words_rss.concat(url_host); var url_path = window.location.pathname.replace(".html", "").split("/"); target_words_rss = target_words_rss.concat(url_path); var pathArrLen = url_path.length; var subUrlPath = url_path[pathArrLen - 1].split("-"); target_words_rss = target_words_rss.concat(subUrlPath); if (["www.oneindia.com", "tamil.oneindia.com"].includes(window.location.hostname)) { let urlWithoutHttps = window.location.href.replace("https://", ""); target_words_rss = target_words_rss.concat(urlWithoutHttps); } console.log("target_words_rss_1", target_words_rss); target_words_rss = getUrlDetailsRss.cleanArray(target_words_rss); console.log("target_words_rss_2", target_words_rss); }, }; getUrlDetailsRss.createArrayFromUrl(); try { googletag.cmd.push(function () { slot[850] = googletag.defineSlot("/1008496/Performance", [[300, 250], [336, 280], [320, 480], [320, 250], [320, 50], "fluid", [320, 100]], divid).addService(googletag.pubads()); googletag.pubads().setTargeting("host", window.location.hostname); googletag.pubads().setTargeting("curl", window.location.href); googletag.pubads().setTargeting("topic", target_words_rss); if (domainmiddle == "oneindia") { if (langParam == "or") { googletag.pubads().setTargeting("domain", "www.oneindia.com"); } else { googletag.pubads().setTargeting("domain", window.location.hostname); } } else if (domainmiddle == "goodreturns") { var domHost = domainmiddle + ".in"; googletag.pubads().setTargeting("domain", domHost); } else { var domHost = domainmiddle + ".com"; googletag.pubads().setTargeting("domain", domHost); } googletag.pubads().setTargeting("lang", langParam); googletag.pubads().enableSingleRequest(); googletag.enableServices(); googletag.display(divid); googletag.pubads().refresh([slot[850]]); }); } catch (err) { console.log("Home Page Ad : " + err); } } } /* if (domainmiddle == "filmibeat" || domainmiddle == "mykhel" || domainmiddle == "drivespark" || domainmiddle == "gizbot" || domainmiddle == "nativeplanet" || domainmiddle == "boldsky") { if (/Mobi|Android/i.test(navigator.userAgent)) { var adsenseFlag=0; window.addEventListener('scroll', () => { var targetContainerId = 'are-slot-5'; const targetDiv = document.getElementById('are-slot-5'); if (targetDiv) { if(adsenseFlag==0){ adsenseFlag=1; targetDiv.classList.remove('dynamic-slot'); dynamicPerformance('are-slot-5'); } } }); } } */ /*---------------------------------------Adsense in are-slot-4----------------------------------------------------------------*/ -->
We use cookies to ensure that we give you the best experience on our website. This includes cookies from third party social media websites and ad networks. Such third party cookies may track your use on Oneindia sites for better rendering. Our partners use cookies to ensure we show you advertising that is relevant to you. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on Oneindia website. However, you can change your cookie settings at any time. Learn more