zoukankan      html  css  js  c++  java
  • How does Chrome Extension crx Downloader work? ——— From crxdown.com

    How does Chrome Extension crx Downloader work?

    Home >> blog >> How does Chrome Extension crx Downloader work?

    Author:admin    Date:11 2017/07    Cotyright©crxDown.com


    Generally

    Even Chrome has to connect to a server and download the extension for installing it into your Chrome Browser.

    The URL for getting the extension directly is the following: 

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

    You have to replace the 4 tildes (~~~~) with the ID of the extension you want to download.

    For example if you want to download Google Maps you can find the extension on: 

    https://chrome.google.com/webstore/detail/google-maps/lneaknkopdijkpnocmklfnjbeapigfbh

    The extracted ID of Google Maps is lneaknkopdijkpnocmklfnjbeapigfbh.The direct download URL for Google Maps will be:

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

    The downloaded file will always be named as extension_[version].crx. In our example with Google Maps it is extension_5_2_7.crx, because the current version of Google Maps is 5.2.7.

    What is Chrome-Extension-Downloader doing?

    1. Check if it's a valid Chrome Web Store url
    2. Parse the ID of the given URL
    3. Check if the given ID is valid
    4. Parse the name of the extension from Chrome Web Store
    5. Send the extension file with corrected filename directly to you.

    Relate:


    --------蓝天上的云_转载请注明出处.
  • 相关阅读:
    Docker——WIN7 安装 Docker实战与入门
    TensorFlow——dropout和正则化的相关方法
    TensorFlow——学习率衰减的使用方法
    TensorFlow——MNIST手写数据集
    TensorFlow——分布式的TensorFlow运行环境
    类加载器
    死亡的对象
    spring boot整合kafka
    Java验证手机号
    类生命周期
  • 原文地址:https://www.cnblogs.com/yucloud/p/11776251.html
Copyright © 2011-2022 走看看