Giter VIP home page Giter VIP logo

chrome-extension-downloader's Introduction

Summary:

Command-line shell script to download a CRX (chrome extension) for offline installation.

  • available for both Windows cmd and Linux bash shell
  • no installation
    • assumes that a wget binary can be found in PATH

Usage:

crxdl "ID" ["output-path"]
  • "ID"
    • the unique ID of a chrome extension
  • "output-path"
    • the optional filepath where the CRX is saved
    • can either be:
      • an absolute path
      • a filename that is saved in the working directory
    • default value:
      • saves file in the working directory
      • filename is: "$ID.crx"

Example:

To download the CRX: "uBlock Origin"

  • URL of extension:
  • ID of extension (obtained from its URL):
    • cjpalhdlnbpafiamejdnhcphjbkeiagm
  • command to save extension using default output path:
    • crxdl "cjpalhdlnbpafiamejdnhcphjbkeiagm"
      • saved to ⇒ ./cjpalhdlnbpafiamejdnhcphjbkeiagm.crx
  • command to save extension to a non-default filename in the working directory:
    • crxdl "cjpalhdlnbpafiamejdnhcphjbkeiagm" "uBlock.crx"
      • saved to ⇒ ./uBlock.crx
  • command to save extension to a non-default filepath:
    • crxdl "cjpalhdlnbpafiamejdnhcphjbkeiagm" "/save/to/path/uBlock.crx"
      • saved to ⇒ /save/to/path/uBlock.crx

How to (offline) install a saved CRX:

  • open the Extensions page
    • from the address bar:
      • open: chrome://extensions/
    • from the navigation menu:
      • click: the Settings "hamburger" icon
      • select: "More tools" > "Extensions"
  • drag & drop the saved .crx file onto the Extensions page
  • follow the prompts:
    • click: "Add extension"

Credits:

Legal:

chrome-extension-downloader's People

Contributors

warren-bank avatar dopaemon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.