From 0185407646a6ba15a9d99ab19cc1ea0f3b6bdadd Mon Sep 17 00:00:00 2001 From: Elber Carneiro Date: Mon, 23 Dec 2019 13:35:40 -0500 Subject: [PATCH] Do not undo my featureeee --- modules/yieldmoBidAdapter.js | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/modules/yieldmoBidAdapter.js b/modules/yieldmoBidAdapter.js index ccf565df5da..0531c7d695f 100644 --- a/modules/yieldmoBidAdapter.js +++ b/modules/yieldmoBidAdapter.js @@ -5,7 +5,6 @@ const BIDDER_CODE = 'yieldmo'; const CURRENCY = 'USD'; const TIME_TO_LIVE = 300; const NET_REVENUE = true; -const SYNC_ENDPOINT = 'https://static.yieldmo.com/blank.min.html?orig='; const SERVER_ENDPOINT = 'https://ads.yieldmo.com/exchange/prebid'; const localWindow = utils.getWindowTop(); @@ -89,15 +88,8 @@ export const spec = { } return bids; }, - getUserSync: function(syncOptions) { - if (trackingEnabled(syncOptions)) { - return [{ - type: 'iframe', - url: SYNC_ENDPOINT + utils.getOrigin() - }]; - } else { - return []; - } + getUserSyncs: function(syncOptions) { + return []; } } registerBidder(spec); @@ -145,22 +137,6 @@ function createNewBid(response) { }; } -/** - * Detects if tracking is allowed - * @returns false if dnt or if not iframe/pixel enabled - */ -function trackingEnabled(options) { - return (isIOS() && !getDNT() && options.iframeEnabled); -} - -/** - * Detects whether we're in iOS - * @returns true if in iOS - */ -function isIOS() { - return /iPhone|iPad|iPod/i.test(window.navigator.userAgent); -} - /** * Detects whether dnt is true * @returns true if user enabled dnt