/crx-googlesource-raw-format

Chrome extension for "GoogleSource" website to enable downloading files from repos in raw format

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Chrome extension for "GoogleSource" website to enable downloading files from repos in raw format

UI:

  • adds a link at the bottom-right corner of the page
    • appears to the right of the already available format options: "text", "json"
    • new format option: "raw"
  • when this link is clicked:
    • the file contents are fetched in base64 format
    • the data is decoded
    • a download dialog appears
    • you can choose where to save the file

URL Querystring Detection:

  • adds support for the URL querystring parameter: ?format=RAW
    • automatic download is triggered when detected at page load

Examples:

Legal: