Skip to content

Commit

Permalink
v8.1.0 - 2021-10-05
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed Oct 5, 2021
1 parent c2614f3 commit bc21dc7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Intercept Redirect

## v8.1.0 - 2021-10-05
- Add `clickserve.dartsearch.net`

## v8.0.0 - 2021-06-10
- Add `github-redirect.dependabot.com`
- [Tests] Add support for arbitrary expected redirectURLs
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This extension does not modify any of the pages that you visit. It's sole purpos

## Supported Domains
- *.curseforge.com
- clickserve.dartsearch.net
- github-redirect.dependabot.com
- *.digidip.net
- disq.us
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bjornstar/intercept-redirect",
"version": "8.0.0",
"version": "8.1.0",
"description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.",
"main": "webextension/index.js",
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const urls = [
{ url: `https://bjornstar.digidip.net/visit?url=${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://disq.us/url?url=${redirectUrl}%3AzjHJ9CS7YTS6D6-FWtZRTF8swk4` },
{ url: `https://console.ebsta.com/linktracking/track.aspx?linkuri=${encodedURL}` },
Expand Down
4 changes: 4 additions & 0 deletions webextension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ const sites = {
'*.curseforge.com': {
'/linkout': url => decode(searchParam('remoteUrl')(url))
},
// 2021-10-05 -- https://clickserve.dartsearch.net/link/click?ds_dest_url=https://www.newegg.com/logitech-k375s-multi-device-wireless-keyboard-and-stand-combo-920-008165-bluetooth-wireless/p/N82E16823126391?item=N82E16823126391
'clickserve.dartsearch.net': {
'/link/click': searchParam('ds_dest_url')
},
// 2021-06-10 -- https://github-redirect.dependabot.com/evanw/esbuild/pull/1338
'github-redirect.dependabot.com': {
'/': ({ pathname }) => `https://github.com${pathname}`
Expand Down
3 changes: 2 additions & 1 deletion webextension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"webRequest",
"webRequestBlocking",
"*://*.curseforge.com/linkout",
"*://clickserve.dartsearch.net/link/click",
"*://github-redirect.dependabot.com/",
"*://*.digidip.net/visit",
"*://disq.us/url",
Expand Down Expand Up @@ -52,5 +53,5 @@
"*://workable.com/nr",
"*://www.youtube.com/redirect"
],
"version": "8.0.0"
"version": "8.1.0"
}

0 comments on commit bc21dc7

Please sign in to comment.