Skip to content

Commit

Permalink
v3.7.1 - 2018-08-19
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed Aug 19, 2018
1 parent b7b5420 commit 04ff3c9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 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

## v3.7.1 - 2018-08-19
- `curseforge.com` actually double URI encodes their link

## v3.7.0 - 2018-08-19
- Add `curseforge.com`'s linkout

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": "3.7.0",
"version": "3.7.1",
"description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.",
"main": "webextension/index.js",
"dependencies": {},
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { analyzeURL, subdomain } = webExtension;

const urls = [
'https://bjornstar.digidip.net/visit?url=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://wow.curseforge.com/linkout?remoteUrl=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://wow.curseforge.com/linkout?remoteUrl=https%253A%252F%252Fbjornstar.com%252Fintercept-redirect', // curseforge double URI encodes
'https://disq.us/url?url=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect%3AzjHJ9CS7YTS6D6-FWtZRTF8swk4',
'https://exit.sc/?url=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://l.facebook.com/l.php?u=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
Expand Down
3 changes: 3 additions & 0 deletions webextension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ const sites = {
'*.curseforge.com': {
pathnames: {
'/linkout': ['remoteUrl']
},
extra: function (s = '') {
return decodeURIComponent(s);
}
},
'*.digidip.net': {
Expand Down
2 changes: 1 addition & 1 deletion webextension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"*://workable.com/",
"*://www.youtube.com/"
],
"version": "3.7.0"
"version": "3.7.1"
}

0 comments on commit 04ff3c9

Please sign in to comment.