updated searchEngines so they work without policies (in release builds)
This commit is contained in:
parent
6cf212ecd8
commit
666a06a496
2 changed files with 67 additions and 23 deletions
|
@ -37,29 +37,6 @@ o: /distribution/policies.json
|
|||
+ "twitter@search.mozilla.org"
|
||||
+ ]
|
||||
+ },
|
||||
+ "SearchEngines": {
|
||||
+ "PreventInstalls": false,
|
||||
+ "Remove": [
|
||||
+ "Google",
|
||||
+ "Bing",
|
||||
+ "Amazon.com",
|
||||
+ "DuckDuckGo",
|
||||
+ "eBay",
|
||||
+ "Twitter",
|
||||
+ "wikipedia@search.mozilla.org"
|
||||
+ ],
|
||||
+ "Add": [
|
||||
+ {
|
||||
+ "Name": "QGato",
|
||||
+ "Description": "QGato Search Engine",
|
||||
+ "Method": "GET",
|
||||
+ "URLTemplate": "https://qgato.xyz/search?q={searchTerms}",
|
||||
+ "SuggestURLTemplate": "https://qgato.xyz/suggestions?q={searchTerms}",
|
||||
+ "IconURL": "https://qgato.xyz/static/images/icon.png"
|
||||
+ }
|
||||
+ ],
|
||||
+ "Default": "QGato"
|
||||
+ },
|
||||
+ "SupportMenu": {
|
||||
+ "Title": "Spitfire Issue Tracker",
|
||||
+ "URL": "https://weforge.xyz/Spitfire/Browser/issues"
|
||||
|
|
67
pre-compile-patches/search-config-v2.patch
Normal file
67
pre-compile-patches/search-config-v2.patch
Normal file
|
@ -0,0 +1,67 @@
|
|||
o: services/settings/dumps/main/search-config-v2.json
|
||||
t: new
|
||||
|
||||
+{
|
||||
+ "data": [
|
||||
+ {
|
||||
+ "globalDefault": "qgato",
|
||||
+ "id": "default-engine-id",
|
||||
+ "last_modified": 1737282456000,
|
||||
+ "recordType": "defaultEngines",
|
||||
+ "schema": 1702901837584,
|
||||
+ "specificDefaults": [
|
||||
+ {
|
||||
+ "default": "qgato",
|
||||
+ "environment": {
|
||||
+ "allRegionsAndLocales": true
|
||||
+ }
|
||||
+ }
|
||||
+ ],
|
||||
+ "engineOrders": ["qgato"]
|
||||
+ },
|
||||
+ {
|
||||
+ "base": {
|
||||
+ "classification": "general",
|
||||
+ "name": "QGato",
|
||||
+ "urls": {
|
||||
+ "search": {
|
||||
+ "base": "https://qgato.xyz/search",
|
||||
+ "searchTermParamName": "q"
|
||||
+ },
|
||||
+ "suggestions": {
|
||||
+ "base": "https://qgato.xyz/suggestions",
|
||||
+ "searchTermParamName": "q"
|
||||
+ }
|
||||
+ },
|
||||
+ "icon": "https://qgato.xyz/static/images/icon.png"
|
||||
+ },
|
||||
+ "id": "qgato-id",
|
||||
+ "identifier": "qgato",
|
||||
+ "last_modified": 1737282456000,
|
||||
+ "recordType": "engine",
|
||||
+ "schema": 1702901817337,
|
||||
+ "variants": [
|
||||
+ {
|
||||
+ "environment": {
|
||||
+ "allRegionsAndLocales": true
|
||||
+ }
|
||||
+ }
|
||||
+ ]
|
||||
+ },
|
||||
+ {
|
||||
+ "id": "engine-orders-id",
|
||||
+ "last_modified": 1737282456000,
|
||||
+ "orders": [
|
||||
+ {
|
||||
+ "environment": {
|
||||
+ "allRegionsAndLocales": true
|
||||
+ },
|
||||
+ "order": ["qgato"]
|
||||
+ }
|
||||
+ ],
|
||||
+ "recordType": "engineOrders",
|
||||
+ "schema": 1707824831520
|
||||
+ }
|
||||
+ ],
|
||||
+ "timestamp": 1737282456000
|
||||
+}
|
Loading…
Add table
Reference in a new issue