From 6e2c2ae607029ca4155286e35065b75e1c71847c Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 13 Mar 2022 22:45:53 +0300 Subject: changed from .onion to .invalid as they're fake domains #108 --- src/assets/javascripts/helpers/search.js | 2 +- src/assets/javascripts/helpers/sendTargets.js | 2 +- src/manifest.json | 2 +- src/pages/popup/popup.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/assets/javascripts/helpers/search.js b/src/assets/javascripts/helpers/search.js index 34615d81..f2610925 100644 --- a/src/assets/javascripts/helpers/search.js +++ b/src/assets/javascripts/helpers/search.js @@ -4,7 +4,7 @@ import commonHelper from './common.js' const targets = [ /^https?:\/{2}(www\.|search\.|)google(\.[a-z]{2,3}){1,2}(\/search(\?.*|$)|\/$)/, - /^https?:\/\/libredirect\.onion/ + /^https?:\/\/libredirect\.invalid/ // /^https?:\/\/yandex\.com(\...|)(\/search\/..*|\/$)/, ]; let redirects = { diff --git a/src/assets/javascripts/helpers/sendTargets.js b/src/assets/javascripts/helpers/sendTargets.js index 66b39b78..86e579be 100644 --- a/src/assets/javascripts/helpers/sendTargets.js +++ b/src/assets/javascripts/helpers/sendTargets.js @@ -3,7 +3,7 @@ window.browser = window.browser || window.chrome; import commonHelper from './common.js' const targets = [ - /^https?:\/\/send.onion\/$/, + /^https?:\/\/send.invalid\/$/, /^ https ?: \/\/send\.firefox\.com\/$/, /^https?:\/\/sendfiles\.online\/$/ ]; diff --git a/src/manifest.json b/src/manifest.json index 31ad2ba9..d496a51f 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -45,7 +45,7 @@ "name": "LibRedirect", "keyword": "libredirect", "favicon_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/assets/images/libredirect-16.png", - "search_url": "https://libredirect.onion/?q={searchTerms}", + "search_url": "https://libredirect.invalid/?q={searchTerms}", "encoding": "UTF-8", "is_default": false } diff --git a/src/pages/popup/popup.html b/src/pages/popup/popup.html index a024d519..f52b52c9 100644 --- a/src/pages/popup/popup.html +++ b/src/pages/popup/popup.html @@ -134,7 +134,7 @@
- + -- cgit 1.4.1