GM_download
in browser API mode
Yes
for backward compatiblity
GM_download
and GM_xmlhttpRequest
GM_xmlhttpRequest
Blob
and File
download capabilities to GM_download
console
to make its properties configurable
onurlchange
so it fires on hash changes triggered by pushState
ArrayBuffer
and UInt8Array
objects via GM_xmlhttpRequest
$DATETIME$
variable for use in script templates
Set-Cookie
headers are present
window.location
now navigates via background context
GM.cookie.list()
to resolve also if called without an argument
GM_registerMenuCommand
entries reappeared until clicked
@require
and @resource
GM_xmlhttpRequest
GM_xmlhttpRequest
retains specified request headers during redirects
@run-in
support
GM_cookie
should be able to access HttpOnly
cookies
GM_xmlhttpRequest
response header separator
GM_download
GM_xmlhttpRequest
GM_xmlhttpRequest.finalUrl
to include hash components again
GM_registerMenuCommand
issue with non-letter accessKey
s
GM_xmlhttpRequest
cookie issue
GM_xmlhttpRequest
cookie issues
GM_registerMenuCommand
if the command was registered multiple times (e.g. from different frames)
GM_cookie
for all versions (HttpOnly
cookie access still only at the beta versions)
partitionKey
support to GM_cookie
cookiePartition
support to GM_xmlhttpRequest
@include
and @match
entry is saved the first time
@include
and @match
entry
Userscript URL detection
to Legacy
GM_webRequest
is not (yet) supported in Manifest V3
GM_xmlhttpRequest
fires only one progress event (you can use responseType
stream
for now)
UserScript API Dynamic
mode scripts that are using a RegExp @require
cause overhead by being injected into every frame
GM_download
to make the name
parameter optional and implemented extraction from the response headers
DOMNodeInserted
and MutationEvent
events
url
property of GM_notification
when no onclick listener is set
GM_download
to initiate downloads in parallel again
xhr.responseXML
of HTTP responses
GM_openInTab
to prevent opening new tabs on event page reloads
window.showDirectoryPicker
gecko_android
id
parameter in GM_registerMenuCommand
to update existing commands
tag
in GM_notification
to overwrite existing notifications
url
property in GM_notification
to open a new tab on click (can be cancelled by onClick
event via preventDefault
)
url
nor a tag
was specified
GM_download
to prevent frequent triggering of onload
1.0-0.3
is now considered a lower version number than 1.0
window
addEventListener
to support EventListenerObject
s
title
option to GM_registerMenuCommand
JavaScript
-mode @sandbox
, which may require cloneInto
and friends for unsafeWindow
property modificationGM_registerMenuCommand
to prevent automatic closing of the popup on click
GM_xmlhttpRequest
FormData key-value order
getPlatformInfo
response
document.write
document.write
was called
GM_xhr.redirect
is set to manual
Add GM functions to this or window
GM_xhr.redirect
option support with one of follow
, error
or manual
as possible value
node
argument of GM_addElement
in @sandbox JavaScript
mode
GM_info.userAgent
in favor of GM_info.userAgentData
with all properties of NavigatorUAData and some "high entropy" values
GM.download(url, name)
GM_info.userAgent
GM_openInTab
's setParent
option work within containers
GM_setValue
with binary content
GM_deleteValue
to really delete values also in background
undefined
values as well
@sandbox JavaScript
mode work
wrappedJSObject
compatibility option by default
JavaScript
sandbox mode
GM_unregisterMenuCommand
GM.saveTab
@sandbox
always default to raw
console
methods enumerable again
document-start
scripts
@resource
SVG handling
GM_xmlhttpRequest
streams to be canceled
GM_download.details.conflictAction
(works only in browser API mode)
GM_xmlhttpRequest
upload.onprogress support
GM_xmlhttpRequest
multi-account container aware
@require
s
@sandbox
support with possible values 'raw', 'JavaScript' and 'DOM'@sandbox
is omitted.unsafeWindow
access. At Firefox a special context is created which should also bypass all remaining CSP issues. Execution in page context is used as fallback at other browsers.unsafeWindow
access. If enabled these scripts are executed inside the extension context or at any other enabled context otherwise.document.addEventListener('DOMContentLoaded', ...)
delayed event dispatching for document-start
scripts executed later than the event
userScript API
to execute userscripts
container
ID to GM_info
@require
s
@require
and @resource
content is not updated by default anymore unless the script was updated
@include
a little bit more like @match
if ://
is present and add an option to control @include
's behavior@include *://tmnk.net/*
to match pages at tmnk.net
only, but it also matches https://example.com/?http://tmnk.net/
.@include
s that contain a ://
are now interpreted a little bit different. Every *
before ://
now only matches the URL scheme. Also, if ://
is directly followed by a *
or a /
somewhere, then the first *
or all until /
are applied to the hostname only.
importScripts
force reloads the page
GM_getValue
and GM_xmlhttpRequest
response prototype confusion
GM_setValue
and include enumerable array values of the prototype chain as well
@connect *
work with requests to IPs and hostnames (like localhost) again
GM_getValue
to return undefined
as value
@unwrap
tag
GM_xmlhttpRequest
to forward status and statusText in fetch mode once available
GM_xmlhttpRequest
JSON array response
GM_xmlhttpRequest
mode
@grant
as well as header tags in general
@require
or @resource
couldn't be loaded
GM_xmlhttpRequest
event timings and make response readable on request errors as well
GM_notification.highlight
focus the window as well
GM_registerMenuCommand
callbacks
GM_openInTab
GM_notification.highlight
support
GM_xmlhttpRequest.responseType
'stream' support
GM_xmlhttpRequest.responseType
is set to 'document'
GM_notification
sometimes not using the given image
DOMContentLoaded
being fired after the load
event
GM_setStyle
/GM_addElement
of document-start
scripts in case of very early script execution
GM_xmlhttpRequest
made from container tabs
@include
's favicon can't be loaded
GM_download
calls in non-native mode if executed too quickly one after the other
GM_xmlhttpRequest
issues in combination with page CSPs
GM_xmlhttpRequest
responses
GM_xmlhttpRequest
data might be available at readyState 3 now
GM_info.version
being undefined
@antifeature
support
@icon
tag showing the domain's favicon if a URL is available
@require
or @match
statement(like all other scripts)
GM_xmlhttpRequest
not send Tampermonkey's origin by default
@match
hostname and scheme case insensitive by default
GM_xmlhttpRequest
exceptions related to responseType 'document' and 'text'
@connect
permission request handling
GM_xmlhttpRequest
requests
GM_download.details.headers
GM_cookie
/GM_xmlhttpRequest
always use the source tab's cookie store ID
GM.setClipboard
GM_deleteValue
GM_addScript
by GM_addElement
support to workaround page CSP issues
GM_info.isIncognito
by showing a per tab value
GM_download
of blob objectURLs
eslint:recommended
GM_xmlhttpRequest
: Fix protocol-relative URLs
GM_xmlhttpRequest
: Fix reported status
of requests in progress
GM_info.isFirstPartyIsolation
GM_registerMenuCommand
is executed
GM_notification.onclick
being called too often
GM_xmlhttpRequest
from incognito tabs
GM_xmlhttpRequest.finalUrl
available on progress events as well
GM_notification
silent option
GM_notification
onclose listener
GM_notification
user interaction mandatory if possible
GM_xmlhttpRequest
onabort callback
GM_xmlhttpRequest
blob response type property
GM_openInTab
, ...)
GM_webRequest
redirect via from/to
GM_xmlhttpRequest
which could lead to crashes
GM_openInTab.name
.*.*
tampermonkey.net
GM_xmlhttpRequest.responseType
'document' support
GM_registerMenuCommand
usage
globals
definition work
@resource
and @require
)
zip.js
by JSZip
GM_tabs
data on tab close
Instant Injection
more reliable
GM_download
events sometimes being fired too early
@downloadURL none
support
GM_notification
click listener
GM_download
progress events
GM_download.abort
GM_openInTab.name=
or GM_openInTab.close
was used at more than one tab
GM.openInTab
setParent
option
@require
and @resource
feature icons a link to the script's externals tab
@require
and @resource
content editable (if applicable)
userstyles.org
as known script source and add includes
on installation if no @include
is set
window.name
to be set in sandbox mode | thanks to Mahab
GM.API
names and make more functions return promises
dom.storage.enabled
or cookie storing is disabled
GM_xmlhttpRequest
Instant Injection
mode
@resource
mime type detection
GM_setClipboard
GM_*
API usage stats
Instant Injection
mode
@name:zh_CN
)
GM_xmlhttpRequest.responseType
'document' support
GM_openInTab
support the setParent
flag
@connect
, @include
, @match
and @exclude
changes | thanks to nux
GM_webRequest
and @webRequest
support - please discuss this API here
GM_download
support all common details properties at FF >= 52
GM_xmlhttpRequest
headers to get deleted (by setting to null)
GM_notification
GM_xmlhttpRequest
related issues (finalUrl, cookies, ...)
@require
related errors at the page console
GM_xmlhttpRequest.responseHeaders
to contain 'Set-Cookie' items as well
auxclick
event listener to recognize middle mouse clicks at Chrome 55
fast script injection mode
(disabled by default)
fast script injection mode
, because it causes problems with iframes even when disabled