diff --git a/CHANGELOG.md b/CHANGELOG.md index 89f1354..bb362c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Intercept Redirect +## v8.10.0 - 2023-02-24 +- Add `linkedin.com/redir/redirect` (Fixes #50) +- Add `prod.outgoing.prod.webservices.mozgcp.net/v1/` (Fixes #51) +- Add `statics.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks` (Fixes #49) + ## v8.9.0 - 2023-02-17 - Handle all subdomains of `safelinks.protection.outlook.com` - Improve logic for handling subdomains diff --git a/README.md b/README.md index 3d17221..5f8b544 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ This extension does not modify any of the pages that you visit. Its sole purpose - www.linkedin.com - l.messenger.com - outgoing.prod.mozaws.net +- prod.outgoing.prod.webservices.mozgcp.net +- static.teams.cdn.office.net - onlyfans.com - *.safelinks.protection.outlook.com - slack-redir.net diff --git a/package.json b/package.json index d7fb968..cc41139 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bjornstar/intercept-redirect", - "version": "8.9.0", + "version": "8.10.0", "description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.", "main": "webextension/index.js", "devDependencies": { diff --git a/test/index.js b/test/index.js index c923348..90d4752 100644 --- a/test/index.js +++ b/test/index.js @@ -56,11 +56,14 @@ const urls = [ { url: `https://r.klar.na/?to=${encodedURL}` }, { url: `https://www.kraken.com/redirect?url=${encodedURL}` }, { url: `https://t.lever-analytics.com/email-link?dest=${encodedURL}` }, + { url: `https://www.linkedin.com/redir/redirect?url=${encodedURL}` }, { url: `https://www.linkedin.com/safety/go?url=${encodedURL}` }, { url: `https://l.messenger.com/l.php?u=${encodedURL}` }, { url: `https://outgoing.prod.mozaws.net/v1/08aa3089688d4b6ec460e6c402e78eba305c36fb81287197e4ae3f5a5c60f22d/${encodedURL}` }, // https://github.com/bjornstar/intercept-redirect/issues/22 { url: 'https://outgoing.prod.mozaws.net/v1/08aa3089688d4b6ec460e6c402e78eba305c36fb81287197e4ae3f5a5c60f22d/https%3A//bjornstar.com/intercept-redirect' }, + { url: `https://prod.outgoing.prod.webservices.mozgcp.net/v1/7176181ce0be365332182027434f1c97339ca065a8806d89da8aa656385edcee/${encodedURL}` }, + { url: `https://static.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks.html?url=${encodedURL}` }, { url: `https://onlyfans.com/away?url=${encodedURL}` }, { url: `https://eur03.safelinks.protection.outlook.com/?url=${encodedURL}` }, { url: `https://gcc01.safelinks.protection.outlook.com/?url=${encodedURL}` }, diff --git a/webextension/index.js b/webextension/index.js index 6c455ec..6e5eced 100644 --- a/webextension/index.js +++ b/webextension/index.js @@ -124,7 +124,9 @@ const sites = { '/email-link': searchParam('dest') }, // 2022-06-01 - https://www.linkedin.com/safety/go?url=https%3A%2F%2Fchoco.com%2Fus%2Fstories%2Flife-at-choco%2Fengineering-managers + // 2023-02-24 - https://www.linkedin.com/redir/redirect?url=https%3A%2F%2Fwww%2Epopdaily%2Ecom%2Etw%2F&urlhash=KIy6&trk=about_website 'www.linkedin.com': { + '/redir/redirect': searchParam('url'), '/safety/go': searchParam('url') }, 'l.messenger.com': { @@ -134,6 +136,14 @@ const sites = { 'outgoing.prod.mozaws.net': { '/v1/': ({ pathname }) => decode(pickAfterHash(pathname)) }, + // 2023-02-24 - https://prod.outgoing.prod.webservices.mozgcp.net/v1/7176181ce0be365332182027434f1c97339ca065a8806d89da8aa656385edcee/https%3A//intercept-redirect.github.bjornstar.com + 'prod.outgoing.prod.webservices.mozgcp.net': { + '/v1/': ({ pathname }) => decode(pickAfterHash(pathname)) + }, + // 2023-02-24 - https://statics.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks.html?url=https%3A%2F%2Fnoise.getoto.net + 'static.teams.cdn.office.net': { + '/evergreen-assets/safelinks/1/atp-safelinks.html': searchParam('url') + }, 'onlyfans.com': { '/away': searchParam('url') }, diff --git a/webextension/manifest.json b/webextension/manifest.json index 638cb7b..e90a304 100644 --- a/webextension/manifest.json +++ b/webextension/manifest.json @@ -50,9 +50,12 @@ "*://r.klar.na/", "*://www.kraken.com/redirect", "*://t.lever-analytics.com/email-link", + "*://www.linkedin.com/redir/redirect", "*://www.linkedin.com/safety/go", "*://l.messenger.com/l.php", "*://outgoing.prod.mozaws.net/v1/*", + "*://prod.outgoing.prod.webservices.mozgcp.net/v1/*", + "*://static.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks.html", "*://onlyfans.com/away", "*://*.safelinks.protection.outlook.com/", "*://slack-redir.net/link", @@ -63,5 +66,5 @@ "*://workable.com/nr", "*://www.youtube.com/redirect" ], - "version": "8.9.0" + "version": "8.10.0" }