tor-browser

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

interactionsViewer.html (2391B)


      1 <!--
      2 # This Source Code Form is subject to the terms of the Mozilla Public
      3 # License, v. 2.0. If a copy of the MPL was not distributed with this
      4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 -->
      6 <!doctype html>
      7 
      8 <html>
      9  <head>
     10    <meta
     11      http-equiv="Content-Security-Policy"
     12      content="default-src chrome:; img-src chrome: moz-icon:; style-src chrome: 'unsafe-inline'; object-src 'none';"
     13    />
     14    <title>Interactions Debug Viewer</title>
     15    <script
     16      type="module"
     17      src="chrome://browser/content/places/interactionsViewer.js"
     18    ></script>
     19    <link
     20      rel="stylesheet"
     21      type="text/css"
     22      href="chrome://global/skin/in-content/common.css"
     23    />
     24    <link
     25      rel="stylesheet"
     26      type="text/css"
     27      href="chrome://browser/content/places/interactionsViewer.css"
     28    />
     29    <style id="tableStyle" type="text/css"></style>
     30  </head>
     31  <body class="hidden">
     32    <div id="enabledWarning" class="message-bar message-bar-warning" hidden>
     33      <img class="message-bar-icon" />
     34      <descripton class="message-bar-description">
     35        You need to have <code>browser.places.interactions.enabled</code>
     36        set to true (and restart) for metadata recording to be enabled.
     37      </descripton>
     38    </div>
     39    <div id="categories">
     40      <div class="category selected" value="metadata">
     41        <span class="category-name">Interactions</span>
     42      </div>
     43      <div class="category" value="places-stats">
     44        <span class="category-name">Places Stats</span>
     45      </div>
     46      <div class="category" value="places-viewer">
     47        <span class="category-name">Frecency</span>
     48      </div>
     49      <div class="export-container">
     50        <h4>Export History</h4>
     51        <div>
     52          <input
     53            type="checkbox"
     54            name="include-place-data"
     55            id="include-place-data"
     56          />
     57          <label for="include-place-data">Include page title and URLs</label>
     58        </div>
     59        <button id="export-json">JSON</button>
     60        <button id="export-csv">CSV</button>
     61      </div>
     62      <div>
     63        <h4>Frecency Options</h4>
     64        <button id="recalc-alt-frecency">
     65          Recalculate Outdated Frecencies
     66        </button>
     67      </div>
     68    </div>
     69    <div id="main" class="main-content">
     70      <h1 id="title"></h1>
     71      <div id="tableLimit"></div>
     72      <div id="tableViewer"></div>
     73    </div>
     74  </body>
     75 </html>