75 lines
2.3 KiB
HTML
75 lines
2.3 KiB
HTML
<!--
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
<!doctype html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta
|
|
http-equiv="Content-Security-Policy"
|
|
content="default-src chrome:; img-src chrome: moz-icon:; style-src chrome: 'unsafe-inline'; object-src 'none';"
|
|
/>
|
|
<title>Interactions Debug Viewer</title>
|
|
<script
|
|
type="module"
|
|
src="chrome://browser/content/places/interactionsViewer.js"
|
|
></script>
|
|
<link
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
href="chrome://global/skin/in-content/common.css"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
href="chrome://browser/content/places/interactionsViewer.css"
|
|
/>
|
|
<style id="tableStyle" type="text/css"></style>
|
|
</head>
|
|
<body class="hidden">
|
|
<div id="enabledWarning" class="message-bar message-bar-warning" hidden>
|
|
<img class="message-bar-icon" />
|
|
<descripton class="message-bar-description">
|
|
You need to have <code>browser.places.interactions.enabled</code>
|
|
set to true (and restart) for metadata recording to be enabled.
|
|
</descripton>
|
|
</div>
|
|
<div id="categories">
|
|
<div class="category selected" value="metadata">
|
|
<span class="category-name">Interactions</span>
|
|
</div>
|
|
<div class="category" value="places-stats">
|
|
<span class="category-name">Places Stats</span>
|
|
</div>
|
|
<div class="category" value="places-viewer">
|
|
<span class="category-name">Frecency</span>
|
|
</div>
|
|
<div class="export-container">
|
|
<h4>Export History</h4>
|
|
<div>
|
|
<input
|
|
type="checkbox"
|
|
name="include-place-data"
|
|
id="include-place-data"
|
|
/>
|
|
<label for="include-place-data">Include page title and URLs</label>
|
|
</div>
|
|
<button id="export-json">JSON</button>
|
|
<button id="export-csv">CSV</button>
|
|
</div>
|
|
<div>
|
|
<h4>Frecency Options</h4>
|
|
<button id="recalc-alt-frecency">
|
|
Recalculate Outdated Frecencies
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div id="main" class="main-content">
|
|
<h1 id="title"></h1>
|
|
<div id="tableLimit"></div>
|
|
<div id="tableViewer"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|