Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
release(ext): v0.1.2
Browse files Browse the repository at this point in the history
- tidy up permissions
  • Loading branch information
mustakimali committed Jan 1, 2023
1 parent 2a933ae commit a12e22f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions browser-ext/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Privacy Redirect",
"version": "0.1.1",
"version": "0.1.2",
"description": "Remove all known trackers and hide your referrer before redirecting to another site",
"icons": {
"48": "icon-48.png"
Expand All @@ -14,7 +14,6 @@
"permissions": [
"webRequest",
"webRequestBlocking",
"<all_urls>",
"*://*/*"
]
}
2 changes: 0 additions & 2 deletions browser-ext/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const privacyRedirect = {
SERVER: "https://privacydir.com",
SERVER_PREFIX: "https://privacydir.com/?",
EXTENSION_LOADED: false,

init: function () {
var isExtension = false;
Expand All @@ -13,7 +12,6 @@ const privacyRedirect = {
inst.webRequest.onBeforeRequest.addListener(privacyRedirect.handleRedirect, {
urls: ["<all_urls>"]
}, ["blocking"]);
privacyRedirect.EXTENSION_LOADED = true;
} else {
// Page Script
privacyRedirect.initPageScript();
Expand Down
2 changes: 0 additions & 2 deletions frontend/public/app/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const privacyRedirect = {
SERVER: "https://privacydir.com",
SERVER_PREFIX: "https://privacydir.com/?",
EXTENSION_LOADED: false,

init: function () {
var isExtension = false;
Expand All @@ -13,7 +12,6 @@ const privacyRedirect = {
inst.webRequest.onBeforeRequest.addListener(privacyRedirect.handleRedirect, {
urls: ["<all_urls>"]
}, ["blocking"]);
privacyRedirect.EXTENSION_LOADED = true;
} else {
// Page Script
privacyRedirect.initPageScript();
Expand Down

0 comments on commit a12e22f

Please sign in to comment.