Compare commits

..

10 commits

Author SHA1 Message Date
Max
34b8f3c2db update extensions 2024-12-25 22:44:12 +01:00
Max
396270086c use newer client version in update script 2024-12-25 22:43:59 +01:00
Max
c3108f4c4a fetch ISDCAC from Google 2024-12-25 22:43:01 +01:00
Max
c9ac861e1d update extensions 2023-11-28 00:59:25 +01:00
Max
5d22360d32 update extensions 2023-01-25 23:42:19 +01:00
Max
2e792fe1d6 drop https-everywhere 2023-01-25 23:41:49 +01:00
Max
0c8f5c3804 simplify drv names 2023-01-25 23:39:04 +01:00
Max
c1c72c9188 update extensions 2022-11-15 17:07:58 +01:00
Max
fd46712da8 resist Avast takeover 2022-11-15 17:06:37 +01:00
Max
1936244f0a update script: find first .crx file in github releases 2022-11-15 17:05:47 +01:00
4 changed files with 45 additions and 55 deletions

View file

@ -25,8 +25,8 @@
"updateMethod": "google"
},
{
"name": "i-dont-care-about-cookies",
"id": "fihnjjcciajhdojfnbdddfaoknhalnja",
"name": "i-still-dont-care-about-cookies",
"id": "edibdbjcniadpccecjdfdjjppcpchdlm",
"updateMethod": "google"
},
{
@ -39,11 +39,6 @@
"id": "aghfnjkcakhmadgdomlmlhhaocbkloab",
"updateMethod": "google"
},
{
"name": "https-everywhere",
"id": "gcbommkclmclpchllfjekcdonpmejbdp",
"updateMethod": "google"
},
{
"name": "privacy-badger",
"id": "pkehgijcmpdhfbdbbnkijodmdjhbjlgp",

View file

@ -3,7 +3,7 @@ let
extensions = lib.importJSON ./extensions-generated.json;
in
with crxMeta; stdenv.mkDerivation {
name = "${id}-${name}-${version}";
name = "${name}-${version}";
inherit version;
src = fetchurl { inherit url; inherit sha256; };

View file

@ -3,55 +3,55 @@
"name": "bitwarden",
"id": "nngceckbapebfimnlniiiahkandclblb",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0Zs1iTJ6J9vTk2QruRPuo1tQK_8CUShMkZnxfnT-5dq7FuRaeKdqn9Rnkc7BwIfKAE9MeHIW7kv5aZgcJoKAfOUqKxaI0EOKL2SaTuuF8Xij8eKFwDGUprli3K7ca_1vmMjT54b0OQ76G1Ddvc/extension_2022_5_0_0.crx",
"sha256": "c0f650d35460fe0eb49f29d21cc1f4f480172c614bcb676e687444c8d0d77569",
"version": "2022.5.0"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFu-eToTrV43AlcWkJYtHvF-4ii3gIsU6VQBR_u_mQnKxc6PsjEyLWVpBf-linTEUVJv4J2X_jfZbdaBZkKzrPysmw1n-K2r_2cdgJh5l4NoeqKq_z3OYadL-xg7bafkAMZSmuVu2E3V-CJZ9qtqLnSR33sB9sDeeQ/NNGCECKBAPEBFIMNLNIIIAHKANDCLBLB_2024_12_3_0.crx",
"sha256": "1815a529f0f53e6ce473216ff520fa9dc7c78e585064fc7f400cdbc08747ad36",
"version": "2024.12.3"
},
{
"name": "ublock-origin",
"id": "cjpalhdlnbpafiamejdnhcphjbkeiagm",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0YXszxRx8B9bhxv3KSiocQ6zBTHJdNqh02K5bohhQNylM2GoPj_yMPllcCUEWDXUBhyAxF1DNUU2ohpNlIIY_4p4T8XQOkKB8k_mUlSQSnHW2_tNgDGUprl2XpnXI7Mz80nG-i9glGdvKwwgE8/extension_1_42_4_0.crx",
"sha256": "0fb563db7457545d600b5b8c7d8ca943cb6b3a57c2a64beedbb18b132228e3a0",
"version": "1.42.4"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFsoHq7vBsv30MSGSvjS9srLubewFbMy0VO0dSJUXgHdNSk5Bb4BO5GgQOGJZ-6V1zvGeMMGi9DF4LTVqO-GnARajj8qlIGk4PGO_3CZBdWy54Duv8NQcEfKd_B9iuitAMZSmuVaT5HEAkoacO4E2H3yfQH7GLZdTg/CJPALHDLNBPAFIAMEJDNHCPHJBKEIAGM_1_61_2_0.crx",
"sha256": "08b158515a5288c3f75f29d0fa3dfbc8011bb68cc989902dea49bd2d54594052",
"version": "1.61.2"
},
{
"name": "ipfs-companion",
"id": "nibjojkomfdiaoajekhjakgkdhaomnch",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0bSUlbIna8TMrbJMGnP4fLSkAn6ZAQbx-kcCzqWTPmbBGWsN9onl16jDItpXrG-bacgMHgSIcOIVg2-RojBwwrpIUQTWmCUNPyVRL_1FcRharMnoADGUprloegpIxCocbukLVfYWNblt68eHd4/extension_2_19_1_0.crx",
"sha256": "bfdbb0b756e648c738cfcabe0eef569ecb0c0d181261d84a597665f2fd7ebe52",
"version": "2.19.1"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFvW9zq7bMLbv5bORM7mRQtrTGoqjaMwhq0sY3TxnJ8sWltt_NPPe_9ve9_4q-uYBFevyzwHnOBQ3A5LRj7cOf0VmdKuFh4xXqo_CHmBe_6djFa_dQDGUprlVj1qsrW-dkTkgAgzZ2kaOZsUVow/NIBJOJKOMFDIAOAJEKHJAKGKDHAOMNCH_3_1_0_0.crx",
"sha256": "17c7eafe87c66f27d3f977c134aafb0be5fa1220a04c514664d516129f290631",
"version": "3.1.0"
},
{
"name": "floccus-bookmark-sync",
"id": "fnaicdffflnofjppbagibeoednhnbjhg",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0bZdZ-XaYZ2Uf8Y6l-Jo2f_vmeN-TYS6v7j7tTkiCBA8VzILaJ2gH9Y9Bm_mIgClsw-pMLyhPTJm3lAdJ_f-vQMW_jijtxutIFdXWbINdvRdDDwwQDGUprlza2jtX6m8Z6-DBTRA7sRXvfKq1Q/extension_4_15_0_0.crx",
"sha256": "86b8ec136c3a0c5620c3038439aaa23ba6314194995a8a8c5200518ed0985699",
"version": "4.15.0"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFul_NqxetSt8afr8i506KI14FjJKBuQzvbzFU1Zbvyoqc7wVWO6fqNHeIGQD7pRZDzKti7yhfHa_mpJhOpxeYuRJAZsPJd__f8jy3noI65Nm00GRqTuDB2U1MEqFYzzAMZSmuX_7kxsPpX55vaaS97R2svUeSV-_Q/FNAICDFFFLNOFJPPBAGIBEOEDNHNBJHG_5_4_0_0.crx",
"sha256": "fc39e7aaa745050b3079cc7bb6eb1f825ca5927e3cde63ca2f3b631eda6d037e",
"version": "5.4.0"
},
{
"name": "h264ify",
"id": "aleakchihdccplidncghkekgioiakgal",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0YHS60qC0F8qaNLxnxIVw6WAjIq9paudvFygME2kLOz4iCMGBtvK5na2dpnYtgudEBR9D8kxw-70lGtXZhCW59biQ-nbsmE3lTb9mP6tTt3dN6LAMZSmuUuKrWDEL9VPVRBwmUQ-Yyz5m7adg/extension_1_1_0_0.crx",
"sha256": "7eb40708580d9969cd534a6c570b5a3b5d96b637d978fe3e1f1fe20124b7dd42",
"version": "1.1.0"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFs-777YjfG7G63-tMcL9f19LJb3yNBbP7eELiKKovcGZBDjth9BVDC4kZ3y8bODJ0hVHIuYobQlBY3dFUo-1tVAQefCfiOoHFugNmaIc7wMrpbAch2SC_c5MO-J7cQAxlKa5YaoJDG59LsAqxNf_Vy8kk22K8KZ/ALEAKCHIHDCCPLIDNCGHKEKGIOIAKGAL_2_0_1_0.crx",
"sha256": "2007b59ca6741d4e9552b51f25a19010041a7e775020cd0add78607d75f8deec",
"version": "2.0.1"
},
{
"name": "i-dont-care-about-cookies",
"id": "fihnjjcciajhdojfnbdddfaoknhalnja",
"name": "i-still-dont-care-about-cookies",
"id": "edibdbjcniadpccecjdfdjjppcpchdlm",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0bfn7iqByS_6_hARlnBrn5wHmdaQDYgJSXyceTA0Gp5HiYy53H8uDgJyieR-LYH5xDEEte-aGETTq3xoGdVOBObGrvxn0_W7pCQkFQF4qJfMZYEAMZSmuXh-Pf2_7rUk2a4F-0eSFeDxl_U0Q/extension_3_4_0_0.crx",
"sha256": "f16d9a23d5c5bb1003fffd16c0070fd1bc14cdae3d2bee7720899181f92061ca",
"version": "3.4.0"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFuXjt9kKZqZPWDUMBO3P6fMwGG6FncItth01oPxcHsm9mTpAuFDRuwQN9cjKo3ey4roLFso_0lK_zT-UwZ5Nv_AhnvAIXm2b2JkosnL5Z3qZebIAMZSmuUT5GO2eqq-99THEgYJmz6J1l84GA/EDIBDBJCNIADPCCECJDFDJJPPCPCHDLM_1_1_4_0.crx",
"sha256": "52bfed3b099935f535df2b6c7383f382bec5dda27111da55fc483b2559676786",
"version": "1.1.4"
},
{
"name": "gsconnect",
"id": "jfnifeihccihocjbfcfhicmmgpjicaec",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0aJT0PWvds8mO2YyCICn8Tq7U8B7ZfyEVyyRsxMHm4OscccbwG9M4xkqI44q4wxtl42wWqxjOtX8Z8yIYqM6l26-brO3jhtAUVt2N70mgd1vpJJAMZSmuXMdEH_76xrYZC2YGw_8NclFoMh2Q/extension_7_0_0_0.crx",
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFsL3mXYg33Fbn2dfLmVe4zRi-SftlZ4erMNSgc6V6wcGgmU56hGz65aNGv2GiOEE9MY1qVJ8Ci4BCeuXJMVvI1JXm9yUAAe4k20Mb4EJnYTFD41AMZSmuUdt6iNhnzbMjin8bG4jt3_N7IpLA/JFNIFEIHCCIHOCJBFCFHICMMGPJICAEC_7_0_0_0.crx",
"sha256": "bd1f8cd35e6a7c9a65b301d29e31d55350656fbb424e1ee856b81fb1bf4aa719",
"version": "7"
},
@ -59,57 +59,49 @@
"name": "theme-just-black",
"id": "aghfnjkcakhmadgdomlmlhhaocbkloab",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0Za0JYgsxarqA-Hd7VRjTafKSLSutdKL4uDHeqHpPJJYlxXkuZDyXTx0O7-YGieTOdj6jMEQPnS0kIt9EiCqbb2b4FbT_cUK9zWUGfoeywV5iAAxlKa5W0FGxcPuXc0VaBITmjj_tbgwwEr/extension_3_0_0_0.crx",
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFtrn9G0PkQCj5tabgU2H4QwT-i6bOiPC8XdrdGbbbR9dq4r0_kXjPKMrLIdGthZCaPXmtFqBRS_LgFkkiMQfxRLpZsRGWFEgonxoMY-2saa-y8AxlKa5dV4dFw-3Qy9LaOFLogCvpfGqYru/AGHFNJKCAKHMADGDOMLMLHHAOCBKLOAB_3_0_0_0.crx",
"sha256": "97146df4dd16804575c8599cea9e7f49412f4e369f64c631e38c09bf111c7bb3",
"version": "3"
},
{
"name": "https-everywhere",
"id": "gcbommkclmclpchllfjekcdonpmejbdp",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0beCApDSF22vrnN5MDDObYeJKW134F3zL4Ig4qFj7KQiO7T1_tsRv5vsevsAnWDeCxVtamqy1v8JCAC2c4iDwGLN2H0Ky4jgOgHYRVA-L_GyIGLAMZSmuVuN_qBrvGr0PuZZ202YZKYTt_rFQ/extension_2022_5_24_0.crx",
"sha256": "ad164edec29ab9f5cbbbf3ad6c834ae62e5f103d343639795eff1124fa2f27c5",
"version": "2022.5.24"
},
{
"name": "privacy-badger",
"id": "pkehgijcmpdhfbdbbnkijodmdjhbjlgp",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0awb0ySAE43Zi1yKuOuc9STCk4FS2mXfV8hxrZl7qHJqhhH7RtMbHnfII41Ycl70t9ebaUzyvNkedN_RuBGneX5vZAiRI_LEiuBIF_Zdlcm871HAMZSmuUKBN3221OFzzltXu0LghutUyjrlw/extension_2021_11_23_1.crx",
"sha256": "e61c795a04cccc4180ef24e786cf8b2da16e4655951be882c4ca06d00f16f971",
"version": "2021.11.23.1"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFsmtuSq3zQBylL0sRjINHa-Zylumniyv2H9EUAVGOXiUzi-UO3suumlvKsEazcFpNpuU0JRscM9XzEVKYz-MWz027-7W9Lmf-GtLW2C1mOjAxOidG0eDXBbiwCvcNkAxlKa5VZKlnhVcF4YDxSilE2Pz_krjk6d/PKEHGIJCMPDHFBDBBNKIJODMDJHBJLGP_2024_7_17_0.crx",
"sha256": "1f0483a03a92466bbdc47c05eac81931ea6d54f32851f7c8e55cb62ff651584b",
"version": "2024.7.17"
},
{
"name": "decentraleyes",
"id": "ldpochfccmkkmhdbclfhpagapcfdljkj",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0aOevX4OK9kSJ4NWdnTCWs9jtKh4cw13Usuet3ZGhrfJk4OLSZxWvcPrB-aUmO22BDOazpUWbthtn-W6fC40Y1X23GwDyBulcw9423eK_byuVLGOwDGUprlrWP-dynt89Oc0QzJAa9L63cLGV0/extension_2_0_17_0.crx",
"sha256": "f5fdaaecc0a7f397e5a46aaeb4c6bf868c06254ea803515767cb8febc98deb64",
"version": "2.0.17"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFsZrApiCTn6A1edkrMv1RsK5EVzykiFOgbRTvlUmV0_STj9MY0mWGOZm8YPcI8XHBO9hWa0MiymX3E7Oz7W34DbhW414-hqKihtN3PC3iiDj3nyOEzPSbXrwBnPZapyAMZSmuUqPIh0XdQ4FAc9NQ65sOv837d4Og/LDPOCHFCCMKKMHDBCLFHPAGAPCFDLJKJ_3_0_0_0.crx",
"sha256": "9146c4f1c349e86b74373992c9d8842528cc7349a05bc8c8f7410df73d0c13a5",
"version": "3.0.0"
},
{
"name": "localcdn",
"id": "njdfdhgcmkocbgbhcioffdbicglldapd",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0Z4w-4FS-LmUMyABly-3PhWaT-XIaEygTlCjU6B8n62QGQNfkUGabZUoOk8gGkcQ1VhZhhFUzW0pxndYywnxEbnheK7ZjwTDmr3DuwbSPxvh9wHLQDGUprlbYOIROKjqAQxYf-_4FF6uwRjang/extension_2_6_25_0.crx",
"sha256": "d7e663309c6554d6a6a991cc8644d482e5d7d725e9298b58b48599b199426463",
"version": "2.6.25"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFv5QTDjLdM02mIobTMKXwzbqckzNBt5YIInLgem9iWdrP9k1H0pt0G-4AeNouE8m6oaDtUCOiuGKIOsi1r8E_HRELSIAuusmeZ3RWA7ZQu4AejDwuRI5NiIl8D0nKFKAMZSmuUGmynK10JDcgStjYznHCXXoHtBPA/NJDFDHGCMKOCBGBHCIOFFDBICGLLDAPD_2_6_73_0.crx",
"sha256": "ea3a5a416e5a3b3a4577d86bab6d7e6d95834485836ace799ad6ed830df21e5a",
"version": "2.6.73"
},
{
"name": "sponsorblock",
"id": "mnjggcdmjocbbbhaepdhchncahnbgone",
"updateMethod": "google",
"url": "https://clients2.googleusercontent.com/crx/blobs/Acy1k0acix4snQWjLgf3Xao7UVaQYDWuOOKBADct5c1M2aowvvYyZagy4sxYMMXWbIRoL_kvRY7Xu-WDkKwz70X_OonZOCt5H7pTaV4xT0oBq0-W_-00AMZSmuWT2Oc0s7IgrHQdQRfvJlJiPW2a3Q/extension_4_5_1_0.crx",
"sha256": "520d3e3746663cf9914c110d955e7590c6a8e87563c765c6499e3e1a2c51d9d7",
"version": "4.5.1"
"url": "https://clients2.googleusercontent.com/crx/blobs/AW50ZFsNybXHq_fY3rFhQ6_vgc7KjMa2o8dFFznQ2ph9rBE4twRsepDkoUj6SiJ_qJcwH08mGulzzSsezeakCXVXYspL81mwS0cEtB6k2OwJdiaJRgop9ADi5eEIln_aWHUAxlKa5ZOFwiMri3aXplv12_JNNzJ_Fh5z/MNJGGCDMJOCBBBHAEPDHCHNCAHNBGONE_5_10_4_0.crx",
"sha256": "9a64414f13bd7e29983e34c78bc2e02a3b36f7d66d000916141455a4c0768f5d",
"version": "5.10.4"
},
{
"name": "chromium-web-store",
"id": "ocaahdebbfolfmndjeplogmgcagdmblk",
"updateMethod": "github",
"updateUrl": "https://api.github.com/repos/NeverDecaf/chromium-web-store/releases",
"url": "https://github.com/NeverDecaf/chromium-web-store/releases/download/v1.4.4.3/Chromium.Web.Store.crx",
"sha256": "8adf0cadfad71b823dd36c3a7cfacd75812b56af89ab889308806d5fc53e12c5",
"version": "1.4.4.3"
"url": "https://github.com/NeverDecaf/chromium-web-store/releases/download/v1.5.4.3/Chromium.Web.Store.crx",
"sha256": "80a01caef9f12e1f6032b693157e3346c52e6b8388fa56a4e75829208dbd77c8",
"version": "1.5.4.3"
}
]

