diff --git a/changelog.txt b/changelog.txt index 15ec2e7..614d962 100644 --- a/changelog.txt +++ b/changelog.txt @@ -12,6 +12,7 @@ Fix Grupo El Comercio Fix Gruppo GEDI.it (login) Fix L'Express.fr Fix The Spectator UK (no amp) +Update options: add dark mode support * v2.8.4.0 (2022-09-11) Add PEI Media sites (opt-in to custom sites) diff --git a/manifest.json b/manifest.json index fce50c2..508fc12 100644 --- a/manifest.json +++ b/manifest.json @@ -707,5 +707,5 @@ "*://gcm.omerlocdn.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.8.4.7" + "version": "2.8.4.8" } diff --git a/options/optin/opt-in.css b/options/optin/opt-in.css index c219787..e6ac38a 100644 --- a/options/optin/opt-in.css +++ b/options/optin/opt-in.css @@ -1,13 +1,7 @@ html, body { - font-size: 100%; padding-left: 0.5em; padding-right: 0.5em; } - button { margin: 0.2em 0.2em 0.5em 0; } - -* { - box-sizing: border-box; -} diff --git a/options/optin/opt-in.html b/options/optin/opt-in.html index 6892e8b..d34fffc 100644 --- a/options/optin/opt-in.html +++ b/options/optin/opt-in.html @@ -5,6 +5,7 @@ Bypass Paywalls Clean (setCookie/custom sites opt-in) + diff --git a/options/options.html b/options/options.html index 642cc99..24a7e7d 100644 --- a/options/options.html +++ b/options/options.html @@ -4,21 +4,11 @@ Bypass Paywalls Clean Options - +

Options |

-
Changelog +
Changelog

Most selected sites will have their cookies cleared (not all though).
You should uncheck the sites (or add to excluded sites) for which you have an account or else you will be logged out at every visit.

diff --git a/options/options_all.css b/options/options_all.css new file mode 100644 index 0000000..e92fa74 --- /dev/null +++ b/options/options_all.css @@ -0,0 +1,18 @@ +#bypass_sites label, #add_site label, #excluded_sites label { + display: block; +} +body { + font-size: 100%; +} +* { + box-sizing: border-box; +} +a { + color: black; +} +@media (prefers-color-scheme: dark) { + body, button, a, input, select, textarea { + background-color: #313131; + color: #bfbfbf; + } +} diff --git a/options/options_custom.html b/options/options_custom.html index 44b69a2..3745102 100644 --- a/options/options_custom.html +++ b/options/options_custom.html @@ -4,17 +4,7 @@ Bypass Paywalls Clean Options Custom - +

Custom Sites

diff --git a/options/options_excluded.html b/options/options_excluded.html index a1f309e..8ad54e3 100644 --- a/options/options_excluded.html +++ b/options/options_excluded.html @@ -4,17 +4,7 @@ Bypass Paywalls Clean Options Excluded - +

Excluded Sites

diff --git a/options/popup.html b/options/popup.html index a96bc34..9a36165 100644 --- a/options/popup.html +++ b/options/popup.html @@ -3,25 +3,24 @@ +
Bypass Paywalls Clean   
-
Options | -Custom | -GitLab | -Twitter
-
Changelog | +
Options | +Custom | +GitLab | +Twitter
+
Changelog | |
diff --git a/options/popup.js b/options/popup.js index 57d670d..5a670c7 100644 --- a/options/popup.js +++ b/options/popup.js @@ -76,7 +76,6 @@ function showArchiveLinks() { let elem = document.createElement('a'); elem.innerText = key; elem.href = archive_array[key]; - elem.style = 'color:black;'; elem.target = '_blank'; elem_div.appendChild(elem); archive_id.appendChild(elem_div);