![Keepvid pro extension to tampermonkey](https://kumkoniak.com/52.jpg)
- onprogress callback to be executed if the request made some progress.
- onloadstart callback to be executed on load start, provides access to the stream object if responseType is set to "stream".
- onerror callback to be executed if the request ended up with an error.
- onabort callback to be executed if the request was aborted.
- (at Chrome this causes details.timeout and xhr.onprogress to not work and makes xhr.onreadystatechange receive only readyState 4 events)
- fetch (beta) use a fetch instead of a xhr request.
-
anonymous don't send cookies with the requests (please see the fetch notes).overrideMimeType a MIME type for the request.responseType one of arraybuffer, blob, json or stream.context a property which will be added to the response object.revalidate revalidate maybe cached content.binary send the data string in binary mode.cookie a cookie to be patched into the sent cookie set.
- data some string to send via a POST request.
- (some special headers are not supported by Safari and Android browsers)
- for backward compatibility to Scriptish tags are interpreted as well.
- both, the initial and the final URL will be checked!.
- Users can also whitelist all requests by adding '*' to the user domain whitelist at the script settings tab. If the user clicks at this button then all future requests will be permitted automatically. By doing so Tampermonkey will still ask the user whether the next connection to a not mentioned domain is allowed, but also offer a "Always allow all domains" button. This way the confirmation dialog can be avoided for most of the users.Īdditionally add *" to the script.
If it's not possible to declare all domains a userscript might connect to then it's a good practice to do the following:ĭeclare all known or at least all common domains that might be connected by the script.
self to whitelist the domain the script is currently running at.domains like (this will also allow all sub-domains).