Skip to content

Commit

Permalink
v7.1.0 - 2021-04-21
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed Apr 21, 2021
1 parent 0a6f020 commit 3bd7244
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Intercept Redirect

## v7.0.2 - 2021-03.24
## v7.1.0 - 2021-04-21
- Add support for `t.lever-analytics.com`
- [devDependencies] Update `mocha` & `eslint`

## v7.0.2 - 2021-03-24
- [`.npmignore`] It should be the filename with extension: `.eslintrc.json`

## v7.0.1 - 2021-03-24
Expand All @@ -19,7 +23,7 @@
- [`manifest.json`] Make URLs more specific
- [Tests] Use a variable for the encoded URL to avoid copy/paste errors
- [Tests] Use URL to extract the host instead of doing it ourselves
- [Dependencies] Update mocha & eslint
- [devDependencies] Update mocha & eslint

## v5.4.0 - 2020-05-29
- Add a link to the Microsoft Edge version in the `README` (Fixes #23)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This extension does not modify any of the pages that you visit. It's sole purpos
- l.instagram.com
- www.javlibrary.com
- www.kraken.com
- t.lever-analytics.com
- l.messenger.com
- outgoing.prod.mozaws.net
- gcc01.safelinks.protection.outlook.com
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@bjornstar/intercept-redirect",
"version": "7.0.2",
"version": "7.1.0",
"description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.",
"main": "webextension/index.js",
"devDependencies": {
"eslint": "^7.9.0",
"mocha": "^8.1.3"
"eslint": "^7.24.0",
"mocha": "^8.3.2"
},
"scripts": {
"build": "./build.sh",
Expand Down
1 change: 1 addition & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const urls = [
`https://www.javlibrary.com/ja/redirect.php?url=${encodedURL}`,
`https://www.javlibrary.com/tw/redirect.php?url=${encodedURL}`,
`https://www.kraken.com/redirect?url=${encodedURL}`,
`https://t.lever-analytics.com/email-link?dest=${encodedURL}`,
`https://l.messenger.com/l.php?u=${encodedURL}`,
`https://outgoing.prod.mozaws.net/v1/08aa3089688d4b6ec460e6c402e78eba305c36fb81287197e4ae3f5a5c60f22d/${encodedURL}`,
'https://outgoing.prod.mozaws.net/v1/08aa3089688d4b6ec460e6c402e78eba305c36fb81287197e4ae3f5a5c60f22d/https%3A//bjornstar.com/intercept-redirect', // https://github.com/bjornstar/intercept-redirect/issues/22
Expand Down
4 changes: 4 additions & 0 deletions webextension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ const sites = {
'www.kraken.com': {
'/redirect': searchParam('url')
},
// 2021-04-21 - https://t.lever-analytics.com/email-link?dest=https%3A%2F%2Fgithub.com%2Fklarna
't.lever-analytics.com': {
'/email-link': searchParam('dest')
},
'l.messenger.com': {
'/l.php': searchParam('u')
},
Expand Down
3 changes: 2 additions & 1 deletion webextension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"*://www.javlibrary.com/ja/redirect.php",
"*://www.javlibrary.com/tw/redirect.php",
"*://www.kraken.com/redirect",
"*://t.lever-analytics.com/email-link",
"*://l.messenger.com/l.php",
"*://outgoing.prod.mozaws.net/v1/*",
"*://gcc01.safelinks.protection.outlook.com/",
Expand All @@ -50,5 +51,5 @@
"*://workable.com/nr",
"*://www.youtube.com/redirect"
],
"version": "7.0.2"
"version": "7.1.0"
}

0 comments on commit 3bd7244

Please sign in to comment.