firefox: remove some unnecessary fields from search.json
This commit is contained in:
@@ -290,6 +290,11 @@ in
|
|||||||
# Mozilla uses a custom compression scheme for `search.json` because they're ASSHOLES.
|
# Mozilla uses a custom compression scheme for `search.json` because they're ASSHOLES.
|
||||||
# seriously, why do you need to compress this 2 KiB file? and then why do you need to INVENT YOUR OWN COMPRESSION FORMAT FOR THAT?
|
# seriously, why do you need to compress this 2 KiB file? and then why do you need to INVENT YOUR OWN COMPRESSION FORMAT FOR THAT?
|
||||||
# GET YOUR HEAD OUT OF YOUR ASS.
|
# GET YOUR HEAD OUT OF YOUR ASS.
|
||||||
|
#
|
||||||
|
# search.json fields:
|
||||||
|
# - `metaData.defaultEngineIdHash`: this is a digest of the defaultEngineId _value_, plus some legalese text;
|
||||||
|
# compute this either by manually updating the search engine in firefox and seeing what it generates,
|
||||||
|
# or, see the code for it in <repo:nix-community/home-manager>
|
||||||
name = "search.json.mozlz4";
|
name = "search.json.mozlz4";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
nativeBuildInputs = with pkgs; [ mozlz4a ];
|
nativeBuildInputs = with pkgs; [ mozlz4a ];
|
||||||
|
@@ -1,52 +1,10 @@
|
|||||||
{
|
{
|
||||||
"version": 12,
|
"version": 12,
|
||||||
"engines": [
|
"engines": [
|
||||||
{
|
|
||||||
"id": "google",
|
|
||||||
"_name": "Google",
|
|
||||||
"_isAppProvided": true,
|
|
||||||
"_metaData": {
|
|
||||||
"order": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "bing",
|
|
||||||
"_name": "Bing",
|
|
||||||
"_isAppProvided": true,
|
|
||||||
"_metaData": {
|
|
||||||
"order": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "ddg",
|
|
||||||
"_name": "DuckDuckGo",
|
|
||||||
"_isAppProvided": true,
|
|
||||||
"_metaData": {
|
|
||||||
"order": 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "wikipedia",
|
|
||||||
"_name": "Wikipedia (en)",
|
|
||||||
"_isAppProvided": true,
|
|
||||||
"_metaData": {
|
|
||||||
"order": 4
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "search@kagi.comdefault",
|
"id": "search@kagi.comdefault",
|
||||||
"_name": "Kagi",
|
"_name": "Kagi",
|
||||||
"_loadPath": "[addon]search@kagi.com",
|
"_loadPath": "[addon]search@kagi.com",
|
||||||
"_iconMapObj": {
|
|
||||||
"16": "moz-extension://8866e489-faf9-4122-a9a4-4845afbc578f/icons/icon_16px.png",
|
|
||||||
"32": "moz-extension://8866e489-faf9-4122-a9a4-4845afbc578f/icons/icon_32px.png",
|
|
||||||
"48": "moz-extension://8866e489-faf9-4122-a9a4-4845afbc578f/icons/favicon-48.png",
|
|
||||||
"180": "moz-extension://8866e489-faf9-4122-a9a4-4845afbc578f/icons/icon_180px.png"
|
|
||||||
},
|
|
||||||
"_metaData": {
|
|
||||||
"order": 5,
|
|
||||||
"loadPathHash": "cvZ7LzXkcfkHdmbuYpDRqhvLSfZPgPO0CxObgIPkYU0="
|
|
||||||
},
|
|
||||||
"_urls": [
|
"_urls": [
|
||||||
{
|
{
|
||||||
"params": [],
|
"params": [],
|
||||||
|
Reference in New Issue
Block a user