diff --git a/CHANGELOG.md b/CHANGELOG.md index bb362c2..c50e5a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Intercept Redirect +## v8.11.0 - 2023-02-26 +- Add `tiktok.com` +- [package.json] Align with add-on listing + ## v8.10.0 - 2023-02-24 - Add `linkedin.com/redir/redirect` (Fixes #50) - Add `prod.outgoing.prod.webservices.mozgcp.net/v1/` (Fixes #51) diff --git a/README.md b/README.md index 5f8b544..17e3ea9 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ This extension does not modify any of the pages that you visit. Its sole purpose - *.safelinks.protection.outlook.com - slack-redir.net - steamcommunity.com +- www.tiktok.com - twitter.com - t.umblr.com - vk.com diff --git a/package.json b/package.json index cc41139..286669f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bjornstar/intercept-redirect", - "version": "8.10.0", + "version": "8.11.0", "description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.", "main": "webextension/index.js", "devDependencies": { @@ -20,8 +20,11 @@ "url": "git+https://github.com/bjornstar/intercept-redirect.git" }, "keywords": [ - "webextension", - "redirect" + "anti tracker", + "privacy", + "redirect", + "security", + "webextension" ], "author": "Bjorn Stromberg ", "license": "MIT", diff --git a/test/index.js b/test/index.js index 90d4752..91a94e4 100644 --- a/test/index.js +++ b/test/index.js @@ -71,6 +71,7 @@ const urls = [ { url: `https://steamcommunity.com/linkfilter/?url=${encodedURL}` }, // https://github.com/bjornstar/intercept-redirect/issues/12 { url: 'https://steamcommunity.com/linkfilter/?url=bjornstar.com/intercept-redirect' }, + { url: 'https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=bjornstar.com%2Fintercept-redirect' }, { url: `https://twitter.com/i/redirect?url=${encodedURL}` }, { url: `https://t.umblr.com/redirect?z=${encodedURL}` }, { url: `https://vk.com/away.php?to=${encodedURL}` }, diff --git a/webextension/index.js b/webextension/index.js index 6e5eced..22eb4a3 100644 --- a/webextension/index.js +++ b/webextension/index.js @@ -158,6 +158,10 @@ const sites = { 'steamcommunity.com': { '/linkfilter/': searchParam('url') }, + // 2023-02-26 - https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=bjornstar.com%2Fintercept-redirect + 'www.tiktok.com': { + '/link/v2': searchParam('target') + }, 'twitter.com': { '/i/redirect': searchParam('url') }, diff --git a/webextension/manifest.json b/webextension/manifest.json index e90a304..bdb061c 100644 --- a/webextension/manifest.json +++ b/webextension/manifest.json @@ -60,11 +60,12 @@ "*://*.safelinks.protection.outlook.com/", "*://slack-redir.net/link", "*://steamcommunity.com/linkfilter/", + "*://www.tiktok.com/link/v2", "*://twitter.com/i/redirect", "*://t.umblr.com/redirect", "*://vk.com/away.php", "*://workable.com/nr", "*://www.youtube.com/redirect" ], - "version": "8.10.0" + "version": "8.11.0" }