tor-browser

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

bug1889505-bankmandiri.co.id-window.chrome.js (661B)


      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 * bankmandiri.co.id - Define window.chrome to an empty object
      9 * Bug #1889505 - https://bugzilla.mozilla.org/show_bug.cgi?id=1889505
     10 * WebCompat issue #67924 - https://webcompat.com/issues/67924
     11 */
     12 
     13 console.info(
     14  "window.chrome has been set to an empty object for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1889505 for details."
     15 );
     16 
     17 window.wrappedJSObject.chrome = new window.wrappedJSObject.Object();