How to download a CRX file from the Chrome web store for a given ID?

前端 未结 10 1973
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 15:36

I\'d like to download the .crx file of an extension from webstore, I use fiddler to analyze the network request when I install an extension from webstore and got it.
For

相关标签:
10条回答
  • 2020-11-29 16:29

    You can use the below URL template,

    https://clients2.google.com/service/update2/crx?response=redirect&prodversion=[PRODVERSION]&x=id%3D[EXTENSIONID]%26uc
    

    The PRODVERSION is the Chrome version. (get it from settings -> Help -> About Google Chrome). Ex : Version 69.0.3497.100 (Official Build) (64-bit)

    The EXTENSIONID is the id for the extension. Ex : Here is a sample plugin, https://chrome.google.com/webstore/detail/jetbrains-ide-support/hmhgeddbohgjknpmjagkdomcpobmllji?hl=en the id is hmhgeddbohgjknpmjagkdomcpobmllji

    So sample request to download will be https://clients2.google.com/service/update2/crx?response=redirect&prodversion=69.0.3497.100&x=id%3Dhmhgeddbohgjknpmjagkdomcpobmllji%26uc

    0 讨论(0)
  • 2020-11-29 16:31

    Create a bookmark add the javascript function as the address. Browse to the chrome extension you want to download then click on the bookmark and it should start downloading.

    javascript:(function(){
        var pathname = location.pathname;pathArray = pathname.split("/");   
        location = ("http://clients2.google.com/service/update2/crx?response=redirect&x=id"+"%" + "3D" + pathArray[pathArray.length -1]+"%" + "26uc%" + "26lang%" + "3Den-US&prod=chrome"); })();
    

    Thanks

    0 讨论(0)
  • 2020-11-29 16:32

    None of the manually ways in this post works for me so i searched for a URL to download the extension direct. Find this and works perfect for me.

    https://clients2.google.com/service/update2/crx?response=redirect&prodversion=49.0&x=id%3D###EXTENSION_ID###%26installsource%3Dondemand%26uc
    

    You must replace ###EXTENSION_ID### with the extension id from the chrome shop. Its part of the URL.

    Example Google Translate Extension:

    https://clients2.google.com/service/update2/crx?response=redirect&prodversion=49.0&x=id%3Daapbdbdomjkkjkaonfhkkikfgjllcleb%26installsource%3Dondemand%26uc
    
    0 讨论(0)
  • 2020-11-29 16:39

    There's this website just to do exactly that:

    http://chrome-extension-downloader.com/

    0 讨论(0)
提交回复
热议问题