From 783e3aba840eeb3e82f1dcb89ebed40815c860a2 Mon Sep 17 00:00:00 2001 From: Bjorn Stromberg Date: Sun, 25 Jun 2023 10:45:17 +0800 Subject: [PATCH] v8.12.0 - 2023-06-25 - Add `toyhou.se` (Fixes #57) - Add `app.adjust.com` (Fixes #55) - Add `bhpz.adj.st` (Fixes #55) - [README.md] Drop travis CI (Fixes #56) - [.gitignore] Remove travis CI config --- .npmignore | 1 - CHANGELOG.md | 7 +++++++ README.md | 4 +++- package.json | 2 +- test/index.js | 11 +++++++---- webextension/index.js | 9 +++++++++ webextension/manifest.json | 5 ++++- 7 files changed, 31 insertions(+), 8 deletions(-) diff --git a/.npmignore b/.npmignore index 5afcc46..811bfe4 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,5 @@ .circleci .eslintrc.json .github -.travis.yml assets build diff --git a/CHANGELOG.md b/CHANGELOG.md index c50e5a9..a830893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Intercept Redirect +## v8.12.0 - 2023-06-25 +- Add `toyhou.se` +- Add `app.adjust.com` +- Add `bhpz.adj.st` +- [README.md] Drop travis CI +- [.gitignore] Remove travis CI config + ## v8.11.0 - 2023-02-26 - Add `tiktok.com` - [package.json] Align with add-on listing diff --git a/README.md b/README.md index 17e3ea9..6014f8c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![Intercept Redirect Logo](https://raw.githubusercontent.com/bjornstar/intercept-redirect/master/assets/icon-300.png)](https://intercept-redirect.bjornstar.com) -[![Travis CI](https://travis-ci.org/bjornstar/intercept-redirect.svg?branch=master)](https://travis-ci.org/bjornstar/intercept-redirect) [![Appveyor](https://ci.appveyor.com/api/projects/status/9qrj76bt914531gg/branch/master?svg=true)](https://ci.appveyor.com/project/bjornstar/intercept-redirect/branch/master) [![CircleCI](https://circleci.com/gh/bjornstar/intercept-redirect/tree/master.svg?style=svg)](https://circleci.com/gh/bjornstar/intercept-redirect/tree/master) @@ -14,6 +13,8 @@ Skip tracking redirects that serve no purpose other than to waste your valuable This extension does not modify any of the pages that you visit. Its sole purpose is to intercept network requests intended for redirect services. It requests the bare minimum of access to these domains to protect your privacy and have the best performance. ## Supported Domains +- bhpz.adj.st +- app.adjust.com - c212.net - *.curseforge.com - clickserve.dartsearch.net @@ -51,6 +52,7 @@ This extension does not modify any of the pages that you visit. Its sole purpose - slack-redir.net - steamcommunity.com - www.tiktok.com +- toyhou.se - twitter.com - t.umblr.com - vk.com diff --git a/package.json b/package.json index 286669f..22a89a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bjornstar/intercept-redirect", - "version": "8.11.0", + "version": "8.12.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 91a94e4..441620d 100644 --- a/test/index.js +++ b/test/index.js @@ -15,16 +15,18 @@ const redirectUrl = 'https://bjornstar.com/intercept-redirect'; const encodedURL = encodeURIComponent(redirectUrl); const urls = [ - { url: `https://c212.net/c/link/?u=${redirectUrl}`}, + { url: `https://bhpz.adj.st/?adjust_redirect=${encodedURL}` }, + { url: `https://app.adjust.com/jsr?url=${encodedURL}` }, + { url: `https://c212.net/c/link/?u=${redirectUrl}` }, // curseforge double URI encodes { url: `https://wow.curseforge.com/linkout?remoteUrl=${encodeURIComponent(redirectUrl)}` }, { url: `https://clickserve.dartsearch.net/link/click?ds_dest_url=${encodedURL}` }, { url: 'https://github-redirect.dependabot.com/bjornstar/intercept-redirect', redirectUrl: 'https://github.com/bjornstar/intercept-redirect' }, { url: `https://bjornstar.digidip.net/visit?url=${redirectUrl}` }, { 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://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://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}` }, @@ -39,7 +41,7 @@ const urls = [ { url: `https://plus.url.google.com/url?url=${encodedURL}` }, { url: `https://www.google.com/imgres?imgrefurl=${encodedURL}` }, { url: `https://www.google.com/imgres?imgurl=${encodedURL}` }, - { url: `https://www.google.com/sorry/index?continue=${encodedURL}`}, + { url: `https://www.google.com/sorry/index?continue=${encodedURL}` }, { url: `https://www.google.com/url?q=${encodedURL}` }, { url: `https://www.google.com/url?url=${encodedURL}` }, { url: `https://www.google.se/imgres?imgrefurl=${encodedURL}` }, @@ -72,6 +74,7 @@ const urls = [ // 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://toyhou.se/~r?q=${encodedURL}` }, { 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 22eb4a3..ad1048c 100644 --- a/webextension/index.js +++ b/webextension/index.js @@ -25,6 +25,12 @@ const googlePathnames = { }; const sites = { + 'bhpz.adj.st': { + '/': searchParam('adjust_redirect') + }, + 'app.adjust.com': { + '/jsr': searchParam('url') + }, // 2022-01-02 -- https://c212.net/c/link/?t=0&l=en&o=2997076-1&h=288952320&u=http%3A%2F%2Fcreatorkit.com%2Ftop-nine-best-of-2020&a=CreatorKit.com%2FTopNine 'c212.net': { '/c/link': searchParam('u') @@ -162,6 +168,9 @@ const sites = { 'www.tiktok.com': { '/link/v2': searchParam('target') }, + 'toyhou.se': { + '/~r': searchParam('q') + }, 'twitter.com': { '/i/redirect': searchParam('url') }, diff --git a/webextension/manifest.json b/webextension/manifest.json index bdb061c..c0373fe 100644 --- a/webextension/manifest.json +++ b/webextension/manifest.json @@ -16,6 +16,8 @@ "permissions": [ "webRequest", "webRequestBlocking", + "*://bhpz.adj.st/", + "*://app.adjust.com/jsr", "*://c212.net/c/link", "*://*.curseforge.com/linkout", "*://clickserve.dartsearch.net/link/click", @@ -61,11 +63,12 @@ "*://slack-redir.net/link", "*://steamcommunity.com/linkfilter/", "*://www.tiktok.com/link/v2", + "*://toyhou.se/~r", "*://twitter.com/i/redirect", "*://t.umblr.com/redirect", "*://vk.com/away.php", "*://workable.com/nr", "*://www.youtube.com/redirect" ], - "version": "8.11.0" + "version": "8.12.0" }