File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ const BIDDER_CODE = 'yieldmo';
5
5
const CURRENCY = 'USD' ;
6
6
const TIME_TO_LIVE = 300 ;
7
7
const NET_REVENUE = true ;
8
- const SYNC_ENDPOINT = 'https://static.yieldmo.com/blank.min.html?orig=' ;
9
8
const SERVER_ENDPOINT = 'https://ads.yieldmo.com/exchange/prebid' ;
10
9
const localWindow = utils . getWindowTop ( ) ;
11
10
@@ -89,15 +88,8 @@ export const spec = {
89
88
}
90
89
return bids ;
91
90
} ,
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 [ ] ;
101
93
}
102
94
}
103
95
registerBidder ( spec ) ;
@@ -145,22 +137,6 @@ function createNewBid(response) {
145
137
} ;
146
138
}
147
139
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 / i P h o n e | i P a d | i P o d / i. test ( window . navigator . userAgent ) ;
162
- }
163
-
164
140
/**
165
141
* Detects whether dnt is true
166
142
* @returns true if user enabled dnt
You can’t perform that action at this time.
0 commit comments