mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1482565 - Support and show @Яндекс and @百度 searches for yandex and baidu r=mkaply
Depends on D3133 Depends on D3033 Differential Revision: https://phabricator.services.mozilla.com/D3139 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
260e13f78d
commit
a23ae6debf
@ -7,9 +7,9 @@
|
||||
// that should be converted to search Topsites
|
||||
const SEARCH_SHORTCUTS = [
|
||||
{keyword: "@amazon", shortURL: "amazon", url: "https://amazon.com", searchIdentifier: /^amazon/},
|
||||
{keyword: "@baidu", shortURL: "baidu", url: "https://baidu.com", searchIdentifier: /^baidu/},
|
||||
{keyword: "@\u767E\u5EA6", shortURL: "baidu", url: "https://baidu.com", searchIdentifier: /^baidu/},
|
||||
{keyword: "@google", shortURL: "google", url: "https://google.com", searchIdentifier: /^google/},
|
||||
{keyword: "@yandex", shortURL: "yandex", url: "https://yandex.com", searchIdentifier: /^yandex/}
|
||||
{keyword: "@\u044F\u043D\u0434\u0435\u043A\u0441", shortURL: "yandex", url: "https://yandex.com", searchIdentifier: /^yandex/}
|
||||
];
|
||||
this.SEARCH_SHORTCUTS = SEARCH_SHORTCUTS;
|
||||
|
||||
|
@ -949,8 +949,8 @@ const ENGINE_ALIASES = new Map([
|
||||
["ebay", ["@ebay"]],
|
||||
["bing", ["@bing"]],
|
||||
["ddg", ["@duckduckgo", "@ddg"]],
|
||||
["yandex", ["@yandex"]],
|
||||
["baidu", ["@baidu"]],
|
||||
["yandex", ["@\u044F\u043D\u0434\u0435\u043A\u0441", "@yandex"]],
|
||||
["baidu", ["@\u767E\u5EA6", "@baidu"]],
|
||||
]);
|
||||
|
||||
function getInternalAliases(engine) {
|
||||
|
Loading…
Reference in New Issue
Block a user