Merge branch 'dark-mode' into 'master'

Update options: add dark mode support
merge-requests/9/head
magnolia1234 2 years ago
commit 14aadd4ebc

@ -12,6 +12,7 @@ Fix Grupo El Comercio
Fix Gruppo GEDI.it (login) Fix Gruppo GEDI.it (login)
Fix L'Express.fr Fix L'Express.fr
Fix The Spectator UK (no amp) Fix The Spectator UK (no amp)
Update options: add dark mode support
* v2.8.4.0 (2022-09-11) * v2.8.4.0 (2022-09-11)
Add PEI Media sites (opt-in to custom sites) Add PEI Media sites (opt-in to custom sites)

@ -707,5 +707,5 @@
"*://gcm.omerlocdn.com/*", "*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "2.8.4.7" "version": "2.8.4.8"
} }

@ -1,13 +1,7 @@
html, body { html, body {
font-size: 100%;
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
} }
button { button {
margin: 0.2em 0.2em 0.5em 0; margin: 0.2em 0.2em 0.5em 0;
} }
* {
box-sizing: border-box;
}

@ -5,6 +5,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bypass Paywalls Clean (setCookie/custom sites opt-in)</title> <title>Bypass Paywalls Clean (setCookie/custom sites opt-in)</title>
<link rel="stylesheet" href="../options_all.css"/>
<link rel="stylesheet" href="opt-in.css"/> <link rel="stylesheet" href="opt-in.css"/>
<script src="opt-in.js"></script> <script src="opt-in.js"></script>
</head> </head>

@ -4,21 +4,11 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bypass Paywalls Clean Options</title> <title>Bypass Paywalls Clean Options</title>
<style> <link rel="stylesheet" href="options_all.css"/>
#bypass_sites label {
display: block;
}
body {
font-size: 100%;
}
* {
box-sizing: border-box;
}
</style>
</head> </head>
<body> <body>
<h1>Options | <small><span id="version"></span><br><span id="version_new"></span></small></h1> <h1>Options | <small><span id="version"></span><br><span id="version_new"></span></small></h1>
<br><a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/blob/master/changelog.txt" style="color:black" target="_blank">Changelog</a> <br><a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/blob/master/changelog.txt" target="_blank">Changelog</a>
<div style="width:90%;"> <div style="width:90%;">
<br>Most selected sites will have their cookies cleared (not all though).<br> <br>Most selected sites will have their cookies cleared (not all though).<br>
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.<br><br> 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.<br><br>

@ -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;
}
}

@ -4,17 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bypass Paywalls Clean Options Custom</title> <title>Bypass Paywalls Clean Options Custom</title>
<style> <link rel="stylesheet" href="options_all.css"/>
#bypass_sites label, #add_site label {
display: block;
}
body {
font-size: 100%;
}
* {
box-sizing: border-box;
}
</style>
</head> </head>
<body> <body>
<h2>Custom Sites</h2> <h2>Custom Sites</h2>

@ -4,17 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bypass Paywalls Clean Options Excluded</title> <title>Bypass Paywalls Clean Options Excluded</title>
<style> <link rel="stylesheet" href="options_all.css"/>
#excluded_sites label {
display: block;
}
body {
font-size: 100%;
}
* {
box-sizing: border-box;
}
</style>
</head> </head>
<body> <body>
<h2>Excluded Sites</h2> <h2>Excluded Sites</h2>

@ -3,25 +3,24 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="options_all.css"/>
<link rel="stylesheet" href="popup_switch.css"/> <link rel="stylesheet" href="popup_switch.css"/>
<style> <style>
body { body {
font-size: 100%;
text-align: center; text-align: center;
} }
div { div {
margin: 10px; margin: 10px;
box-sizing: border-box;
} }
</style> </style>
</head> </head>
<body> <body>
<div style="width:275px"><strong>Bypass Paywalls Clean <span id="version"></span></strong><span id="site_switch_span">&nbsp;&nbsp;</span></div> <div style="width:275px"><strong>Bypass Paywalls Clean <span id="version"></span></strong><span id="site_switch_span">&nbsp;&nbsp;</span></div>
<div><a href="options.html" style="color:black" target="_blank">Options</a> | <div><a href="options.html" target="_blank">Options</a> |
<a href="options_custom.html" style="color:black" target="_blank">Custom</a> | <a href="options_custom.html" target="_blank">Custom</a> |
<a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean" style="color:black" target="_blank">GitLab</a> | <a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean" target="_blank">GitLab</a> |
<a href="https://twitter.com/Magnolia1234B" style="color:black" target="_blank">Twitter</a></div> <a href="https://twitter.com/Magnolia1234B" target="_blank">Twitter</a></div>
<div><a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/changelog.txt" style="color:black" target="_blank">Changelog</a> | <div><a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/changelog.txt" target="_blank">Changelog</a> |
<button id="clear_cookies" title="clear cookies (and local storage) for current site">clear cookies</button> | <button id="clear_cookies" title="clear cookies (and local storage) for current site">clear cookies</button> |
<button id="button-close" title="close popup">close</button></div> <button id="button-close" title="close popup">close</button></div>
<div><span id="version_new"></span></div> <div><span id="version_new"></span></div>

@ -76,7 +76,6 @@ function showArchiveLinks() {
let elem = document.createElement('a'); let elem = document.createElement('a');
elem.innerText = key; elem.innerText = key;
elem.href = archive_array[key]; elem.href = archive_array[key];
elem.style = 'color:black;';
elem.target = '_blank'; elem.target = '_blank';
elem_div.appendChild(elem); elem_div.appendChild(elem);
archive_id.appendChild(elem_div); archive_id.appendChild(elem_div);

Loading…
Cancel
Save