updated searchEngines so they work without policies (in release builds)

This commit is contained in:
partisan 2025-01-19 17:42:41 +01:00
parent 6cf212ecd8
commit 666a06a496
2 changed files with 67 additions and 23 deletions

View file

@ -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"

View 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
+}