tor-browser

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

unexpectedScriptLoad.xhtml (3884B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 
      3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      4 
      5 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      6   - License, v. 2.0. If a copy of the MPL was not distributed with this
      7   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      8 <html
      9  xmlns="http://www.w3.org/1999/xhtml"
     10  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     11 >
     12  <head>
     13    <meta
     14      http-equiv="Content-Security-Policy"
     15      content="default-src chrome: resource:;"
     16    />
     17    <link rel="stylesheet" href="chrome://global/skin/global.css" />
     18    <link rel="stylesheet" href="chrome://global/skin/in-content/common.css" />
     19    <link
     20      rel="stylesheet"
     21      href="chrome://browser/content/security/unexpectedScriptLoad.css"
     22    />
     23    <link rel="localization" href="branding/brand.ftl" />
     24    <link rel="localization" href="browser/unexpectedScript.ftl" />
     25    <script src="chrome://global/content/customElements.js" />
     26    <title data-l10n-id="unexpected-script-load-title"></title>
     27  </head>
     28  <body>
     29    <xul:vbox
     30      class="dialogBox"
     31      pack="end"
     32      role="dialog"
     33      aria-labelledby="dialogTitle"
     34    >
     35      <xul:hbox class="dialogTitleBar" align="center">
     36        <label class="dialogTitle" data-l10n-id="unexpected-script-load-title"
     37          >Unexpected Script Load</label
     38        >
     39        <moz-button
     40          type="ghost"
     41          class="dialogClose"
     42          iconsrc="chrome://global/skin/icons/close.svg"
     43          data-l10n-id="unexpected-script-close-button"
     44        />
     45      </xul:hbox>
     46      <xul:hbox class="dialogContent">
     47        <xul:vbox>
     48          <p>
     49            <span id="unexpected-script-load-detail-1"></span>
     50            <a
     51              id="more-info-link"
     52              data-l10n-id="unexpected-script-load-more-info"
     53              target="_blank"
     54            ></a>
     55          </p>
     56          <p data-l10n-id="unexpected-script-load-detail-2"></p>
     57          <p class="scriptUrl">
     58            http://example.com/something/else/some-weird-script.js
     59          </p>
     60 
     61          <div class="checkbox-grid">
     62            <p
     63              id="telemetry-disabled-message"
     64              data-l10n-id="unexpected-script-load-telemetry-disabled"
     65            ></p>
     66            <moz-checkbox
     67              id="reportCheckbox"
     68              data-l10n-id="unexpected-script-load-report-checkbox"
     69            />
     70            <moz-fieldset>
     71              <!-- I am omitting the label as I do not want a label displayed -->
     72              <moz-checkbox
     73                id="emailCheckbox"
     74                data-l10n-id="unexpected-script-load-email-checkbox"
     75              >
     76                <input
     77                  slot="nested"
     78                  id="emailInput"
     79                  type="text"
     80                  data-l10n-id="unexpected-script-load-email-textbox"
     81                />
     82              </moz-checkbox>
     83            </moz-fieldset>
     84          </div>
     85 
     86          <div id="actionContainer">
     87            <a
     88              id="learn-more-link"
     89              is="moz-support-link"
     90              support-page="unexpected-script-load"
     91              data-l10n-id="unexpected-script-load-learn-more"
     92              target="_blank"
     93            ></a>
     94            <moz-button-group id="actionButtons">
     95              <moz-button
     96                id="allow-button"
     97                data-l10n-id="unexpected-script-load-message-button-allow"
     98              ></moz-button>
     99              <moz-button
    100                id="block-button"
    101                data-l10n-id="unexpected-script-load-message-button-block"
    102              ></moz-button>
    103            </moz-button-group>
    104          </div>
    105        </xul:vbox>
    106      </xul:hbox>
    107    </xul:vbox>
    108    <script src="chrome://browser/content/security/unexpectedScriptLoad.js"></script>
    109  </body>
    110 </html>