mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
firefox: youtube search engine
This commit is contained in:
parent
bfb096ad73
commit
585f75ae92
1 changed files with 18 additions and 11 deletions
|
|
@ -25,21 +25,28 @@ in {
|
|||
SearchEngines = {
|
||||
Default = "Google Customized";
|
||||
Remove = ["Google"];
|
||||
Add = [
|
||||
(let
|
||||
withFlags = x:
|
||||
x
|
||||
+ mkLrFlag ["lang_fr" "lang_en" "lang_zh-TW"]
|
||||
+ mkGlFlag "fr"
|
||||
+ mkHlFlag "fr";
|
||||
in {
|
||||
Add = let
|
||||
withGoogleFlags = x:
|
||||
x
|
||||
+ mkLrFlag ["lang_fr" "lang_en" "lang_zh-TW"]
|
||||
+ mkGlFlag "fr"
|
||||
+ mkHlFlag "fr";
|
||||
in [
|
||||
{
|
||||
Name = "Google Customized";
|
||||
Alias = "G";
|
||||
IconURL = "https://google.com/favicon.ico";
|
||||
Description = "Your data yum yum";
|
||||
SuggestURLTemplate = withFlags "https://suggestqueries.google.com/complete/search?q={searchTerms}";
|
||||
URLTemplate = withFlags "https://google.com/search?q={searchTerms}";
|
||||
})
|
||||
SuggestURLTemplate = withGoogleFlags "https://suggestqueries.google.com/complete/search?q={searchTerms}";
|
||||
URLTemplate = withGoogleFlags "https://google.com/search?q={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "YouTube";
|
||||
Alias = "yt";
|
||||
IconURL = "https://youtube.com/favicon.ico";
|
||||
SuggestURLTemplate = withGoogleFlags "http://suggestqueries.google.com/complete/search?q={searchTerms}&ds=yt";
|
||||
URLTemplate = withGoogleFlags "https://www.youtube.com/results?search_query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Codeberg";
|
||||
Alias = "gco";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue