Skip to content

Commit

Permalink
v3.6.0 - 2018-06-05
Browse files Browse the repository at this point in the history
- Add `workable.com` (Fixes #3)
- [Packaging] Update description and copy to `manifest.json`
  • Loading branch information
bjornstar committed Jun 5, 2018
1 parent 5fc7b9d commit 15c29e1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Intercept Redirect

## v3.6.0 - 2018-06-05
- Add `workable.com` (Fixes #3)
- [Packaging] Update description and copy to `manifest.json`

## v3.5.2 - 2018-05-24
- [npm] Add `.npmignore`
- [Dependencies] Update `mocha` from `v5.1.1` to `v5.2.0`
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bjornstar/intercept-redirect",
"version": "3.5.2",
"description": "Skip tracking redirects that serve no purpose other than to waste your precious time.",
"version": "3.6.0",
"description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.",
"main": "webextension/index.js",
"dependencies": {},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const urls = [
'https://twitter.com/i/redirect?url=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://t.umblr.com/redirect?z=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://vk.com/away.php?to=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://workable.com/nr?l=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect',
'https://www.youtube.com/redirect?q=https%3A%2F%2Fbjornstar.com%2Fintercept-redirect'
];

Expand Down
5 changes: 5 additions & 0 deletions webextension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ const sites = {
'/away.php': ['to']
}
},
'workable.com': {
pathnames: {
'/nr': ['l']
}
},
'www.youtube.com': {
pathnames: {
'/redirect': ['q']
Expand Down
4 changes: 3 additions & 1 deletion webextension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"background": {
"scripts": [ "index.js" ]
},
"description": "Skip tracking redirects that serve no purpose other than to waste your valuable time.",
"manifest_version": 2,
"name": "Intercept Redirect",
"permissions": [
Expand All @@ -22,7 +23,8 @@
"*://twitter.com/",
"*://t.umblr.com/",
"*://vk.com/",
"*://workable.com/",
"*://www.youtube.com/"
],
"version": "3.5.2"
"version": "3.6.0"
}

0 comments on commit 15c29e1

Please sign in to comment.