View file

@ -18,7 +18,10 @@ for ext in exts:
if ext["updateMethod"] == "github":
with urlopen(ext["updateUrl"]) as r:
latest = json.load(r)[0]
ext["url"] = latest["assets"][0]["browser_download_url"]
for asset in latest["assets"]:
if asset["browser_download_url"].endswith(".crx"):
ext["url"] = asset["browser_download_url"]
break
with urlopen(ext["url"]) as blob:
sha256 = hashlib.new("SHA256")
if blob.status == 200:
@ -32,7 +35,7 @@ for ext in exts:
ext["sha256"] = sha256.hexdigest().lower()
ext["version"] = latest["tag_name"].lstrip("v")
elif ext["updateMethod"] == "google":
resp = urlopen(f"https://clients2.google.com/service/update2/crx?response=updatecheck&acceptformat=crx2,crx3&prodversion=89.0.0.0&x=id%3D{ext['id']}%26uc")
resp = urlopen(f"https://clients2.google.com/service/update2/crx?response=updatecheck&acceptformat=crx2,crx3&prodversion=130.0.0.0&x=id%3D{ext['id']}%26uc")
xml = resp.read()
xmltree = ET.fromstring(xml)
app = xmltree.find("{http://www.google.com/update2/response}app").find("{http://www.google.com/update2/response}updatecheck")