04a6031c5d
- custos-browser: fill_allowed (a frame gets a login only when its page would too), public suffixes match exactly only (psl), ports digits only, caller (which extension started the host); spoof tests. - custos-native: answers not_allowed to anything but the Custos extension, browser_totp and browser_save, the frame's and the page's origins, a random session per connection (its match code on Custos's cards). - extension/: manifest.firefox.json (gecko id custos@marek-novak.cz) and manifest.chromium.json, one set of scripts; the popup shows 2FA codes, the save offer and the connection's code; tools/extension.mjs builds each browser and reproducible zips; tools/extension-test.mjs runs the background against a fake browser.
31 lines
847 B
HTML
31 lines
847 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Custos</title>
|
|
<link rel="stylesheet" href="popup.css">
|
|
<script src="popup.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<span class="wordmark">CUSTOS</span>
|
|
<span id="site" class="site"></span>
|
|
</header>
|
|
<main>
|
|
<section id="offer" class="offer" hidden>
|
|
<p id="offer-text"></p>
|
|
<div id="offer-buttons" class="buttons">
|
|
<button id="offer-dismiss" type="button">Not now</button>
|
|
<button id="offer-save" type="button" class="primary">Save in Custos</button>
|
|
</div>
|
|
</section>
|
|
<p id="note" class="note">Asking Custos…</p>
|
|
<ul id="logins" class="logins" aria-label="Logins for this site"></ul>
|
|
</main>
|
|
<footer>
|
|
<span>Only logins saved for this site are offered here.</span>
|
|
<span id="code" class="code-line"></span>
|
|
</footer>
|
|
</body>
|
|
</html>
|