tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

adsafeprotected-ima.js (524B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 "use strict";
      6 
      7 /**
      8 *
      9 * Sites relying on Ad Safe Protected's adapter for Google IMA may
     10 * have broken videos when the script is blocked. This shim stubs
     11 * out the API to help mitigate major breakage.
     12 */
     13 
     14 if (!window.googleImaVansAdapter) {
     15  window.googleImaVansAdapter = {
     16    init() {},
     17    dispose() {},
     18  };
     19 }