Deploy extension to MS Edge.

This commit is contained in:
SimonBrazell 2020-07-15 19:04:52 +10:00
parent 4bfdc3a110
commit e87216121e
8 changed files with 51 additions and 36 deletions

View File

@ -2,7 +2,7 @@
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/SimonBrazell/donate) [![Buy me a coffee](assets/images/buy-me-a-coffee.png)](https://www.buymeacoffee.com/SimonBrazell) [![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/SimonBrazell/donate) [![Buy me a coffee](assets/images/buy-me-a-coffee.png)](https://www.buymeacoffee.com/SimonBrazell)
[![Firefox Add-on](assets/images/amo-badge.png)](https://addons.mozilla.org/en-US/firefox/addon/privacy-redirect/) [![Chrome Extension](assets/images/chrome-badge.png)](https://chrome.google.com/webstore/detail/privacy-redirect/pmcmeagblkinmogikoikkdjiligflglb) [![Firefox Add-on](assets/images/badge-amo.png)](https://addons.mozilla.org/en-US/firefox/addon/privacy-redirect/) [![Chrome Extension](assets/images/badge-chrome.png)](https://chrome.google.com/webstore/detail/privacy-redirect/pmcmeagblkinmogikoikkdjiligflglb) [![Edge Extension](assets/images/badge-ms.png)](https://microsoftedge.microsoft.com/addons/detail/privacy-redirect/elnabkhcgpajchapppkhiaifkgikgihj)
A web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives - [Nitter](https://github.com/zedeus/nitter), [Invidious](https://github.com/omarroth/invidious), [Bibliogram](https://github.com/cloudrac3r/bibliogram) & [OpenStreetMap](https://www.openstreetmap.org/). A web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives - [Nitter](https://github.com/zedeus/nitter), [Invidious](https://github.com/omarroth/invidious), [Bibliogram](https://github.com/cloudrac3r/bibliogram) & [OpenStreetMap](https://www.openstreetmap.org/).
@ -17,3 +17,7 @@ Allows for setting custom [Nitter](https://github.com/zedeus/nitter/wiki/Instanc
## License ## License
Code released under [the MIT license](LICENSE.txt). Code released under [the MIT license](LICENSE.txt).
## Privacy Policy
See the [Project Wiki](https://github.com/SimonBrazell/privacy-redirect/wiki/Privacy-Policy).

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
assets/images/badge-ms.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,20 +1,20 @@
:root { :root {
--text-main: #FFF; --text-main: #fff;
--text-secondary: #000; --text-secondary: #000;
--dark: #3C4043; --dark: #3c4043;
--darker: #292A2D; --darker: #292a2d;
--light: #E3E7EA; --light: #e3e7ea;
--lighter: #FFF; --lighter: #fff;
--active: #FF5B56; --active: #ff5b56;
--space: 5px; --space: 5px;
--danger: #f04141; --danger: #f04141;
--danger-light: #F9D0D5; --danger-light: #f9d0d5;
} }
body { body {
color: var(--text-secondary); color: var(--text-secondary);
margin: 0; margin: 0;
width: 400px; max-width: 400px;
margin: auto; margin: auto;
min-height: 572px; min-height: 572px;
font-family: Sans-Serif; font-family: Sans-Serif;
@ -106,29 +106,29 @@ footer a.button {
margin: var(--space); margin: var(--space);
} }
/* Elements */ input[type="url"],
input[type="text"],
input[type=url], input[type=text], select { select {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: var(--space); margin-bottom: var(--space);
} }
input[type=url] { input[type="url"] {
padding: 1px 2px; padding: 1px 2px;
} }
input[type=checkbox] { input[type="checkbox"] {
opacity: 0; opacity: 0;
} }
input[type=radio] { input[type="radio"] {
appearance: radio; appearance: radio;
-moz-appearance: radio; -moz-appearance: radio;
-webkit-appearance: radio; -webkit-appearance: radio;
} }
input[type=radio]:checked+label { input[type="radio"]:checked + label {
background: transparent; background: transparent;
} }
@ -150,18 +150,19 @@ input[type=radio]:checked+label {
.checkbox-label:after { .checkbox-label:after {
background: var(--text-main); background: var(--text-main);
border-radius: 90px; border-radius: 90px;
content: ''; content: "";
height: 20px; height: 20px;
left: var(--space); left: var(--space);
position: absolute; position: absolute;
top: var(--space); top: var(--space);
transition: 0.3s; /* Acts on transform below */ transition: 0.3s;
width: 20px; width: 20px;
} }
input:checked + label { input:checked + label {
background: var(--active); background: var(--active);
} }
/* position when active*/
input:checked + label:after { input:checked + label:after {
left: calc(100% - var(--space)); left: calc(100% - var(--space));
transform: translateX(-100%); transform: translateX(-100%);
@ -325,7 +326,7 @@ li {
border-bottom: none; border-bottom: none;
border-top: none; border-top: none;
z-index: 99; z-index: 99;
top: 100%; top: 85%;
left: 0; left: 0;
right: 0; right: 0;
overflow: auto; overflow: auto;
@ -356,17 +357,17 @@ li {
vertical-align: middle; vertical-align: middle;
} }
input[type=range] { input[type="range"] {
-webkit-appearance: none; -webkit-appearance: none;
margin: 18px 0; margin: 18px 0;
width: 100%; width: 100%;
} }
input[type=range]:focus { input[type="range"]:focus {
outline: none; outline: none;
} }
input[type=range]::-webkit-slider-runnable-track { input[type="range"]::-webkit-slider-runnable-track {
width: 100%; width: 100%;
height: 8.4px; height: 8.4px;
cursor: pointer; cursor: pointer;
@ -376,7 +377,7 @@ input[type=range]::-webkit-slider-runnable-track {
border: 0.2px solid #010101; border: 0.2px solid #010101;
} }
input[type=range]::-webkit-slider-thumb { input[type="range"]::-webkit-slider-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
border: 1px solid #000000; border: 1px solid #000000;
height: 36px; height: 36px;
@ -388,11 +389,11 @@ input[type=range]::-webkit-slider-thumb {
margin-top: -14px; margin-top: -14px;
} }
input[type=range]:focus::-webkit-slider-runnable-track { input[type="range"]:focus::-webkit-slider-runnable-track {
background: var(--light); background: var(--light);
} }
input[type=range]::-moz-range-track { input[type="range"]::-moz-range-track {
width: 100%; width: 100%;
height: 8.4px; height: 8.4px;
cursor: pointer; cursor: pointer;
@ -402,7 +403,7 @@ input[type=range]::-moz-range-track {
border: 0.2px solid #010101; border: 0.2px solid #010101;
} }
input[type=range]::-moz-range-thumb { input[type="range"]::-moz-range-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
border: 1px solid #000000; border: 1px solid #000000;
height: 36px; height: 36px;
@ -413,8 +414,13 @@ input[type=range]::-moz-range-thumb {
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body.popup,
body.popup, header, h1, input, select, div.tabcontent, button.tablinks.active { header,
h1,
input,
select,
div.tabcontent,
button.tablinks.active {
background-color: var(--dark); background-color: var(--dark);
color: var(--text-main); color: var(--text-main);
} }
@ -434,8 +440,14 @@ input[type=range]::-moz-range-thumb {
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
body.popup,
body.popup, header, h1, input, select, div.tabcontent, button.tablinks.active, ul { header,
h1,
input,
select,
div.tabcontent,
button.tablinks.active,
ul {
background-color: var(--lighter); background-color: var(--lighter);
color: var(--text-secondary); color: var(--text-secondary);
} }

View File

@ -1,9 +1,8 @@
module.exports = { module.exports = {
ignoreFiles: [ ignoreFiles: [
'assets/images/Screen Shot*.png', 'assets/images/Screen Shot*.png',
'assets/images/small-tile.png',
'assets/images/buy-me-a-coffee.png', 'assets/images/buy-me-a-coffee.png',
'assets/images/logo*.png', 'assets/images/logo*.png',
'assets/images/*-badge.png' 'assets/images/badge*.png'
], ],
}; };