diff --git a/background.js b/background.js index d90f55c..5c84702 100644 --- a/background.js +++ b/background.js @@ -232,6 +232,8 @@ function redirectTwitter(url, initiator) { return `${nitterInstance}/pic/${encodeURIComponent(url.href)}`; } else if (url.host.split('.')[0] === 'video') { return `${nitterInstance}/gif/${encodeURIComponent(url.href)}`; + } else if (url.pathname.includes('tweets')) { + return `${nitterInstance}${url.pathname.replace('/tweets', '')}${url.search}`; } else { return `${nitterInstance}${url.pathname}${url.search}`; } diff --git a/manifest.json b/manifest.json index d0b7fe9..b6cce54 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Privacy Redirect", "description": "Redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.", - "version": "1.1.28", + "version": "1.1.29", "manifest_version": 2, "background": { "scripts": [ diff --git a/pages/popup/popup.html b/pages/popup/popup.html index 5db0302..2e0fd68 100644 --- a/pages/popup/popup.html +++ b/pages/popup/popup.html @@ -14,9 +14,9 @@ Privacy Redirect logo

Privacy
Redirect

- +
Version:  - +
diff --git a/pages/styles.css b/pages/styles.css index 476a797..17b5f7f 100644 --- a/pages/styles.css +++ b/pages/styles.css @@ -61,14 +61,16 @@ header .logo-container h1 { font-weight: normal; } -.privacy { +header .privacy { letter-spacing: 0.13em; } -header small { +header .version { font-size: 8.5px; font-weight: bold; - float: right; + position: absolute; + top: var(--space); + right: var(--space); } h1 { @@ -109,7 +111,7 @@ footer a.button { input[type=url], input[type=text], select { width: 100%; box-sizing: border-box; - margin-bottom: 5px; + margin-bottom: var(--space); } input[type=url] { @@ -139,9 +141,9 @@ input[type=checkbox] { border-radius: 90px; content: ''; height: 20px; - left: 5px; + left: var(--space); position: absolute; - top: 5px; + top: var(--space); transition: 0.3s; /* Acts on transform below */ width: 20px; } @@ -150,7 +152,7 @@ input:checked+label { } /* position when active*/ input:checked+label:after { - left: calc(100% - 5px); + left: calc(100% - var(--space)); transform: translateX(-100%); } @@ -189,7 +191,7 @@ input:checked+label:after { .button:active { background-color: var(--active); - box-shadow: 0 5px var(--dark); + box-shadow: 0 var(--space) var(--dark); transform: translateY(4px); }