tor-browser

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

script.js.template (755B)


      1 #if 0
      2 #
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 #
      7 # This template file is used to construct the script that is loaded by the
      8 # cached about:home document. It is loaded in the cached about:home document
      9 # by loading about:home?jscache.
     10 #
     11 # The only template string used in this file is {{ STATE }}, which can only
     12 # be used once. {{ STATE }} will be replaced with the state of about:home
     13 # at the time that the cache was generated, which is needed by React in order
     14 # to make the cached document interactive.
     15 #
     16 #endif
     17 window.__FROM_STARTUP_CACHE__ = true;
     18 window.__STARTUP_STATE__ = {{ STATE }};
     19