aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/policies.json77
-rw-r--r--examples/search-with-qj.json168
-rw-r--r--examples/search-with-qj.json.mozlz4bin0 -> 1457 bytes
-rw-r--r--examples/search.json169
-rw-r--r--examples/search.json.mozlz4bin0 -> 3026 bytes
5 files changed, 414 insertions, 0 deletions
diff --git a/examples/policies.json b/examples/policies.json
new file mode 100644
index 0000000..c0bf28a
--- /dev/null
+++ b/examples/policies.json
@@ -0,0 +1,77 @@
+{
+ "policies": {
+ "CaptivePortal": false,
+ "DisableAppUpdate": true,
+ "DisableFeedbackCommands": true,
+ "DisableFirefoxAccounts": true,
+ "DisableFirefoxStudies": true,
+ "DisableMasterPasswordCreation": true,
+ "DisablePocket": true,
+ "DisableProfileImport": true,
+ "DisableProfileRefresh": true,
+ "DisableSetDesktopBackground": true,
+ "DisableSystemAddonUpdate": true,
+ "DisableTelemetry": true,
+ "DontCheckDefaultBrowser": true,
+ "EnableTrackingProtection": {
+ "Cryptomining": true,
+ "Fingerprinting": true,
+ "Value": true
+ },
+ "ExtensionSettings": {
+ "*": {
+ "installation_mode": "blocked"
+ },
+ "ublock-origin": {
+ "installation_mode": "force_installed"
+ }
+ },
+ "ExtensionUpdate": false,
+ "FirefoxHome": {
+ "Highlights": false,
+ "Pocket": false,
+ "Search": true,
+ "Snippets": false,
+ "TopSites": false
+ },
+ "FlashPlugin": {
+ "Default": false
+ },
+ "NewTabPage": false,
+ "NoDefaultBookmarks": true,
+ "OfferToSaveLogins": false,
+ "PasswordManagerEnabled": false,
+ "Permissions": {
+ "Location": {
+ "BlockNewRequests": true,
+ "Locked": true
+ }
+ },
+ "Preferences": {
+ "browser.cache.disk.enable": false,
+ "browser.search.update": false,
+ "browser.urlbar.suggest.history": true,
+ "browser.urlbar.suggest.openpage": true,
+ "media.gmp-gmpopenh264.enabled": false,
+ "media.gmp-widevinecdm.enabled": false,
+ "network.IDN_show_punycode": false,
+ "places.history.enabled": false,
+ "security.ssl.errorReporting.enabled": false
+ },
+ "RequestedLocales": [
+ "de-DE"
+ ],
+ "SanitizeOnShutdown": {
+ "Cache": true,
+ "Cookies": true,
+ "Downloads": true,
+ "FormData": true,
+ "History": true,
+ "OfflineApps": true,
+ "Sessions": true,
+ "SiteSettings": true
+ },
+ "SearchBar": "separate",
+ "SearchSuggestEnabled": false
+ }
+} \ No newline at end of file
diff --git a/examples/search-with-qj.json b/examples/search-with-qj.json
new file mode 100644
index 0000000..4d7f944
--- /dev/null
+++ b/examples/search-with-qj.json
@@ -0,0 +1,168 @@
+{
+ "version": 1,
+ "buildID": "20200218152453",
+ "appVersion": "73.0.1",
+ "locale": "und",
+ "visibleDefaultEngines": [
+ "{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "ddg",
+ "wikipedia"
+ ],
+ "metaData": {
+ "current": "Qwant Junior",
+ "hash": "h6sprAeyxlX/pB7whMweqO2gTV4Yl46SEnp5yf2aDqo="
+ },
+ "engines": [
+ {
+ "_name": "Qwant Junior",
+ "_shortName": "{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "_loadPath": "[other]addEngineWithDetails:{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "description": "Qwant Junior Extension define qwantjunior.com as your default homepage and search engine.",
+ "__searchForm": "https://www.qwantjunior.com",
+ "_iconURL": "",
+ "_iconMapObj": {
+ "{}": "moz-extension://b858e739-dd41-4b57-b053-5062bf8c4527/favicon.ico"
+ },
+ "_metaData": {
+ "alias": "qj",
+ "order": 4,
+ "loadPathHash": "jTHiliDTnSB+DRoU/4LtqdxF3eLwtoHZLl2s6waAkmw="
+ },
+ "_urls": [
+ {
+ "params": [],
+ "rels": [],
+ "resultDomain": "www.qwantjunior.com",
+ "template": "https://www.qwantjunior.com/?q={searchTerms}&client=ext-firefox-sb"
+ },
+ {
+ "params": [],
+ "rels": [],
+ "resultDomain": "api.qwant.com",
+ "template": "https://api.qwant.com/egp/suggest/?q={searchTerms}&client=opensearch&lang=en_us",
+ "type": "application/x-suggestions+json"
+ }
+ ],
+ "_isBuiltin": true,
+ "queryCharset": "UTF-8",
+ "extensionID": "{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "extensionLocale": "default"
+ },
+ {
+ "_name": "DuckDuckGo",
+ "_shortName": "ddg",
+ "_loadPath": "[other]addEngineWithDetails:ddg@search.mozilla.org",
+ "description": "Search DuckDuckGo",
+ "__searchForm": "https://duckduckgo.com/?q={searchTerms}",
+ "_iconURL": "moz-extension://b858e739-dd41-4b57-b053-5062bf8c4527/favicon.ico",
+ "_iconMapObj": {
+ "{}": "moz-extension://b858e739-dd41-4b57-b053-5062bf8c4527/favicon.ico"
+ },
+ "_metaData": {
+ "alias": null,
+ "order": 5
+ },
+ "_urls": [
+ {
+ "params": [
+ {
+ "name": "t",
+ "value": "ffcm",
+ "purpose": "contextmenu"
+ },
+ {
+ "name": "t",
+ "value": "ffab",
+ "purpose": "keyword"
+ },
+ {
+ "name": "t",
+ "value": "ffsb",
+ "purpose": "searchbar"
+ },
+ {
+ "name": "t",
+ "value": "ffhp",
+ "purpose": "homepage"
+ },
+ {
+ "name": "t",
+ "value": "ffnt",
+ "purpose": "newtab"
+ },
+ {
+ "name": "q",
+ "value": "{searchTerms}"
+ }
+ ],
+ "rels": [],
+ "resultDomain": "duckduckgo.com",
+ "template": "https://duckduckgo.com/"
+ },
+ {
+ "params": [
+ {
+ "name": "q",
+ "value": "{searchTerms}"
+ },
+ {
+ "name": "type",
+ "value": "list"
+ }
+ ],
+ "rels": [],
+ "resultDomain": "ac.duckduckgo.com",
+ "template": "https://ac.duckduckgo.com/ac/",
+ "type": "application/x-suggestions+json"
+ }
+ ],
+ "_isBuiltin": true,
+ "queryCharset": "UTF-8",
+ "extensionID": "ddg@search.mozilla.org",
+ "extensionLocale": "default"
+ },
+ {
+ "_name": "Wikipedia (en)",
+ "_shortName": "wikipedia",
+ "_loadPath": "[other]addEngineWithDetails:wikipedia@search.mozilla.org",
+ "description": "Wikipedia, the Free Encyclopedia",
+ "__searchForm": "https://en.wikipedia.org/wiki/Special:Search?search={searchTerms}&sourceid=Mozilla-search",
+ "_iconURL": "moz-extension://00924149-f180-48b5-99ca-1105a254463e/favicon.ico",
+ "_iconMapObj": {
+ "{}": "moz-extension://00924149-f180-48b5-99ca-1105a254463e/favicon.ico"
+ },
+ "_metaData": {
+ "alias": null,
+ "order": 8
+ },
+ "_urls": [
+ {
+ "params": [
+ {
+ "name": "search",
+ "value": "{searchTerms}"
+ },
+ {
+ "name": "sourceid",
+ "value": "Mozilla-search"
+ }
+ ],
+ "rels": [],
+ "resultDomain": "en.wikipedia.org",
+ "template": "https://en.wikipedia.org/wiki/Special:Search"
+ },
+ {
+ "params": [],
+ "rels": [],
+ "resultDomain": "en.wikipedia.org",
+ "template": "https://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}",
+ "type": "application/x-suggestions+json"
+ }
+ ],
+ "_isBuiltin": true,
+ "queryCharset": "UTF-8",
+ "extensionID": "wikipedia@search.mozilla.org",
+ "extensionLocale": "default"
+ }
+ ]
+}
diff --git a/examples/search-with-qj.json.mozlz4 b/examples/search-with-qj.json.mozlz4
new file mode 100644
index 0000000..4721b40
--- /dev/null
+++ b/examples/search-with-qj.json.mozlz4
Binary files differ
diff --git a/examples/search.json b/examples/search.json
new file mode 100644
index 0000000..49cd01e
--- /dev/null
+++ b/examples/search.json
@@ -0,0 +1,169 @@
+{
+ "version": 1,
+ "buildID": "20200218152453",
+ "appVersion": "73.0.1",
+ "locale": "und",
+ "visibleDefaultEngines": [
+ "{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "ddg",
+ "wikipedia"
+ ],
+ "metaData": {
+ "current": "Qwant Junior",
+ "hash": "h6sprAeyxlX/pB7whMweqO2gTV4Yl46SEnp5yf2aDqo="
+ },
+ "engines": [
+ {
+ "_name": "Qwant Junior",
+ "_shortName": "{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "_loadPath": "[other]addEngineWithDetails:{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "description": "Qwant Junior Extension define qwantjunior.com as your default homepage and search engine.",
+ "__searchForm": "https://www.qwantjunior.com",
+ "_iconURL": "",
+ "_iconMapObj": {
+ "{}": "moz-extension://36d50491-93ae-4f47-ba46-3d6e00c098e9/img/icon128.png"
+ },
+ "_metaData": {
+ "alias": "qj",
+ "order": 4,
+ "loadPathHash": "jTHiliDTnSB+DRoU/4LtqdxF3eLwtoHZLl2s6waAkmw="
+ },
+ "_urls": [
+ {
+ "params": [],
+ "rels": [],
+ "resultDomain": "www.qwantjunior.com",
+ "template": "https://www.qwantjunior.com/?q={searchTerms}&client=ext-firefox-sb"
+ },
+ {
+ "params": [],
+ "rels": [],
+ "resultDomain": "api.qwant.com",
+ "template": "https://api.qwant.com/egp/suggest/?q={searchTerms}&client=opensearch&lang=en_us",
+ "type": "application/x-suggestions+json"
+ }
+ ],
+ "_isBuiltin": false,
+ "queryCharset": "UTF-8",
+ "_readOnly": false,
+ "extensionID": "{842c8222-5b6d-47bf-b7c8-8a1bc2da3426}",
+ "extensionLocale": "default"
+ },
+ {
+ "_name": "DuckDuckGo",
+ "_shortName": "ddg",
+ "_loadPath": "[other]addEngineWithDetails:ddg@search.mozilla.org",
+ "description": "Search DuckDuckGo",
+ "__searchForm": "https://duckduckgo.com/?q={searchTerms}",
+ "_iconURL": "moz-extension://b858e739-dd41-4b57-b053-5062bf8c4527/favicon.ico",
+ "_iconMapObj": {
+ "{}": "moz-extension://b858e739-dd41-4b57-b053-5062bf8c4527/favicon.ico"
+ },
+ "_metaData": {
+ "alias": null,
+ "order": 5
+ },
+ "_urls": [
+ {
+ "params": [
+ {
+ "name": "t",
+ "value": "ffcm",
+ "purpose": "contextmenu"
+ },
+ {
+ "name": "t",
+ "value": "ffab",
+ "purpose": "keyword"
+ },
+ {
+ "name": "t",
+ "value": "ffsb",
+ "purpose": "searchbar"
+ },
+ {
+ "name": "t",
+ "value": "ffhp",
+ "purpose": "homepage"
+ },
+ {
+ "name": "t",
+ "value": "ffnt",
+ "purpose": "newtab"
+ },
+ {
+ "name": "q",
+ "value": "{searchTerms}"
+ }
+ ],
+ "rels": [],
+ "resultDomain": "duckduckgo.com",
+ "template": "https://duckduckgo.com/"
+ },
+ {
+ "params": [
+ {
+ "name": "q",
+ "value": "{searchTerms}"
+ },
+ {
+ "name": "type",
+ "value": "list"
+ }
+ ],
+ "rels": [],
+ "resultDomain": "ac.duckduckgo.com",
+ "template": "https://ac.duckduckgo.com/ac/",
+ "type": "application/x-suggestions+json"
+ }
+ ],
+ "_isBuiltin": true,
+ "queryCharset": "UTF-8",
+ "extensionID": "ddg@search.mozilla.org",
+ "extensionLocale": "default"
+ },
+ {
+ "_name": "Wikipedia (en)",
+ "_shortName": "wikipedia",
+ "_loadPath": "[other]addEngineWithDetails:wikipedia@search.mozilla.org",
+ "description": "Wikipedia, the Free Encyclopedia",
+ "__searchForm": "https://en.wikipedia.org/wiki/Special:Search?search={searchTerms}&sourceid=Mozilla-search",
+ "_iconURL": "moz-extension://00924149-f180-48b5-99ca-1105a254463e/favicon.ico",
+ "_iconMapObj": {
+ "{}": "moz-extension://00924149-f180-48b5-99ca-1105a254463e/favicon.ico"
+ },
+ "_metaData": {
+ "alias": null,
+ "order": 8
+ },
+ "_urls": [
+ {
+ "params": [
+ {
+ "name": "search",
+ "value": "{searchTerms}"
+ },
+ {
+ "name": "sourceid",
+ "value": "Mozilla-search"
+ }
+ ],
+ "rels": [],
+ "resultDomain": "en.wikipedia.org",
+ "template": "https://en.wikipedia.org/wiki/Special:Search"
+ },
+ {
+ "params": [],
+ "rels": [],
+ "resultDomain": "en.wikipedia.org",
+ "template": "https://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}",
+ "type": "application/x-suggestions+json"
+ }
+ ],
+ "_isBuiltin": true,
+ "queryCharset": "UTF-8",
+ "extensionID": "wikipedia@search.mozilla.org",
+ "extensionLocale": "default"
+ }
+ ]
+}
diff --git a/examples/search.json.mozlz4 b/examples/search.json.mozlz4
new file mode 100644
index 0000000..d0da3b0
--- /dev/null
+++ b/examples/search.json.mozlz4
Binary files differ