From d4b07cf8db21c3c8cf2ed4aaba0caae6e7684f72 Mon Sep 17 00:00:00 2001 From: Bjorn Stromberg Date: Wed, 4 May 2022 13:31:24 +0200 Subject: [PATCH] v8.7.0 - 2022-05-04 --- CHANGELOG.md | 4 ++++ README.md | 2 ++ package.json | 2 +- test/index.js | 2 ++ webextension/index.js | 8 ++++++++ webextension/manifest.json | 4 +++- 6 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e2de68..64d7ee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Intercept Redirect +## v8.7.0 - 2022-05-04 +- Add `facebook.com` +- Add `redirect.epicgames.com` + ## v8.6.0 - 2022-01-02 - Add `c212.net` - Add `cj.dotomi.com` diff --git a/README.md b/README.md index da4333c..10435e2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,9 @@ This extension does not modify any of the pages that you visit. Its sole purpose - disq.us - cj.dotomi.com - console.ebsta.com +- redirect.epicgames.com - exit.sc +- facebook.com - l.facebook.com - lm.facebook.com - m.facebook.com diff --git a/package.json b/package.json index 29f4440..193fb7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bjornstar/intercept-redirect", - "version": "8.6.0", + "version": "8.7.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 e62a03b..e1a9e49 100644 --- a/test/index.js +++ b/test/index.js @@ -24,7 +24,9 @@ const urls = [ { url: `https://disq.us/url?url=${redirectUrl}%3AzjHJ9CS7YTS6D6-FWtZRTF8swk4` }, { url: `https://cj.dotomi.com/links-t/8961927/type/dlg/sid/wtbs_61d0bb4f5c0a800d5c6d18c7/${redirectUrl}`}, { url: `https://console.ebsta.com/linktracking/track.aspx?linkuri=${encodedURL}` }, + { url: `https://redirect.epicgames.com/en/?redirectTo=${redirectUrl}`}, { url: `https://exit.sc/?url=${encodedURL}` }, + { url: `https://facebook.com/flx/warn/?u=${encodedURL}` }, { url: `https://l.facebook.com/l.php?u=${encodedURL}` }, { url: `https://lm.facebook.com/l.php?u=${encodedURL}` }, { url: `https://m.facebook.com/flx/warn/?u=${encodedURL}` }, diff --git a/webextension/index.js b/webextension/index.js index 18a3574..b4a7b4b 100644 --- a/webextension/index.js +++ b/webextension/index.js @@ -55,9 +55,17 @@ const sites = { 'console.ebsta.com': { '/linktracking/track.aspx': searchParam('linkuri') }, + // 2022-05-04 - https://redirect.epicgames.com/en/?redirectTo=https%3A%2F%2Ftwitter.com%2FmiHoYoDesktop + 'redirect.epicgames.com': { + '/': searchParam('redirectTo') + }, 'exit.sc': { '/': searchParam('url') }, + // 2022-05-04 - https://www.facebook.com/flx/warn/?u=https%3A%2F%2Fplayoverwatch.com%2Fen-us%2Fnews%2F23801625%2Foverwatch-2-pvp-beta-week-1-developer-blog%2F + 'facebook.com': { + '/flx/warn/': searchParam('u') + }, // 2020-09-17 - https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.bbc.com%2Ffuture%2Farticle%2F20200622-the-long-term-effects-of-covid-19-infection%3Focid%3Dww.social.link.facebook 'l.facebook.com': { '/l.php': searchParam('u') diff --git a/webextension/manifest.json b/webextension/manifest.json index bab4027..e93c97a 100644 --- a/webextension/manifest.json +++ b/webextension/manifest.json @@ -24,7 +24,9 @@ "*://disq.us/url", "*://cj.dotomi.com/links-t/*", "*://console.ebsta.com/linktracking/track.aspx", + "*://redirect.epicgames.com/*", "*://exit.sc/", + "*://facebook.com/flx/warn/", "*://l.facebook.com/l.php", "*://lm.facebook.com/l.php", "*://m.facebook.com/flx/warn/", @@ -60,5 +62,5 @@ "*://workable.com/nr", "*://www.youtube.com/redirect" ], - "version": "8.6.0" + "version": "8.7.0" }