Skip to content

Instantly share code, notes, and snippets.

@mattbague
Last active August 13, 2020 20:31
Show Gist options
  • Save mattbague/0d7b27bdceeaf6d0b54b18ebf82907d8 to your computer and use it in GitHub Desktop.
Save mattbague/0d7b27bdceeaf6d0b54b18ebf82907d8 to your computer and use it in GitHub Desktop.
Chrome Extension DL Script
#!/usr/bin/env bash
CHROME_VERSION="<INSERT_CHROME_VERSION_HERE>"
ID=$1
URL="https://clients2.google.com/service/update2/crx?response=redirect&prodversion=$CHROME_VERSION&acceptformat=crx2,crx3&x=id%3D$ID%26uc"
echo $URL
wget -O "$ID.crx" $URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment