Doa Perjalanan Jauh Agar Senantiasa Dilindungi oleh Allah SWT

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); // })(); // /* END PUBMATIC HB WRAPPER CODE*/ // var PWT={}; //Initialize Namespace // var googletag = googletag || {}; // 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 rads = document.createElement(‘script’); // #1 // var useSSL = ‘https:’ == document.location.protocol; // gads.async = true; // rads.async = true; // #3 // gads.src = (useSSL ? ‘https:’ : ‘http:’) + ‘//www.googletagservices.com/tag/js/gpt.js’; // rads.src = (useSSL ? ‘https:’ : ‘http:’) + ‘//adserver.kl-youniverse.com/asyncjs.php’; // #2 // var node = document.getElementsByTagName(‘script’)[0]; // node.parentNode.insertBefore(gads, node); // node.parentNode.insertBefore(rads, node); // #4 // })(); // }; /* 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/773’; 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 */ /*PROTOTYPE CUSTOM FILTERING*/ String.prototype.klyFiltering = function (delimiter) { return this.trim().split(delimiter).map(function(t){return t.trim().toLowerCase()}).filter(x => x != “”); }; window.GAMLibrary = {}; window.GAMLibrary = { dfpBillboard : ‘/36504930/www.liputan6.com/dfp-billboard’, gamImmersive : ‘/36504930/www.liputan6.com/dfp-immersive’, userAgent : navigator.userAgent.toLowerCase(), GAMisTablet : /(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(this.userAgent), 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

Source

Leave a Reply

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