GM.cookie.list()
to resolve also if called without an argument
GM_registerMenuCommand
entries reappeared until clicked
@require
and @resource
@run-in
support
GM_cookie
should be able to access HttpOnly
cookies
GM_download
GM_registerMenuCommand
issue with non-letter accessKey
s
partitionKey
support to GM_cookie
cookiePartition
support to GM_xmlhttpRequest
@include
and @match
entry is saved the first time
GM_registerMenuCommand
if the command was registered multiple times (e.g. from different frames)
@include
and @match
entry
GM_download
to make the name
parameter optional and implemented extraction from the response headers
DOMNodeInserted
and MutationEvent
events
GM_download
to initiate downloads in parallel again
xhr.responseXML
of HTTP responses
GM_notification
url
property when no onclick listener is set
GM_openInTab
to prevent opening new tabs on event page reloads
GM_download
starts downloads serialized
JavaScript
-mode @sandbox
, which might necessitate cloneInto
and similar functions for unsafeWindow
property modificationgecko_android
necessary for Android compatibility
1.0-0.3
is now considered a lower version number than 1.0
window.showDirectoryPicker
GM_notification
tag
to overwrite existing notifications
GM_notification
url
property to open a new tab on click (can be cancelled by onClick
event via preventDefault
)
url
nor a tag
was specified
GM_registerMenuCommand
id
parameter to update existing commands
GM_registerMenuCommand
title
parameter
GM_registerMenuCommand
to prevent automatic popup closure on click
GM_download
to prevent onload
from firing too frequently
window
addEventListener
to support EventListenerObject
s
GM_xmlhttpRequest
FormData key-value order
getPlatformInfo
response
GM.download(url, name)
functionality
GM_setValue
for binary content
GM_deleteValue
deletes values in the background
undefined
values
document.write
cloneInto
, exportFunction
and createObjectIn
in @sandbox JavaScript
mode
node
argument of GM_addElement
in @sandbox JavaScript
mode
GM_openInTab
's setParent
option works within containers
GM_info.userAgentData
with all properties of NavigatorUAData and some "high entropy" values
GM_unregisterMenuCommand
GM.saveTab
@sandbox
always default to raw
console
methods enumerable again
wrappedJSObject
compatibility option by default
unsafeWindow
in JavaScript
sandbox mode
document-start
scripts
@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
toSource
object prototype compat option
GM_xmlhttpRequest
streams to be canceled
GM_xmlhttpRequest
upload.onprogress support
GM_download.details.conflictAction
(works only in browser API mode)
@resource
SVG handling
GM_setTab
in favor of the documented GM_saveTab
call
userScript API
to execute userscripts
container
ID to GM_info
GM_xmlhttpRequest
multi-account container aware
@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
mode
@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_xmlhttpRequest.responseType
'stream' support
GM_xmlhttpRequest.responseType
is set to 'document'
@grant
as well as header tags in general
GM_notification.highlight
support
GM_xmlhttpRequest
authentication via user and password (including fetch mode)
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
GM_xmlhttpRequest
responses
@require
or @match
statement(like all other scripts)
@include
's favicon can't be loaded
@icon
tag showing the domain's favicon if a URL is available
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_info.isIncognito
by showing a per tab value
GM_download
of blob objectURLs
GM.setClipboard
GM_deleteValue
GM_addScript
by GM_addElement
support to workaround page CSP issues
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
headers to be modified
GM_xmlhttpRequest.finalUrl
available on progress events as well
GM_openInTab.close
when the tab is currently moved
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
Instant Injection
more reliable
GM_tabs
data on tab close
GM_download
events sometimes being fired too early
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
@downloadURL none
support
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_setClipboard
GM_xmlhttpRequest
Instant Injection
mode
@resource
mime type detection
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_xmlhttpRequest
headers to get deleted (by setting to null)
GM_download
support all common details properties at FF >= 52
@require
related errors at the page console
GM_notification
GM_xmlhttpRequest
related issues (finalUrl, cookies, ...)
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
@match
again
GM_xmlhttpRequest
requests (not completely working in fetch mode)
GM_xmlhttpRequest.data
FormData support (Chrome 51+ or Firefox required)
GM_xmlhttpRequest.url
now supports Location and URL objects
GM_xmlhttpRequest
response header format if fetch (== anonymous) is used
GM_xmlhttpRequest
failed due to @connect
@grant none
supersede all other @grants again | thanks to terjanq
document.write/document.open
fixes
document.write
was called
@connect
error messages at the request source tab
GM_xmlhttpRequest
to access same-origin URLs
GM_xmlhttpRequest.fetch/anonymous
encoding
@connect
+ relative URLs
x-userscript-meta
is supported
GM_xmlhttpRequest.headers.cookie
support
@grant none
is set
@connect
dialogs
@run-at context-menu
@connect
dialog twice (due to a redirect) and both times 'Always allow' is choosen | thanks to CptPicard
GM_getTabs
, GM_getTab
and GM_saveTab
being undefined
GM_addStyle
ignore CSPs
@connect
related translations
@connect
related strings
@match
statement to make a script run
no-cache
option set
@grant
statement in order to access GM_* functions
@connect
statements (Allow specials, domains, IPs or localhost)
GM_xmlhttpRequest
binary mode encoding