Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DownloadSettings

Settings for a GM_download call

Hierarchy

  • DownloadSettings

Index

Properties

Optional headers

headers: GMHeaders

Headers for the XHR

Optional name

name: string

The name of the downloaded files

Optional onerror

onerror: function

A function to call on error

Type declaration

    • (e: any): void
    • Parameters

      • e: any

      Returns void

Optional onload

onload: function

A function to call when downloaded

Type declaration

    • (): void
    • Returns void

Optional url

url: string

The URL to download

Generated using TypeDoc