Fixed Startpage bug, Fixed manifest not working on chromium #106
This commit is contained in:
parent
cc16cf342c
commit
b5a373ba63
@ -258,7 +258,7 @@ function redirect(url) {
|
||||
randomInstance = redirects.startpage.normal;
|
||||
path = "/do/search";
|
||||
}
|
||||
if (url.pathname == '/') path = '/';
|
||||
if (!url.searchParams.has('q')) path = '/';
|
||||
|
||||
let searchQuery = "";
|
||||
if (url.searchParams.has('q')) searchQuery = `?q=${url.searchParams.get('q')}`;
|
||||
|
@ -43,9 +43,11 @@
|
||||
"chrome_settings_overrides": {
|
||||
"search_provider": {
|
||||
"name": "LibRedirect",
|
||||
"keyword": "libredirect",
|
||||
"favicon_url": "/assets/images/libredirect-16.png",
|
||||
"search_url": "https://libredirect.onion/?q={searchTerms}",
|
||||
"favicon_url": "assets/images/libredirect-16.png",
|
||||
"encoding": "UTF-8"
|
||||
"encoding": "UTF-8",
|
||||
"is_default": false
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user