10 Potret Liburan Luna Maya di Sumba

x != “”); }; window.GAMLibrary = {}; window.GAMLibrary = { dfpBillboard : ‘/36504930/www.fimela.com/dfp-billboard’, gamImmersive : ‘/36504930/www.fimela.com/dfp-immersive’, documentMeta : function (metaName) { var metaResult = ”; var metas = document.getElementsByTagName(‘meta’); if (metas) { for (var x = 0, y = metas.length; x < y; x++) { if (metas[x].name.toLowerCase() == metaName) { metaResult += metas[x].content; } } } return metaResult != '' ? metaResult : ''; }, inArray : function (needle, haystack) { var length = haystack.length; for (var i = 0; i article'); gamObserver = new MutationObserver(function(event) { event.forEach(function(mutation) { if (mutation.addedNodes.length && mutation.addedNodes[0].nodeName == "ARTICLE") { continuesPage++; GAMLibrary.insertNative(mutation.addedNodes[0]); } }) }); gamObserver.observe(articleElement, { childList: true, attributes: true, subtree: true, attributeOldValue: true, type: true //characterData: false, //characterDataOldValue: false }); if (relArticle1.length === 1 || continuesPage === 1) { GAMLibrary.insertNative(document); } }, userAgent : navigator.userAgent.toLowerCase(), GAMisTablet : /(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(this.userAgent) } // var PWT={}, //Initialize Namespace // googletag = googletag || {}, // continuesPage = 1; // googletag.cmd = googletag.cmd || []; // PWT.jsLoaded = function(){ //PubMatic pwt.js on load callback is used to load GPT // (function() { // var gads = document.createElement('script'); // var useSSL = 'https:' == document.location.protocol; // gads.async = true; // gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; // var node = document.getElementsByTagName('script')[0]; // node.parentNode.insertBefore(gads, node); // })(); // }; // (function() { // var purl = window.location.href; // var url = '//ads.pubmatic.com/AdServer/js/pwt/156536/1107'; // var profileVersionId = ''; // if(purl.indexOf('pwtv=')>0){ // var regexp = /pwtv=(.*?)(&|$)/g; // var matches = regexp.exec(purl); // if(matches.length >= 2 && matches[1].length > 0){ // profileVersionId = ‘/’+matches[1]; // } // } // var wtads = document.createElement(‘script’); // wtads.async = true; // wtads.type = ‘text/javascript’; // wtads.src = url+profileVersionId+’/pwt.js’; // var node = document.getElementsByTagName(‘script’)[0]; // node.parentNode.insertBefore(wtads, node); // })(); /* START – LOAD PUBMATIC, GOOGLE ADS & REVIVE */ var PWT={}; //Initialize Namespace var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; var gptRan = false; PWT.jsLoaded = function(){ //PubMatic pwt.js on load callback is used to load GPT loadGPT(); }; var loadGPT = function() { // Check the gptRan flag if (!gptRan) { gptRan = true; var gads = document.createElement(‘script’); var rads = document.createElement(‘script’); // #1 var useSSL = ‘https:’ == document.location.protocol; gads.src = (useSSL ? ‘https:’ : ‘http:’) + ‘//securepubads.g.doubleclick.net/tag/js/gpt.js’; rads.src = (useSSL ? ‘https:’ : ‘http:’) + ‘//adserver.kl-youniverse.com/asyncjs.php’; // #2 gads.async = true; rads.async = true; // #3 var node = document.getElementsByTagName(‘script’)[0]; node.parentNode.insertBefore(gads, node); node.parentNode.insertBefore(rads, node); // #4 } }; // Failsafe to call gpt setTimeout(loadGPT, 500); (function() { var purl = window.location.href; var url = ‘//ads.pubmatic.com/AdServer/js/pwt/156536/1107’; var profileVersionId = ”; if(purl.indexOf(‘pwtv=’)>0){ var regexp = /pwtv=(.*?)(&|$)/g; var matches = regexp.exec(purl); if(matches.length >= 2 && matches[1].length > 0){ profileVersionId = ‘/’+matches[1]; } } var wtads = document.createElement(‘script’); wtads.async = true; wtads.type = ‘text/javascript’; wtads.src = url+profileVersionId+’/pwt.js’; var node = document.getElementsByTagName(‘script’)[0]; node.parentNode.insertBefore(wtads, node); PWT.HookForPrebidRequestBids = function (adUnits) { //console.log(‘HookForPrebidRequestBids: Original adUnits array :’, adUnits); adUnits.forEach(function (au) { //console.log(‘HookForPrebidRequestBids: adding kadfloor to pubmatic’); au.bids.forEach(function (bid) { //if(bid.bidder == ‘pubmatic’) { //bid.params.wiid=’hooksimpression’;} if (bid.bidder == ‘spotx’) { var s_page_url = window.top!=window.parent?document.referrer:window.location.href bid.params[“custom”] = {“page_url”: s_page_url}; bid.params[“outstream_function”] = function (bid) { //console.dir(bid); //const videoDiv = bid.adUnitCode; const videoDiv = bid.adUnitCode.split(‘@’)[0]; const playerWidth = 300; const playerHeight = 250; //window.console.log(“[SPOTX][renderer] Handle SpotX custom outstream renderer”); let script = window.document.createElement(“script”); script.type = “text/javascript”; script.src = “//cdn.spotxcdn.com/website/integration_test/media/asia/EASIv2.js”; script.setAttribute(“data-spotx_channel_id”,”” + bid.channel_id); script.setAttribute(“data-spotx_vast_url”, “” + bid.vastUrl); script.setAttribute(“data-spotx_content_width”, playerWidth); script.setAttribute(“data-spotx_content_height”,playerHeight); script.setAttribute(“data-spotx_content_page_url”,bid.renderer.config.content_page_url); script.setAttribute(“data-spotx_ad_unit”, “incontent”); script.setAttribute(“data-spotx_autoplay”, “1”); script.setAttribute(“data-spotx_continue_out_of_view”, “1”); script.setAttribute(“data-spotx_content_container_id”,videoDiv); var vid_contain = window.document.getElementById(videoDiv); vid_contain.style.cssText = “display: none; margin-bottom: 20px”; vid_contain.appendChild(script); } } }) }) }; })(); /* END – LOAD PUBMATIC, GOOGLE ADS & REVIVE */ /* DMP CATEGORY LIST */ window.createDMPTracker = function(adsList,dfpTracker){ var dmpEl,dmpON,dmpId = 1, dmpList=[“car-toyota”, “car-electric”, “bike-electric”, “fashion-kids”, “news”, “car-honda”, “car-suzuki”, “car-daihatsu”, “car-mitsubishi”, “car-wuling”, “car-datsun”, “car-lcgc”, “car-mpv”, “car-premium”, “bike-honda”, “bike-yamaha”, “bike-suzuki”, “finance-savings”, “finance-deposit”, “finance-credit-card”, “finance-stock-exchange”, “finance-ewallet”, “finance-gold”, “loan-kpr”, “loan-kkb”, “loan-for-bussines”, “loan-online”, “education-college”, “education-seminar”, “education-courses”, “beauty-treatment”, “beauty-plastic-surgery”, “health-hospital”, “health-diet”, “health-nutrition”, “health-fitness”, “insurance-life”, “insurance-health”, “insurance-education”, “insurance-travel”, “insurance-houses”, “insurance-car”, “insurance-bike”, “hotel-domestic”, “hotel-international”, “ticket-airplane”, “ticket-train”, “tourism-domestic”, “tourism-international”, “online-transportation”, “telco-provider”, “telco-internet”, “telco-tv-cable”, “electronic-mobile”, “electronic-notebook”, “electronic-desktop”, “electronic-home-appliance”, “fmcg-coffee”, “fmcg-milk-product”, “fmcg-beverage”, “fmcg-frozen-food”, “fmcg-healthy-food”, “fmcg-snack”, “fmcg-men-haircare”, “fmcg-women-haircare”, “fmcg-skin-treatment”, “fmcg-dental-care”, “fmcg-foot-hand-care”, “fmcg-tobacco”, “ecommerce-marketplace”, “hobby-esport”, “hobby-sport”, “hobby-collection”, “hobby-pet”, “property-houses”, “property-apartment”, “fashion-men”, “fashion-women”, “fashion-hijab”, “all-event”, “beauty-event”, “lifestyle-event”, “fashion-event”, “music-event”, “women-event”, “education-event”, “automotive-event”, “parenting-event”, “korean-event”, “comedy-event”, “gamer-event”, “tv-all-program”, “tv-news-program”, “korean-content”, “movies”, “dangdut”, “music”, “fashion”, “hijab”, “beauty-content”, “women”, “moms”, “health-wellness”, “travelling”, “culinary”, “entrepreneur”, “mobile-apps”,”health-drugs”]; Array.isArray(adsList) && dmpList.forEach(function(v,k){ adsList.forEach(function(l,e){ if(v === l){ cat = v.trim(); dmpEl = document.createElement(‘img’); dmpON = parent.window.document.querySelector(‘#dmp-tracker-‘+dmpId); dmpON ? dmpON.remove() : ”; dmpEl.setAttribute(‘src’,’https://beacon.krxd.net/event.gif?event_id=M361oCpv&event_type=registration&cat=’+cat+’&media=banner’); dmpEl.setAttribute(‘width’,’0′); dmpEl.setAttribute(‘height’,’0′); dmpEl.setAttribute(‘id’,’dmp-tracker-‘+dmpId); console.log(dmpEl); parent.window.document.body.appendChild(dmpEl); dmpId++; } }); }); parent.window.open(dfpTracker, ‘_blank’); }; var elImmersiveContainer = document.createElement(‘div’); elImmersiveContainer.setAttribute(‘id’, ‘div-gpt-ad-fimela-immersive-oop’); if (document.body.appendChild(elImmersiveContainer)) { googletag.cmd.push(function() { /*INIT CONTENT FILTERING SCRIPT*/ var urlPath = document.URL, isMatcont = false, blackListWords = new Array(‘matcont’,’aduhai’,’kelamin’,’vital’,’anal’,’belahan’,’bercinta’,’bergairah’,’gairah’,’intim’,’bikini’,’bokong’,’boob’,’bra’,’bugil’,’celana’,’ciuman’,’cleavage’,’dada’,’dewasa’,’diremas’,’doggie’,’ejakulasi’,’ereksi’,’erotis’,’foreplay’,’kiss’,’seks’,’gangbang’,’horny’,’hot’,’kamasutra’,’keperawanan’,’perawan’,’kondom’,’kontrasepsi’,’libido’,’lingerie’,’masturbasi’,’mature’,’menggairahkan’,’menggoda’,’mesra’,’miss-v’,’mr-p’,’nakal’,’naughty’,’nipple’,’nipples’,’onani’,’oral’,’oral seks’,’organ’,’orgasme’,’paha’,’pantat’,’panties’,’payudara’,’pelecehan’,’telanjang’,’penetrasi’,’penis’,’perkosa’,’perkosaan’,’pole’,’porno’,’pornoaksi’,’pornografi’,’telentang’,’provokatif’,’putting’,’ranjang’,’sex’,’penetratif’,’seksi’,’seksual’,’sensual’,’seronok’,’doll’,’toys’,’skandal’,’sperma’,’striptease’,’striptis’,’syur’,’terangsang’,’tiduri’,’topless’,’vagina’,’vibrator’,’lendir’,’prostitusi’,’homoseks’,’meraba-raba’,’mesum’,’memerkosa’,’rudapaksa’,’kemaluan’,’menewaskan’,’menewaskan orang’,’mengancam nyawa’,’meninggal’,’meninggal dunia’,’orang mati’,’orang tewas’,’pemakaman’,’petugas penyelamat’,’telah meninggal’,’terbunuh’,’tewas’,’tewaskan’,’tim penyelamat’,’wanita meninggal’,’autopsi’,’belasungkawa’,’bencana’,’bencana besar’,’bunuh orang’,’bunuh diri’,’darurat bencana’,’dilaporkan tewas’,’dimakamkan’,’dipastikan tewas’,’ditemukan mati’,’ditemukan tewas’,’hilangnya nyawa’,’identitas korban’,’inalillahi’,’jasad korban’,’jasadnya’,’jenasah wanita’,’jenazah’,’jenazah pria’,’jenazah teridentifikasi’,’jasad’,’kehilangan hidupnya’,’kehilangan nyawa’,’kehilangan nyawanya’,’kematian’,’korban’,’korban jiwa’,’korban meninggal’,’korban tewas’,’mati’,’mayat’,’mayat korban’,’membunuh’,’membunuh istrinya’,’membunuh mereka’,’membunuh suaminya’,’menemui ajal’,’mengalami koma’,’menghembuskan nafas terakhir’,’menimbulkan korban’,’meninggal akibat sakit’,’menyebabkan kematian’,’meregang nyawa’,’meregggut nyawa’,’modar’,’nyawa hilang’,’nyawa melayang’,’penyebab kematian’,’tak bernyawa’,’tak sadarkan diri’,’terkapar’,’tidak bernyawa’,’tutup usia’,’wafat’,’kematian virus’,’kematian wabah’,’korban terinfeksi’,’virus menyerang’,’merenggut nyawa’,’pelayat’,’hilangkan nyawa’,’renggut nyawa’,’wabah’,’keadaan kritis’,’kehilangan darah’,’merenggut jiwa’,’telan nyawa’,’menelan nyawa’,’memakan nyawa’,’dinyatakan meninggal’,’nyawa tak tertolong’,’penyakit’,’sakit pernapasan’,’sesak’,’korona’,’corona’,’odp’,’pdp’,’virus’,’rumah sakit’,’Covid-19′,’virus korona’,’positif korona’,’COVID-19′,’virus corona’,’terjangkit COVID-19′,’terinfeksi virus corona’), /* POPULATE META DATA KEYWORDS */ dfp_pageTitle = kmklabs.article && kmklabs.article.title.klyFiltering(‘ ‘), dfp_titles = (typeof dfp_pageTitle !== ‘undefined’) ? dfp_pageTitle.toString().klyFiltering(“-“) : ”, dfp_pageKeywords = GAMLibrary.documentMeta(“keywords”), dfp_keyword = dfp_pageKeywords.klyFiltering(“,”), /* POPULATE META DATA DESC */ dfp_pageDesc = GAMLibrary.documentMeta(“description”), dfp_desc = dfp_pageDesc.klyFiltering(“,”), tagForAds = tagForAds = (typeof kmklabs !== ‘undefined’) ? kmklabs.gtm.tag.replace(/[^A-Za-z0-9|- ]/ig,””).klyFiltering(“|”) : “”, dfp_keywords = dfp_keyword.concat(dfp_titles, dfp_desc, tagForAds), gam_billboard,gam_topfrm,gam_bottomfrm,gam_skinad; /*MATURE CONTENT DEFINED VAR & SET TARGETTING*/ if (!blackListWords) { var blackListWords = new Array(‘matcont’); } //search from keyword, desc & tag meta data blackListWords = GAMLibrary.arrToLowerCase(blackListWords); dfp_keywords.forEach(function(sKeyword) { tagForAds.push(sKeyword); if (GAMLibrary.inArray(sKeyword, blackListWords)) { isMatcont = true; } }); /* DEFINE IMMERSIVE TAG – DO NOT CHANGE THE SLOT ORDER, IMMERSIVE ALWAYS ON THE 1st POSITION – */ var gam_immersive = googletag.defineOutOfPageSlot(GAMLibrary.gamImmersive, ‘div-gpt-ad-fimela-immersive-oop’).addService(googletag.pubads()); var fim_lb = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-lb’, [[728, 90],[970, 90],[970,250]], ‘div-gpt-ad-fimela-lb-1’).addService(googletag.pubads()); var fim_sc = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-sc1’, [[300, 250],[250, 250]], ‘div-gpt-ad-fimela-sc-1’).addService(googletag.pubads()); var fim_hp = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-halfpage’, [[300, 250],[300, 600],[160, 600]], ‘div-gpt-ad-fimela-halfpage-1’).addService(googletag.pubads()); googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-marcomm1′,’div-gpt-ad-fimela-marcomm1’).addService(googletag.pubads()); googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-lFloating’, ‘div-gpt-ad-fimela-lFloating-oop’).addService(googletag.pubads()); googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-pop’, ‘div-gpt-ad-fimela-popup-oop’).addService(googletag.pubads()); googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-contextual’, ‘div-gpt-ad-fimela-contextual-oop’).addService(googletag.pubads()); googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-highlight-1’, ‘div-gpt-ad-fimela-highlight-1’).addService(googletag.pubads()); googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-highlight-2’, ‘div-gpt-ad-fimela-highlight-2’).addService(googletag.pubads()); googletag.pubads().addEventListener(‘slotRenderEnded’, function(event) { var dfp_slotElementId = event.slot.getSlotId().getDomId(); /* get adunit dom id*/ if (event.slot == gam_immersive) { if (event.isEmpty) { gam_billboard = googletag.defineOutOfPageSlot(GAMLibrary.dfpBillboard, ‘div-gpt-ad-fimela-billboard-oop’).addService(googletag.pubads()); gam_topfrm = googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-topfrm’, ‘div-gpt-ad-fimela-topfrm-oop’).addService(googletag.pubads()); gam_bottomfrm = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-bottomfrm’, [468, 60], ‘div-gpt-ad-fimela-bottomfrm-oop’).addService(googletag.pubads()); googletag.display(‘div-gpt-ad-fimela-billboard-oop’); googletag.display(‘div-gpt-ad-fimela-topfrm-oop’); googletag.display(‘div-gpt-ad-fimela-bottomfrm-oop’); if(!GAMLibrary.GAMisTablet){ gam_skinad = googletag.defineOutOfPageSlot(‘/36504930/www.fimela.com/dfp-skinad’, ‘div-gpt-ad-fimela-skinad-oop’).addService(googletag.pubads()); googletag.display(‘div-gpt-ad-fimela-skinad-oop’); googletag.pubads().refresh([gam_billboard, gam_topfrm, gam_bottomfrm, gam_skinad]); }else{ googletag.pubads().refresh([gam_billboard, gam_topfrm, gam_bottomfrm]); } } } }); /* START TARGETING BLOCK */ if (isMatcont) { googletag.pubads().setTargeting(“isMatcont”, [“1”]);} if(typeof Krux !== “undefined”){ googletag.pubads().setTargeting(‘ksg’, Krux.segments); googletag.pubads().setTargeting(‘kuid’, Krux.user); } googletag.pubads().setTargeting(“tags”,tagForAds); googletag.pubads().setTargeting(“currentUrl”, urlPath); googletag.pubads().setTargeting(“type”, kmklabs.gtm.type); googletag.pubads().setTargeting(“pageType”, kmklabs.pageType); googletag.pubads().setTargeting(“channel”, kmklabs.gtm.subCategory); googletag.pubads().setTargeting(“audience”, kmklabs.gtm.audience ? kmklabs.gtm.audience.split(“|”) : “false”); googletag.pubads().setTargeting(“isAdvertorial”, typeof (isAdvertorial = kmklabs.article && kmklabs.article.isAdvertorial.toString()) === “undefined” ? “false” : isAdvertorial); googletag.pubads().setTargeting(“isMultipage”, typeof (isMultipage = kmklabs.article && kmklabs.article.isMultipage.toString()) === “undefined” ? “false” : isMultipage ); googletag.pubads().setTargeting(“articleId”, kmklabs.gtm.articleId.toString()); googletag.pubads().setTargeting(“pagingNum”, typeof (pageParam = kmklabs.gtm.pageParam && kmklabs.gtm.pageParam.toString()) === “undefined” ? “false” : pageParam ); googletag.pubads().setTargeting(“site”, kmklabs.site); googletag.pubads().setTargeting(“age”, typeof (age = kmklabs.gtm.age) === “undefined” ? “false” : kmklabs.gtm.age.toString()); googletag.pubads().setTargeting(“gender”, typeof (gender = kmklabs.gtm.gender) === “undefined” ? “false” : kmklabs.gtm.gender.toString()); /* END TARGETING BLOCK */ googletag.pubads().setCentering(true); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); } googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-immersive-oop’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-lb-1’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-sc-1’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-halfpage-1’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-marcomm1’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-lFloating-oop’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-popup-oop’);}); googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-fimela-contextual-oop’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-highlight-1’);}); googletag.cmd.push(function() {googletag.display(‘div-gpt-ad-fimela-highlight-2’);}); /* TRIGGER INFEED AND NATIVEOUT CONTAINER */ window.addEventListener(“load”, GAMLibrary.initiateNativeContainer); /*Put additional script to load showcase on infinite page*/ var element = document.querySelector(‘.read-page–core-article’); var observer = new MutationObserver(function(mutations) { elContent = document.querySelectorAll(‘.read-page–core-article’); if(elContent.length>1){ //console.log(mutations); //console.log(elContent.length); /*add load more ads div container*/ var order = parseInt(elContent.length); GAMLibrary.create_element(‘div-gpt-ad-fimela-lb-‘+order, ‘article-lb-‘+order); GAMLibrary.create_element(‘div-gpt-ad-fimela-sc-‘+order, ‘article-sc-‘+order); GAMLibrary.create_element(‘div-gpt-ad-fimela-halfpage-‘+order, ‘article-halfpage-‘+order); var fim_lb = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-lb’, [[728, 90],[970, 90],[970,250]], ‘div-gpt-ad-fimela-lb-‘+order).addService(googletag.pubads()); googletag.display(‘div-gpt-ad-fimela-lb-‘+order); googletag.pubads().refresh([fim_lb]); var fim_sc = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-sc1’, [[300, 250],[250, 250]], ‘div-gpt-ad-fimela-sc-‘+order).addService(googletag.pubads()); googletag.display(‘div-gpt-ad-fimela-sc-‘+order); googletag.pubads().refresh([fim_sc]); var fim_hp = googletag.defineSlot(‘/36504930/www.fimela.com/dfp-halfpage’, [[300, 250],[300, 600],[160, 600]], ‘div-gpt-ad-fimela-halfpage-‘+order).addService(googletag.pubads()); googletag.display(‘div-gpt-ad-fimela-halfpage-‘+order); googletag.pubads().refresh([fim_hp]); } }); observer.observe(document.querySelectorAll(‘.read-page–article-triumvirate_with-ads’)[0], {childList: true}); //}); ]]>

Source

Leave a Reply

Your email address will not be published. Required fields are marked *