mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39: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 = {
|
SearchEngines = {
|
||||||
Default = "Google Customized";
|
Default = "Google Customized";
|
||||||
Remove = ["Google"];
|
Remove = ["Google"];
|
||||||
Add = [
|
Add = let
|
||||||
(let
|
withGoogleFlags = x:
|
||||||
withFlags = x:
|
x
|
||||||
x
|
+ mkLrFlag ["lang_fr" "lang_en" "lang_zh-TW"]
|
||||||
+ mkLrFlag ["lang_fr" "lang_en" "lang_zh-TW"]
|
+ mkGlFlag "fr"
|
||||||
+ mkGlFlag "fr"
|
+ mkHlFlag "fr";
|
||||||
+ mkHlFlag "fr";
|
in [
|
||||||
in {
|
{
|
||||||
Name = "Google Customized";
|
Name = "Google Customized";
|
||||||
Alias = "G";
|
Alias = "G";
|
||||||
IconURL = "https://google.com/favicon.ico";
|
IconURL = "https://google.com/favicon.ico";
|
||||||
Description = "Your data yum yum";
|
Description = "Your data yum yum";
|
||||||
SuggestURLTemplate = withFlags "https://suggestqueries.google.com/complete/search?q={searchTerms}";
|
SuggestURLTemplate = withGoogleFlags "https://suggestqueries.google.com/complete/search?q={searchTerms}";
|
||||||
URLTemplate = withFlags "https://google.com/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";
|
Name = "Codeberg";
|
||||||
Alias = "gco";
|
Alias = "gco";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue