Skip to content

Commit 0185407

Browse files
committed
Do not undo my featureeee
1 parent b212e38 commit 0185407

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

modules/yieldmoBidAdapter.js

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const BIDDER_CODE = 'yieldmo';
55
const CURRENCY = 'USD';
66
const TIME_TO_LIVE = 300;
77
const NET_REVENUE = true;
8-
const SYNC_ENDPOINT = 'https://static.yieldmo.com/blank.min.html?orig=';
98
const SERVER_ENDPOINT = 'https://ads.yieldmo.com/exchange/prebid';
109
const localWindow = utils.getWindowTop();
1110

@@ -89,15 +88,8 @@ export const spec = {
8988
}
9089
return bids;
9190
},
92-
getUserSync: function(syncOptions) {
93-
if (trackingEnabled(syncOptions)) {
94-
return [{
95-
type: 'iframe',
96-
url: SYNC_ENDPOINT + utils.getOrigin()
97-
}];
98-
} else {
99-
return [];
100-
}
91+
getUserSyncs: function(syncOptions) {
92+
return [];
10193
}
10294
}
10395
registerBidder(spec);
@@ -145,22 +137,6 @@ function createNewBid(response) {
145137
};
146138
}
147139

148-
/**
149-
* Detects if tracking is allowed
150-
* @returns false if dnt or if not iframe/pixel enabled
151-
*/
152-
function trackingEnabled(options) {
153-
return (isIOS() && !getDNT() && options.iframeEnabled);
154-
}
155-
156-
/**
157-
* Detects whether we're in iOS
158-
* @returns true if in iOS
159-
*/
160-
function isIOS() {
161-
return /iPhone|iPad|iPod/i.test(window.navigator.userAgent);
162-
}
163-
164140
/**
165141
* Detects whether dnt is true
166142
* @returns true if user enabled dnt

0 commit comments

Comments
 (0)