diff --git a/options.css b/options.css index 16716c2..7832d6c 100644 --- a/options.css +++ b/options.css @@ -17,7 +17,7 @@ body > div { position: relative; } body > div + div { - margin: 2.5em 0 0 0; + margin: 2.5em 0 1em 0; } h1 { border-bottom: 1px solid #ddd; @@ -166,6 +166,16 @@ form button:not(:disabled):hover { font-family: Inconsolata, Courier, monospace; font-size: 4em; } -body > p { - padding: 0 15px; +p.note { + font-size: 0.875em; } +.bottom-info { + font-size: 0.875rem; + color: #aaa; + text-align: center; + margin: 1em 0; + line-height: 1.6; +} +.bottom-info p { + margin: 0; +} \ No newline at end of file diff --git a/options.html b/options.html index 1f4db8f..979c3b9 100644 --- a/options.html +++ b/options.html @@ -3,6 +3,7 @@ Always Kill Sticky - Options + @@ -29,11 +30,15 @@

Exclusion patterns

Do not kill stickies on web page URLs matching the following regular expressions (one per line):

+

(NOTE: Exclusion patterns override matching patterns; if a page is both matched and excluded, stickies will not be killed on that page.)

-

NOTE: Exclusion patterns override matching patterns; if a page is both matched and excluded, stickies will not be killed on that page.

+
+

AlwaysKillSticky v0.0

+

© Said Achmiz 2019–present

+
diff --git a/options.js b/options.js index 2eea3cd..cd317fc 100644 --- a/options.js +++ b/options.js @@ -119,6 +119,9 @@ function initialize() { document.querySelector(`${divToFocus} textarea`).focus(); }); + // Update version. + document.querySelector(".bottom-info .version").innerHTML = chrome.runtime.getManifest().version; + // Listeners for Reset and Save buttons. document.querySelectorAll("button").forEach(button => { button.addActivateEvent((event) => {