diff --git a/modules/tripleliftBidAdapter.js b/modules/tripleliftBidAdapter.js index 5114444be3c6..625b5e253f59 100644 --- a/modules/tripleliftBidAdapter.js +++ b/modules/tripleliftBidAdapter.js @@ -22,7 +22,7 @@ export const tripleliftAdapterSpec = { tlCall = utils.tryAppendQueryString(tlCall, 'lib', 'prebid'); tlCall = utils.tryAppendQueryString(tlCall, 'v', '$prebid.version$'); - tlCall = utils.tryAppendQueryString(tlCall, 'fe', _isFlashEnabled().toString()); + // tlCall = utils.tryAppendQueryString(tlCall, 'fe', _isFlashEnabled().toString()); tlCall = utils.tryAppendQueryString(tlCall, 'referrer', referrer); if (bidderRequest && bidderRequest.timeout) { @@ -125,16 +125,16 @@ function _buildResponseObject(bidderRequest, bid) { return bidResponse; } -function _isFlashEnabled() { - let flash; - try { - flash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')); - } catch (e) { - flash = navigator.mimeTypes && - navigator.mimeTypes['application/x-shockwave-flash'] !== undefined && - navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin ? 1 : 0 - } - return flash ? 1 : 0; -} +// function _isFlashEnabled() { +// let flash; +// try { +// flash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')); +// } catch (e) { +// flash = navigator.mimeTypes && +// navigator.mimeTypes['application/x-shockwave-flash'] !== undefined && +// navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin ? 1 : 0 +// } +// return flash ? 1 : 0; +// } registerBidder(tripleliftAdapterSpec); diff --git a/test/spec/modules/tripleliftBidAdapter_spec.js b/test/spec/modules/tripleliftBidAdapter_spec.js index 3d5b7d2dcba1..c7c023ed7266 100644 --- a/test/spec/modules/tripleliftBidAdapter_spec.js +++ b/test/spec/modules/tripleliftBidAdapter_spec.js @@ -90,7 +90,7 @@ describe('triplelift adapter', () => { expect(url).to.match(/(?:tlx.3lift.com\/header\/auction)/) expect(url).to.match(/(?:lib=prebid)/) expect(url).to.match(/(?:prebid.version)/) - expect(url).to.match(/(?:fe=)/) + // expect(url).to.match(/(?:fe=)/) // expect(url).to.match(/(?:referrer)/) }) });