Kamala Harris warns that Donald Trump and his ‘extremist allies’ could ‘take our nation backward’ – Hindustan Times = 2 && matches[1].length > 0) { profileVersionId = ‘/’ + matches[1]; } } var wtads = document.createElement(‘script’); wtads.defer = true; wtads.type = ‘text/javascript’; wtads.src = url + profileVersionId + ‘/pwt.js’; var node = document.getElementsByTagName(‘script’)[0]; node.parentNode.insertBefore(wtads, node); })(); } ]]> 0 && stateArr.length >0) { // if (countryArr.indexOf(country) > -1 && stateArr.indexOf(stateShortCode) > -1) { // roadblock=true; // setCookie(“roadblock”,JSON.stringify(roadblock),5,true); // } // } /// else if(countryArr.length >0 && stateArr.length -1) { // roadblock=true; // setCookie(“roadblock”,JSON.stringify(roadblock),5,true); // } // } // }); // } // } // }; // xhr.send(null); // }else{ // if(cookieVal == ‘true’){ // roadblock=true; // } // } function getOfferDetails() { try { var contentHtml = “”; let url = “https://www.hindustantimes.com/static-content/10m/htoffers-img.json”; // url = “https://www.hindustantimes.com/static-content/10m/htoffers.json”; // url = “https://htoffers.thelogicalbanya.com/api/getRewardsInfo.php?clientID=htoffers4H4vMTAV9AO8U4XV&key=mmZ7eyLNDAOLv3W0mX43RXl6”; $.ajax({ url: url, dataType: “json”, type: “GET”, success: function (res) { // var offerJson = JSON.parse(AES256.decrypt(res.Message, ‘X0r&9i7@skq@0zGzSx^P’)); var offerJson = res; var rewardsText = offerJson.rewardsText; var rewardsCount = offerJson.rewardsCount; var rewardsValue = offerJson.rewardsValue; contentHtml += ”; contentHtml += ‘‘ + rewardsText; contentHtml += ”; contentHtml += ”; contentHtml += ‘
‘; offerJson.brandLogos.forEach(function (elm, index) { if (index < 4) { contentHtml += '
- ‘; // contentHtml += ‘‘; contentHtml += ‘‘; // contentHtml += ”; contentHtml += ‘ ‘; } }); contentHtml += ‘
- +’ + rewardsCount + ‘ More ‘; contentHtml += ”; contentHtml += ”; if ($(“#excitingOfferId”).length > 0) { $(“#excitingOfferId”).html(contentHtml); } if ($(“#offerTextId”).length > 0) { $(“#offerTextId”).html(rewardsCount + ‘ ‘ + ‘remaining’); } } }); } catch (err) { } } googletag.cmd.push(function () { var cookieValue = getCookie(“_ht_fp”); // var cookieValue = “fc99f1a2-a720-4988-a6d1-91b20a7815d9”; //var htCdp = getCookie(“ht_cdp”); var htCdpLS = getWithExpiryCDP(“ht_cdp”); console.log(“After GPT:”, new Date()); var requestUrl = “https://www.hindustantimes.com/cdp/api/adserve/ht?user=” + cookieValue; if (!htCdpLS && cookieValue) { var xhr = new XMLHttpRequest(); xhr.open(‘GET’, requestUrl); xhr.timeout = 700; xhr.responseType = ‘json’; xhr.onload = function () { var campaigns = ”; var jsonData = xhr.response; if (jsonData !== ” && jsonData.campaigns !== undefined) { campaigns = jsonData.campaigns; setWithExpiryCDP(“ht_cdp”, JSON.stringify(campaigns), 86400000); var aTags = “,gem3_f,ag03_f,ag04_f,fmrk”; var fCampaigns = campaigns + “,” + aTags; googletag.pubads().setTargeting(‘cdpcampaign’, fCampaigns); } else { var aTags = “,gem3_f,ag03_f,ag04_f,fmrk”; googletag.pubads().setTargeting(‘cdpcampaign’, aTags); } }; xhr.onerror = function () { }; xhr.send(null); } else { var aTags = “,gem3_f,ag03_f,ag04_f,fmrk”; var fCampaigns = JSON.parse(htCdpLS) + “,” + aTags; googletag.pubads().setTargeting(‘cdpcampaign’, fCampaigns); } }); googletag.cmd.push(function () { if(adFree) { var topSlot,rightSlot; if (isDeviceEnabled(‘large’)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_subscription/HT_Desk_Subscription_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_subscription/HT_Desk_Subscription_Top_300x250’, [[300, 250],[336, 280],[250,250],[1,1]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); refreshAdSlot.push(topSlot); var cubeAds1 = googletag.defineSlot(‘/3106570/Hindustantimes_Desktop_Cube/HT_Desk_Web_Cube_Phase_1_129x82’, [129, 82], ‘cube-ad-1’).addService(googletag.pubads()); refreshAdSlot.push(cubeAds1); var cubeAds2 = googletag.defineSlot(‘/3106570/Hindustantimes_Desktop_Cube/HT_Desk_Web_Cube_Phase_2_129x82’, [129, 82], ‘cube-ad-2′).addService(googletag.pubads()); refreshAdSlot.push(cubeAds2); if (pageName == “story”) { if(toShowTopAd==’true’) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Across/HT_Desk_LogoBand’, [[968, 50], [992, 112]], ‘div-gpt-ad-logo-web-0’).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } else if (sectionName != “” && ((sectionName.toLowerCase() == “india news” || parentSection.toLowerCase() == “india news” || primaryPageSection.toLowerCase() == “india news”) || (sectionName.toLowerCase() == “elections” || parentSection.toLowerCase() == “elections” || primaryPageSection.toLowerCase() == “elections”) || (sectionName.toLowerCase() == “cricket” || parentSection.toLowerCase() == “cricket” || primaryPageSection.toLowerCase() == “cricket”))) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Across/HT_Desk_LogoBand’, [[968, 50], [992, 112]], ‘div-gpt-ad-logo-web-0′).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } else { if(toShowTopAd==’true’) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Across/HT_Desk_LogoBand’, [[968, 50], [992, 112]], ‘div-gpt-ad-logo-web-0’).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } } else if (isDeviceEnabled(‘small’) || isDeviceEnabled(‘medium’)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Subscription/HT_WAP_Subscription_Masthead_Multisize’, [[300,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Subscription/HT_WAP_Subscription_Top_Multisize’, [[300, 250],[336, 280],[250,250],[1,1]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); refreshAdSlot.push(topSlot); var cubeAds1 = googletag.defineSlot(‘/3106570/Hindustantimes_Mweb_Cube/HT_Desk_WAP_Cube_Phase_1_129x82’, [129, 82], ‘cube-ad-1’).addService(googletag.pubads()); refreshAdSlot.push(cubeAds1); var cubeAds2 = googletag.defineSlot(‘/3106570/Hindustantimes_Mweb_Cube/HT_Desk_WAP_Cube_Phase_2_129x82’, [129, 82], ‘cube-ad-2′).addService(googletag.pubads()); refreshAdSlot.push(cubeAds2); if (pageName == “story”) { if(toShowTopAd==’true’){ let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Across/HT_WAP_LogoBand’, [[360, 40], [360, 78]], ‘div-gpt-ad-logo-mweb-0’).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } else if (sectionName != “” && ((sectionName.toLowerCase() == “india news” || parentSection.toLowerCase() == “india news” || primaryPageSection.toLowerCase() == “india news”) || (sectionName.toLowerCase() == “elections” || parentSection.toLowerCase() == “elections” || primaryPageSection.toLowerCase() == “elections”) || (sectionName.toLowerCase() == “cricket” || parentSection.toLowerCase() == “cricket” || primaryPageSection.toLowerCase() == “cricket”))) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Across/HT_WAP_LogoBand’, [[360, 40], [360, 78]], ‘div-gpt-ad-logo-mweb-0′).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } else { if(toShowTopAd==’true’){ let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Across/HT_WAP_LogoBand’, [[360, 40], [360, 78]], ‘div-gpt-ad-logo-mweb-0’).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } } } else { var refreshSlot, topSlot, rightSlot, osvSlot, timerAd, storySlot, firstSlotAd, budgetLogoAd,interstitialAdCode, gutterads, vdoAds, vdoAdStory, middleSlot, iplLogoBandAd, interstitialPopupAds, logoBandAd; /** large start **/ if (isDeviceEnabled(‘large’)) { let gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Skyscrapper/HT_Desk_skyscrapper’; if (pageName == “story”) { if(toShowTopAd==’true’) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Across/HT_Desk_LogoBand’, [[968, 50], [992, 112]], ‘div-gpt-ad-logo-web-0’).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } else if ( sectionName != “” && ((sectionName.toLowerCase() == “homenew” || sectionName.toLowerCase() == “india news” || parentSection.toLowerCase() == “india news” || primaryPageSection.toLowerCase() == “india news”) || (sectionName.toLowerCase() == “elections” || parentSection.toLowerCase() == “elections” || primaryPageSection.toLowerCase() == “elections”) || (sectionName.toLowerCase() == “cricket” || parentSection.toLowerCase() == “cricket” || primaryPageSection.toLowerCase() == “cricket”))) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Across/HT_Desk_LogoBand’, [[968, 50], [992, 112]], ‘div-gpt-ad-logo-web-0′).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } else{ if(toShowTopAd==’true’) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Across/HT_Desk_LogoBand’, [[968, 50], [992, 112]], ‘div-gpt-ad-logo-web-0′).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } if(pageName==’liveblog’){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_LiveBlog/HT_Desk_LiveBlog_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_LiveBlog/HT_Desk_LiveBlog_Top_Multisize’, [[300, 250],[336,280]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = “/1055314/Hindustantimes_Desktop_LiveBlog/HT_Desk_LiveBlog_Gutter”; } else if (pageName==’story’|| pageName == ‘gallery’) { if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“education”)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Details_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Details_Gutter’; } else if (typeof storyMainSection != “undefined” && storyMainSection != “” && storyMainSection.toLowerCase() == “sports” ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200] , [970, 250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Skyscrapper/HT_Desk_skyscrapper’; } else if (typeof storyMainSection != “undefined” && storyMainSection != “” && storyMainSection.toLowerCase() == “elections” ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Details_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200] , [970, 250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Details_Gutter’; } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase() == “photos”) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Details_Header_Multisize’, [[728,90], [970,90], [970, 250],[1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Details_Gutter’; } else if (typeof storyMainSection != “undefined” && storyMainSection != “” && (storyMainSection.toLowerCase() == “cricket”) ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Details_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Details_Gutter’; } else if (typeof storyMainSection != “undefined” && storyMainSection != “” && (storyMainSection.toLowerCase() == “games” || storyMainSection.toLowerCase() == ‘sudoku’ || storyMainSection.toLowerCase() == ‘crossword’ || storyMainSection.toLowerCase() == ‘word jumble’)){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Details_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Details_Gutter’; } else if (typeof storyMainSection != “undefined” && storyMainSection != “” && (storyMainSection.toLowerCase() == “world news” || storyMainSection.toLowerCase() == “india news”)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Details_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200],[970, 250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Details_Gutter’; } else if (typeof storyMainSection != “undefined” && storyMainSection != “” && (storyMainSection.toLowerCase() == ‘bihar board (bseb) result 2021’ || storyMainSection.toLowerCase() == ‘bihar 10th science result’ || storyMainSection.toLowerCase() == ‘bseb 10th matric result 2021’ || storyMainSection.toLowerCase() == ‘bseb 12th result 2021 science’ || storyMainSection.toLowerCase() == ‘bseb 12th result 2021 commerce’ || storyMainSection.toLowerCase() == ‘bseb 12th result 2021 arts’ || storyMainSection.toLowerCase() == ‘bseb 12th result 2021 vocational’ || storyMainSection.toLowerCase() == ‘up board 10th result 2021’ || storyMainSection.toLowerCase() == ‘up board 12th result 2021’ || storyMainSection.toLowerCase() == ‘mp board (mpbse) 10th result 2021’ || storyMainSection.toLowerCase() == ‘mp board 12th result 2021’ || storyMainSection.toLowerCase() == ‘rbse 10th result 2021’ || storyMainSection.toLowerCase() == ‘rajasthan board (rbse) 12th arts result 2021’ || storyMainSection.toLowerCase() == ‘rbse 12th commerce result 2021’ || storyMainSection.toLowerCase() == ‘rbse 12th science result 2021’ || storyMainSection.toLowerCase() == ‘rajasthan board (rbse) 5th result 2021’ || storyMainSection.toLowerCase() == ‘rajasthan board (rbse) result 2021’ || storyMainSection.toLowerCase() == ‘rajasthan maadhyamik vyaavasaayik shiksha result’ || storyMainSection.toLowerCase() == ‘rbse praveshika result’ || storyMainSection.toLowerCase() == ‘rajasthan varishtha upadhyay result 2021’ || sectionName.toLowerCase().includes(‘board’) || sectionName.toLowerCase().includes(‘b result 2023’) || storyMainSection.toLowerCase() == ‘up board 10th result 2023’ || storyMainSection.toLowerCase() == ‘up board result 2023’)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Details_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200],[970, 250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Details_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Details_Gutter’; } else { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); } } else if ( sectionName != “” && (sectionName.toLowerCase() == “sports” || parentSection.toLowerCase() == “sports”)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [1100, 90], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Gutter’; } else if ( sectionName != “” && (sectionName.toLowerCase() == “world news” || parentSection.toLowerCase() == “world news” || sectionName.toLowerCase() == “india news” || parentSection.toLowerCase() == “india news”)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970, 90], [980,250], [980,200],[970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Gutter’; } else if ( sectionName.toLowerCase().includes(“ipl”) ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket_IPL/HT_Desk_Cricket_IPL_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200] ], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket_IPL/HT_Desk_Cricket_IPL_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); } else if ( sectionName != “” && (sectionName.toLowerCase() == “cricket” || parentSection.toLowerCase() == “cricket” || primaryPageSection.toLowerCase() == “cricket”) ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200] , [970 ,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Gutter’; } else if ( sectionName != “” && (sectionName.toLowerCase() == “entertainment” || parentSection.toLowerCase() == “entertainment”) ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [1100, 90], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Skyscrapper/HT_Desk_skyscrapper’; } else if (sectionName.toLowerCase() == “photos” || parentSection.toLowerCase() == “photos” || storyMainSection.toLowerCase() == “photos”){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Header_Multisize’, [[728,90], [970,90], [970,250], [1100,250], [1100,90], [980, 90], [970,90], [980,250],[980,200]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Gutter’; }else if (sectionName.toLowerCase() == “homenew” ){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Header_Multisize’, [[1100,250], [1100,90],[728,90],[970,90], [1290,250], [980,90], [970, 90], [980,250], [980,200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Gutter’; } else if (sectionName.toLowerCase() == ‘bihar board (bseb) result 2021’ || sectionName.toLowerCase() == ‘bihar 10th science result’ || sectionName.toLowerCase() == ‘bseb 10th matric result 2021’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 science’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 commerce’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 arts’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 vocational’ || sectionName.toLowerCase() == ‘up board 10th result 2021’ || sectionName.toLowerCase() == ‘up board 12th result 2021’ || sectionName.toLowerCase() == ‘mp board (mpbse) 10th result 2021’ || sectionName.toLowerCase() == ‘mp board 12th result 2021’ || sectionName.toLowerCase() == ‘rbse 10th result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) 12th arts result 2021’ || sectionName.toLowerCase() == ‘rbse 12th commerce result 2021’ || sectionName.toLowerCase() == ‘rbse 12th science result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) 5th result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) result 2021’ || sectionName.toLowerCase() == ‘rajasthan maadhyamik vyaavasaayik shiksha result’ || sectionName.toLowerCase() == ‘rbse praveshika result’ || sectionName.toLowerCase() == ‘rajasthan varishtha upadhyay result 2021’ || sectionName.toLowerCase().includes(‘board’) || sectionName.toLowerCase().includes(‘b result 2023’) || sectionName.toLowerCase() == ‘up board 10th result 2023’ || sectionName.toLowerCase() == ‘exam results’ || sectionName.toLowerCase() == ‘up board result 2023’){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970,90], [980,250], [980,200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Gutter’; } else if (sectionName.toLowerCase() == “elections” || sectionName.toLowerCase().includes(“parties”) || sectionName.toLowerCase().includes(“result”) || sectionName.toLowerCase().includes(“key candidates”) || sectionName.toLowerCase().includes(“karnataka election 2023 constituency list”) || sectionName.toLowerCase().includes(“karnataka election 2023 schedule”) || sectionName.toLowerCase().includes(“karnataka assembly election 2023”) || sectionName.toLowerCase().includes(“key candidate”) || sectionName.toLowerCase().includes(“elections”)){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Header_Multisize’, [[728,90], [970,90], [1100,250], [1100,90], [980,90], [970,90], [980,250], [980,200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Gutter’; //refreshSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Photogallery/HT_Desk_PTG_Middle_Multisize’, [[300, 250], [300, 600],[336,280]], ‘div-gpt-ad-1599152981479-0’).addService(googletag.pubads()).setTargeting(‘webrefresh’, ‘true’); } else if (sectionName.toLowerCase() == “games” || sectionName.toLowerCase() == ‘sudoku’ || sectionName.toLowerCase() == ‘crossword’ || sectionName.toLowerCase() == ‘word jumble’){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_DeskGutter_Games/HT_Desk_Games_Gutter’; }else if (sectionName.toLowerCase() == “quickreads”){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_QuickReads/HT_Desk_QuickReads_Header_Multisize’, [[728, 90], [970, 90], [1100, 250], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_QuickReads/HT_Desk_QuickReads_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); }else if (sectionName != “” && (sectionName.toLowerCase() == “education” || parentSection.toLowerCase() == “education” || primaryPageSection.toLowerCase() == “education”)){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Header_Multisize’, [[728, 90], [970, 90],[1100, 250], [1100, 90], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); gutterAdCode = ‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Gutter’; } else { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Header_Multisize’, [[728, 90], [970, 90], [1100, 250],[1100, 90], [980, 90], [970, 90], [980, 250], [980, 200], [970,250]], ‘div-gpt-ad-1522659065797-0’).addService(googletag.pubads()); rightSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Top_Multisize’, [[300, 250]], ‘div-gpt-ad-1341380965417-4’).addService(googletag.pubads()); } var gutterActive = true; if(typeof pageURL != “undefined” && pageURL.includes(“/cricket/ipl”)) { gutterActive = false; } if(gutterActive) { gutterAds = googletag.defineOutOfPageSlot(gutterAdCode, ‘div-gpt-ad-gutterAds-0’).addService(googletag.pubads()); refreshAdSlot.push(gutterAds); } var vdoFlag = false; if(typeof sectionName != “undefined” && sectionName != “” && sectionName.toLowerCase() != “homenew” && sectionName.toLowerCase() != “web stories” && sectionName.toLowerCase() != “videos” && sectionName.toLowerCase() != “photos” && sectionName.toLowerCase() != “brand stories” && sectionName.toLowerCase() != “impact feature”) { vdoFlag = true;} if(!vdoFlag) { if(typeof pageName != “undefined” && pageName != “” && pageName == “liveblog”) { vdoFlag = true; } } if(!vdoFlag) { if(typeof parentSection != “undefined” && parentSection != “” && parentSection.toLowerCase() != “videos” && parentSection.toLowerCase() != “photos” && parentSection.toLowerCase() != “brand stories” && parentSection.toLowerCase() != “impact feature”) { vdoFlag = true;} } if(!vdoFlag) { if(typeof storyMainSection != “undefined” && storyMainSection != “” && storyMainSection.toLowerCase() != “videos” && storyMainSection.toLowerCase() != “photos” && storyMainSection.toLowerCase() != “brand stories” && storyMainSection.toLowerCase() != “impact feature”) { vdoFlag = true;} } if (pageURL != “undefined” && (pageURL.includes(“/cricket/ipl”) || pageURL.includes(“/cricket/live-score”) || pageURL.includes(“/cricket/ashes-series”))) { vdoFlag = false; } if(vdoFlag) { vdoAds = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_Outstream_1x1’,[[1, 1]], ‘div-gpt-ad-vdoAds-0′).addService(googletag.pubads()); refreshAdSlot.push(vdoAds); } if(pageName==’story’){ var inLineAdBlock = true; if(inLineAdBlock) { if (storyMainSection.toLowerCase().includes(‘india news’) || storyMainSection.toLowerCase().includes(‘world news’)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (storyMainSection.toLowerCase().includes(‘education’)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (storyMainSection.toLowerCase().includes(“games”) || storyMainSection.toLowerCase().includes(‘sudoku’) || storyMainSection.toLowerCase().includes(‘crossword’) || storyMainSection.toLowerCase().includes(‘word jumble’)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“cricket”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“results”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“elections”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Election/HT_Desk_Election_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“photos”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_PhotoGallery/HT_Desk_PTG_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == ‘bihar board (bseb) result 2021’ || sectionName.toLowerCase() == ‘bihar 10th science result’ || sectionName.toLowerCase() == ‘bseb 10th matric result 2021’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 science’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 commerce’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 arts’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 vocational’ || sectionName.toLowerCase() == ‘up board 10th result 2021’ || sectionName.toLowerCase() == ‘up board 12th result 2021’ || sectionName.toLowerCase() == ‘mp board (mpbse) 10th result 2021’ || sectionName.toLowerCase() == ‘mp board 12th result 2021’ || sectionName.toLowerCase() == ‘rbse 10th result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) 12th arts result 2021’ || sectionName.toLowerCase() == ‘rbse 12th commerce result 2021’ || sectionName.toLowerCase() == ‘rbse 12th science result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) 5th result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) result 2021’ || sectionName.toLowerCase() == ‘rajasthan maadhyamik vyaavasaayik shiksha result’ || sectionName.toLowerCase() == ‘rbse praveshika result’ || sectionName.toLowerCase() == ‘rajasthan varishtha upadhyay result 2021’ || sectionName.toLowerCase().includes(‘board’) || sectionName.toLowerCase() == ‘up board 10th result 2023’ || sectionName.toLowerCase() == ‘up board result 2023’ ) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Result/HT_Desk_Result_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } refreshAdSlot.push(storySlot); } } var cubeAds1 = googletag.defineSlot(‘/3106570/Hindustantimes_Desktop_Cube/HT_Desk_Web_Cube_Phase_1_129x82’, [129, 82], ‘cube-ad-1’).addService(googletag.pubads()); refreshAdSlot.push(cubeAds1); var cubeAds2 = googletag.defineSlot(‘/3106570/Hindustantimes_Desktop_Cube/HT_Desk_Web_Cube_Phase_2_129x82’, [129, 82], ‘cube-ad-2’).addService(googletag.pubads()); refreshAdSlot.push(cubeAds2); var vdoFlagStory = false; //if(typeof pageName != “undefined” && pageName != “” && pageName == “story”) { // if(typeof sectionName != “undefined” && sectionName != “” && sectionName.toLowerCase() == “sports”) { vdoFlagStory = true;} //if(!vdoFlagStory && typeof parentSection != “undefined” && parentSection != “” && parentSection.toLowerCase() == “sports”) { vdoFlagStory = true;} // if(!vdoFlagStory && typeof storyMainSection != “undefined” && storyMainSection != “” && storyMainSection.toLowerCase() == “sports”) { vdoFlagStory = true;} // } if(vdoFlagStory) { vdoAdStory = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_Outstream_VDO_1x1_New’,[[1, 1]], ‘div-gpt-ad-vdoAdsStory-0’).addService(googletag.pubads()); refreshAdSlot.push(vdoAdStory); } } if (isDeviceEnabled(‘small’) || isDeviceEnabled(‘medium’)) { var mcanvasAd; mcanvasAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Story/HT_WAP_MCanvas_1x1’, [[1, 1]], ‘div-gpt-ad-mcanvas-0′).addService(googletag.pubads()); refreshAdSlot.push(mcanvasAd); if (pageName == “story”) { if(toShowTopAd==’true’) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Across/HT_WAP_LogoBand’, [[360, 40], [360, 78]], ‘div-gpt-ad-logo-mweb-0’).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } else if ( sectionName != “” && ((sectionName.toLowerCase() == “india news” || parentSection.toLowerCase() == “india news” || primaryPageSection.toLowerCase() == “india news”) || (sectionName.toLowerCase() == “elections” || parentSection.toLowerCase() == “elections” || primaryPageSection.toLowerCase() == “elections”) || (sectionName.toLowerCase() == “cricket” || parentSection.toLowerCase() == “cricket” || primaryPageSection.toLowerCase() == “cricket”))){ let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Across/HT_WAP_LogoBand’, [[360, 40], [360, 78]], ‘div-gpt-ad-logo-mweb-0′).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } else{ if(toShowTopAd==’true’) { let bannerAd = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Across/HT_WAP_LogoBand’, [[360, 40], [360, 78]], ‘div-gpt-ad-logo-mweb-0′).addService(googletag.pubads()); refreshAdSlot.push(bannerAd); } } if(pageName==’liveblog’){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_LiveBlog/HT_WAP_LiveBlog_Masthead_Multisize’, [[300,250],[336,280],[250, 250]], ‘div-gpt-ad-1524814893923-0′).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(pageName==’story’ || pageName == ‘gallery’){ if(typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“education”)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Education/HT_WAP_Education_Details_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(typeof storyMainSection != “undefined” && ( storyMainSection.toLowerCase().includes(“world news”) || storyMainSection.toLowerCase().includes(“india news”))) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_News/HT_WAP_News_Details_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(typeof storyMainSection != “undefined” && ( storyMainSection.toLowerCase().includes(“cricket”))) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Cricket/HT_WAP_Cricket_Details_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == “elections” || sectionName.toLowerCase().includes(“parties”) || sectionName.toLowerCase().includes(“result”) || sectionName.toLowerCase().includes(“key candidates”) || sectionName.toLowerCase().includes(“karnataka election 2023 constituency list”) || sectionName.toLowerCase().includes(“karnataka election 2023 schedule”) || sectionName.toLowerCase().includes(“karnataka assembly election 2023”) || sectionName.toLowerCase().includes(“key candidate”)){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Election/HT_WAP_Election_Details_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(typeof storyMainSection != “undefined” && ( storyMainSection.toLowerCase() == (“photos”))) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_PhotoGallery/HT_WAP_PTG_Details_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(typeof storyMainSection != “undefined” && ( storyMainSection.toLowerCase().includes(“elections”))) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Election/HT_WAP_Election_Details_A_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(typeof storyMainSection != “undefined” && ( storyMainSection.toLowerCase().includes(“results”))) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Result/HT_WAP_Result_Details_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase() == “cities”) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(pageName==”story” && affiliateArticle==true){ } else { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } } else if (sectionName != “” && (sectionName.toLowerCase() == “india news” || sectionName.toLowerCase() == “world news” )) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_News/HT_WAP_News_Masthead_Multisize’, [[300,250],[336,280],[250, 250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(sectionName.toLowerCase() == “photos” || parentSection.toLowerCase() == “photos” || storyMainSection.toLowerCase() == “photos”){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_PhotoGallery/HT_WAP_PTG_Masthead_Multisize’, [[300,250], [336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if( sectionName.toLowerCase() == “world news” || parentSection.toLowerCase() == “world news” || storyMainSection.toLowerCase() == “world news” || sectionName.toLowerCase() == “india news” || parentSection.toLowerCase() == “india news” || storyMainSection.toLowerCase() == “india news”){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_News/HT_WAP_News_Masthead_Multisize’, [[300,250], [336,280],[250, 250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof sectionName != “undefined” && (sectionName.toLowerCase() == “cities” || parentSection.toLowerCase() == “cities” || storyMainSection.toLowerCase() == “cities”)) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Section/HT_WAP_Section_Masthead_Multisize’, [[300,250], [336,280],[250, 250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if(sectionName.toLowerCase() == “homenew”){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_Masthead_Multisize’, [[300,250],[336, 280],[250, 250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == “games” || sectionName.toLowerCase() == ‘sudoku’ || sectionName.toLowerCase() == ‘crossword’ || sectionName.toLowerCase() == ‘word jumble’){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Games/HT_WAP_Games_Masthead_Multisize’, [[300,250],[336, 280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == “quickreads”){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_QuickReads/HT_WAP_QuickReads_Masthead_Multisize’, [[300,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == “education” || (parentSection.toLowerCase() == “education” && !sectionName.toLowerCase().includes(‘board exams’))){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Education/HT_WAP_Education_Masthead_Multisize’, [[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if ( sectionName != “” && (sectionName.toLowerCase() == “cricket” || parentSection.toLowerCase() == “cricket” || primaryPageSection.toLowerCase() == “cricket”) ) { topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Cricket/HT_WAP_Cricket_Masthead_Multisize’, [[300,250], [336, 280], [250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == ‘bihar board (bseb) result 2021’ || sectionName.toLowerCase() == ‘bihar 10th science result’ || sectionName.toLowerCase() == ‘bseb 10th matric result 2021’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 science’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 commerce’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 arts’ || sectionName.toLowerCase() == ‘bseb 12th result 2021 vocational’ || sectionName.toLowerCase() == ‘up board 10th result 2021’ || sectionName.toLowerCase() == ‘up board 12th result 2021’ || sectionName.toLowerCase() == ‘mp board (mpbse) 10th result 2021’ || sectionName.toLowerCase() == ‘mp board 12th result 2021’ || sectionName.toLowerCase() == ‘rbse 10th result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) 12th arts result 2021’ || sectionName.toLowerCase() == ‘rbse 12th commerce result 2021’ || sectionName.toLowerCase() == ‘rbse 12th science result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) 5th result 2021’ || sectionName.toLowerCase() == ‘rajasthan board (rbse) result 2021’ || sectionName.toLowerCase() == ‘rajasthan maadhyamik vyaavasaayik shiksha result’ || sectionName.toLowerCase() == ‘rbse praveshika result’ || sectionName.toLowerCase() == ‘rajasthan varishtha upadhyay result 2021’ || sectionName.toLowerCase().includes(‘board’) || sectionName.toLowerCase() == ‘up board 10th result 2023’ || sectionName.toLowerCase() == ‘up board result 2023’ || sectionName.toLowerCase().includes(‘bihar bseb result’)){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Result/HT_WAP_Result_Masthead_Multisize’,[[300,250],[336,280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (sectionName.toLowerCase() == “elections” || sectionName.toLowerCase().includes(‘elections’) || sectionName.toLowerCase().includes(“parties”) || sectionName.toLowerCase().includes(“result”) || sectionName.toLowerCase().includes(“key candidates”) || sectionName.toLowerCase().includes(“karnataka election 2023 constituency list”) || sectionName.toLowerCase().includes(“karnataka election 2023 schedule”) || sectionName.toLowerCase().includes(“karnataka assembly election 2023”) || sectionName.toLowerCase().includes(“key candidate”)){ topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Election/HT_WAP_Election_Masthead_Multisize’, [[300,250],[336, 280],[250,250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else { if (pageURL == “undefined” || (!pageURL.includes(“/cricket/ipl”) && !pageURL.includes(“/cricket/live-score”))) topSlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Section/HT_WAP_Section_Masthead_Multisize’, [[300,250], [336,280],[250, 250]], ‘div-gpt-ad-1524814893923-0’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } var vdoFlag = false; if(typeof sectionName != “undefined” && sectionName != “” && sectionName.toLowerCase() != “homenew” && sectionName.toLowerCase() != “web stories” && sectionName.toLowerCase() != “videos” && sectionName.toLowerCase() != “photos” && sectionName.toLowerCase() != “brand stories” && sectionName.toLowerCase() != “impact feature”) { vdoFlag = true;} if(!vdoFlag) { if(typeof pageName != “undefined” && pageName != “” && pageName == “liveblog”) { vdoFlag = true; } } if(!vdoFlag) { if(typeof parentSection != “undefined” && parentSection != “” && parentSection.toLowerCase() != “videos” && parentSection.toLowerCase() != “photos” && parentSection.toLowerCase() != “brand stories” && parentSection.toLowerCase() != “impact feature”) { vdoFlag = true;} } if(!vdoFlag) { if(typeof storyMainSection != “undefined” && storyMainSection != “” && storyMainSection.toLowerCase() != “videos” && storyMainSection.toLowerCase() != “photos” && storyMainSection.toLowerCase() != “brand stories” && storyMainSection.toLowerCase() != “impact feature”) { vdoFlag = true;} } if (pageURL != “undefined” && (pageURL.includes(“/cricket/ipl”) || pageURL.includes(“/cricket/live-score”))) { vdoFlag = false; } if(vdoFlag) { vdoAds = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_Outstream_1x1’,[[1, 1]], ‘div-gpt-ad-vdoAds-0′).addService(googletag.pubads()); refreshAdSlot.push(vdoAds); } if(pageName==’story’) { var inLineAdBlock = true; if(inLineAdBlock) { if (storyMainSection.toLowerCase().includes(‘india news’) || storyMainSection.toLowerCase().includes(‘world news’)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_News/HT_WAP_News_Details_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (storyMainSection.toLowerCase().includes(‘education’)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Education/HT_WAP_Education_Details_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (storyMainSection.toLowerCase().includes(“games”) || storyMainSection.toLowerCase().includes(‘sudoku’) || storyMainSection.toLowerCase().includes(‘crossword’) || storyMainSection.toLowerCase().includes(‘word jumble’)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Desktop_Games/HT_Desk_Games_Details_A_300x250’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“cricket”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Cricket/HT_WAP_Cricket_Details_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“results”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Result/HT_WAP_Result_Details_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“elections”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Election/HT_WAP_Election_Details_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else if (typeof storyMainSection != “undefined” && storyMainSection.toLowerCase().includes(“photos”)) { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_PhotoGallery/HT_WAP_PTG_Details_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } else { storySlot = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_A_Multisize’, [[300, 250],[1, 1],[336,280],[250, 250]], ‘div-gpt-ad-story’).addService(googletag.pubads()).setCollapseEmptyDiv(true, true); } refreshAdSlot.push(storySlot); } } var cubeAds1 = googletag.defineSlot(‘/3106570/Hindustantimes_Mweb_Cube/HT_Desk_WAP_Cube_Phase_1_129x82’, [129, 82], ‘cube-ad-1’).addService(googletag.pubads()); refreshAdSlot.push(cubeAds1); var cubeAds2 = googletag.defineSlot(‘/3106570/Hindustantimes_Mweb_Cube/HT_Desk_WAP_Cube_Phase_2_129x82’, [129, 82], ‘cube-ad-2’).addService(googletag.pubads()); refreshAdSlot.push(cubeAds2); var vdoFlagStory = false; //if(typeof pageName != “undefined” && pageName != “” && pageName == “story”) { // if(typeof sectionName != “undefined” && sectionName != “” && sectionName.toLowerCase() == “sports”) { vdoFlagStory = true;} // if(!vdoFlagStory && typeof parentSection != “undefined” && parentSection != “” && parentSection.toLowerCase() == “sports”) { vdoFlagStory = true;} // if(!vdoFlagStory && typeof storyMainSection != “undefined” && storyMainSection != “” && storyMainSection.toLowerCase() == “sports”) { vdoFlagStory = true;} // } if(vdoFlagStory) { vdoAdStory = googletag.defineSlot(‘/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_Outstream_VDO_1x1_New’,[[1, 1]], ‘div-gpt-ad-vdoAdsStory-0’).addService(googletag.pubads()); refreshAdSlot.push(vdoAdStory); } } /** Small End **/ refreshAdSlot.push(topSlot); refreshAdSlot.push(refreshSlot); refreshAdSlot.push(rightSlot); //refreshAdSlot.push(timerAd); } googletag.pubads().setTargeting(‘template’,’story’); googletag.pubads().setTargeting(‘section’,’world news’); googletag.pubads().setTargeting(‘subsection’,’us news’); googletag.pubads().setTargeting(‘HT_StoryID’, ‘101726383772275’); googletag.pubads().setTargeting(‘ContextualKeyword’, ‘Political Keys,whatsapp2,Topic_ht_18’); googletag.pubads().setTargeting(‘HT_Topic’, ‘kamala harris,donald trump,us news,united states’); googletag.pubads().enableSingleRequest(); googletag.pubads().disableInitialLoad(); if(getCookie(‘ppid’)) { googletag.pubads().setPublisherProvidedId(getCookie(‘ppid’)); } var params = (new URL(document.location)).searchParams; var utm_medium = params.get(“utm_medium”); var utm_source = params.get(“utm_source”); if(utm_medium !=null && utm_source !=null){ googletag.pubads().setTargeting(“Traffic_Source”, utm_medium+”_”+utm_source); } googletag.enableServices(); if (typeof PWT.requestBids === ‘function’) { PWT.requestBids( PWT.generateConfForGPT(googletag.pubads().getSlots()), function (adUnitsArray) { PWT.addKeyValuePairsToGPTSlots(adUnitsArray); PWT.ow_BidsReceived = true; initAdserver(false); } ); } var FAILSAFE_TIMEOUT = 1000; setTimeout(function () { initAdserver(true); }, FAILSAFE_TIMEOUT); if(roadblock == false){ googletag.pubads().addEventListener(“slotRenderEnded”, function (event) { if (event.size != null) { var adH = event.size; if (adH[1] == 1) { if(event.slot.getSlotElementId() != “div-gpt-ad-vdoAds-0”) { document.getElementById(event.slot.getSlotElementId()).classList.add(“roadBlock”); //document.getElementById(event.slot.getSlotElementId()).style.height = “600px”; } } } if (pageName == “story”) { if (event.isEmpty) { if ( event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_B_Multisize” || event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_B_300x250” ) { loadScriptPltU( “https://www.hindustantimes.com/static-content/1y/2023/binded-html.js”, function () { adFunction( event.slot.getSlotElementId(), aff_keywords, affSection, aff_parent_keyword, 0, event.slot.getAdUnitPath() ); } ); } if ( event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_C_Multisize” || event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Desktop_Story/HT_Desk_Story_C_300x250” ) { loadScriptPltU( “https://www.hindustantimes.com/static-content/1y/2023/binded-html.js”, function () { adFunction( event.slot.getSlotElementId(), aff_keywords, affSection, aff_parent_keyword, 1, event.slot.getAdUnitPath() ); } ); } } } if (event.isEmpty) { if ( event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Mweb_Story/HT_WAP_Story_Sticky_Multisize” || event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Mweb_LiveBlog/HT_WAP_LiveBlog_Sticky_Multisize” || event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Mweb_Section/HT_WAP_Section_Sticky_Multisize” || event.slot.getAdUnitPath() == “/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_Sticky_Multisize” ) { loadScriptPltU( “https://www.hindustantimes.com/static-content/1y/2023/binded-html.js”, function () { if (typeof aff_keywords == “undefined”) { aff_keywords = “”; } if (typeof affSection == “undefined”) { affSection = sectionName; } if (typeof aff_parent_keyword == “undefined”) { aff_parent_keyword = “”; } stickyAdFunction( event.slot.getSlotElementId(), aff_keywords, affSection, aff_parent_keyword, 0, event.slot.getAdUnitPath() ); } ); } } }); } }); ]]>
`; } ]]>
Source