tor-browser

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

google-page-ad.js (551B)


      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 * Bug 1713692 - Shim Google Page Ad conversion tracker
      9 *
     10 * This shim stubs out the simple API for converstion tracking with
     11 * Google Page Ad, mitigating major breakage on pages which presume
     12 * the API will always successfully load.
     13 */
     14 
     15 if (!window.google_trackConversion) {
     16  window.google_trackConversion = () => {};
     17 }