aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/assets/javascripts/helpers/search.js2
-rw-r--r--src/assets/javascripts/helpers/sendTargets.js2
-rw-r--r--src/manifest.json2
-rw-r--r--src/pages/popup/popup.html2
-rw-r--r--web-ext-config.js5
5 files changed, 9 insertions, 4 deletions
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 @@
</div>
<div id="sendTargets" class="some-block">
- <a class="title" href="http://send.onion">
+ <a class="title" href="http://send.invalid">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" />
diff --git a/web-ext-config.js b/web-ext-config.js
new file mode 100644
index 00000000..a2f0dc14
--- /dev/null
+++ b/web-ext-config.js
@@ -0,0 +1,5 @@
+module.exports = {
+ ignoreFiles: [
+ "instances/get_instances.py"
+ ],
+}; \ No newline at end of file