changed from .onion to .invalid as they're fake domains #108
This commit is contained in:
parent
37731ba0be
commit
6e2c2ae607
|
@ -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 = {
|
||||
|
|
|
@ -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\/$/
|
||||
];
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
ignoreFiles: [
|
||||
"instances/get_instances.py"
|
||||
],
|
||||
};
|
Loading…
Reference in New Issue