winzik/skeleton-chrome/popup/popup.html

25 lines
970 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Popup</title>
<link rel="stylesheet" href="../lib/base.css">
<link rel="stylesheet" href="popup.css">
</head>
<body>
<main>
<h1><img src="../icons/icon-32.png" alt=""><span data-i18n="popupHeading">Highlighter</span></h1>
<label for="term" data-i18n="termLabel">Word to highlight</label>
<input type="text" id="term" autocomplete="off" spellcheck="false">
<button type="button" id="highlight" data-i18n="highlightNow">Highlight on this page</button>
<p id="count" class="muted" aria-live="polite"></p>
<footer>
<a href="#" id="options" data-i18n="openOptions">Options</a>
<span id="last-check" class="muted"></span>
</footer>
</main>
<!-- no inline script: Manifest V3's content security policy forbids it -->
<script type="module" src="popup.js"></script>
</body>
</html>