abrowser: Added more search engines
This commit is contained in:
parent
593bf40d8e
commit
f0f53cb425
4 changed files with 47 additions and 12 deletions
|
|
@ -159,7 +159,10 @@ class SearchConfig(RemoteSettings):
|
|||
@classmethod
|
||||
def should_drop_record(cls, search_engine):
|
||||
return search_engine['webExtension']['id'] not in (
|
||||
cls._DUCKDUCKGO_SEARCH_ENGINE_ID, 'wikipedia@search.mozilla.org')
|
||||
cls._DUCKDUCKGO_SEARCH_ENGINE_ID, 'wikipedia@search.mozilla.org',
|
||||
'trisquel@search.mozilla.org', 'trisquel-packages@@search.mozilla.org',
|
||||
'wiktionary@search.mozilla.org', 'qwant@search.mozilla.org',
|
||||
'ecosia@search.mozilla.org')
|
||||
|
||||
@classmethod
|
||||
def process_record(cls, search_engine):
|
||||
|
|
|
|||
15
helpers/DATA/firefox/searchplugins/trisquel-packages.json
Normal file
15
helpers/DATA/firefox/searchplugins/trisquel-packages.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"schema": 1674147734592,
|
||||
"appliesTo": [
|
||||
{
|
||||
"included": {
|
||||
"everywhere": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"webExtension": {
|
||||
"id": "trisquel@search.mozilla.org"
|
||||
},
|
||||
"id": "b5fd21a8-e369-477f-a3f2-b47a370f9030",
|
||||
"last_modified": 1678
|
||||
},
|
||||
15
helpers/DATA/firefox/searchplugins/trisquel.json
Normal file
15
helpers/DATA/firefox/searchplugins/trisquel.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"schema": 1674147734535,
|
||||
"appliesTo": [
|
||||
{
|
||||
"included": {
|
||||
"everywhere": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"webExtension": {
|
||||
"id": "trisquel@search.mozilla.org"
|
||||
},
|
||||
"id": "b99ed276-9557-4492-8bbb-d59826381893",
|
||||
"last_modified": 1678
|
||||
},
|
||||
Loading…
Add table
Add a link
Reference in a new issue