GM.cookie.list()
to resolve also if called without an argument
GM_registerMenuCommand
entries reappeared until clicked
@require
and @resource
GM_xmlhttpRequest
s are running serialized workaround available
GM_xmlhttpRequest
GM_xmlhttpRequest
retains specified request headers during redirects
GM_xmlhttpRequest
@run-in
support
GM_cookie
should be able to access HttpOnly
cookies
GM_download
GM_xmlhttpRequest
GM_xmlhttpRequest
response header separator
GM_xmlhttpRequest.finalUrl
to include hash components again
@noframes
support in dynamic userScripts mode
GM_xmlhttpRequest
issues
GM_registerMenuCommand
issue with non-letter accessKey
s
GM_xmlhttpRequest
cookie issue
GM_xmlhttpRequest
issues with non-ASCII header values
UserScripts Dynamic Mode
to support real document_start
@sandbox DOM
mode work again
GM_xmlhttpRequest
cookie issue
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
GM_registerMenuCommand
if the command was registered multiple times (e.g. from different frames)
@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
GM_download
to initiate downloads in parallel again
xhr.responseXML
of HTTP responses
GM_notification
url
property when no onclick listener is set
GM_download
starts downloads serialized
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
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
@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
@require
s
@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.
@require
and @resource
content is not updated by default anymore unless the script was updated
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_xmlhttpRequest.responseType
'stream' support
GM_xmlhttpRequest
event timings and make response readable on request errors as well
GM_xmlhttpRequest
to forward status and statusText in fetch mode once available
GM_xmlhttpRequest
mode
GM_getValue
to return undefined
as value
@unwrap
tag
GM_notification.highlight
focus the window as well
GM_registerMenuCommand
callbacks
GM_openInTab
@require
or @resource
couldn't be loaded
eslint-plugin-userscripts
to highlight userscript header issues
GM.notification
(text, title, image, onclick)
GM_notification
sometimes not using the given image
GM_setStyle
/GM_addElement
of document-start
scripts in case of very early script execution
DOMContentLoaded
being fired after the load
event
GM_xmlhttpRequest
authentication via user and password (including fetch mode)
responseText
property if GM_xmlhttpRequest.responseType was set
response
when GM_xmlhttpRequest.responseType
is set to 'document'
@antifeature
support
GM_xmlhttpRequest
responses
GM_download
calls in non-native mode if executed too quickly one after the other
@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
@match
hostname and scheme case insensitive by default
@run-at
context-menu' at some pages and after scripts were enable or disabled
GM_xmlhttpRequest
: Fix exceptions related to responseType
'document' and 'text'
GM_xmlhttpRequest
: Fix fetch-based GM_xmlhttpRequest.details.revalidate
GM_xmlhttpRequest
: Make limited host permissions work for redirected GM_xmlhttpRequest
requests
GM_xmlhttpRequest
: Implement timeout for fetch-based (i.e. anonymous) requests
GM_xmlhttpRequest.abort
and GM_download.abort
GM_download.details.headers
GM.setClipboard
GM_deleteValue
GM.notification
promise never being resolved
@connect
permission request handling
window.onurlchange
support for single-page applications
eslint:recommended
GM_xmlhttpRequest
: onloadend support
GM_xmlhttpRequest
: Fix overrideMimeType of anonymous requests
GM_xmlhttpRequest
: Fix protocol-relative URLs
GM_xmlhttpRequest
: Fix reported status
of requests in progress
GM_registerMenuCommand
is executed
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
@webRequest
tags
GM_xmlhttpRequest
onabort callback
GM_xmlhttpRequest
blob response type property
GM_xmlhttpRequest
header modification at Chrome 72+
GM_webRequest
redirect via from/to
GM_xmlhttpRequest
which could lead to crashes
.*.*
GM_openInTab.name
GM_xmlhttpRequest.finalUrl
at Chrome 70+
GM_xmlhttpRequest
with responseType
'document' or 'json' which could crash the browser
globals
definition work
@resource
and @require
)
zip.js
by JSZip
GM_xmlhttpRequest.responseType
'document' support
GM_registerMenuCommand
usage
GM_notification
click listener
GM_download
events
GM_download.abort
GM_tabs
data on tab close
GM_openInTab.name=
or GM_openInTab.close
was used at more than one tab
@downloadURL none
support
userstyles.org
as known script source and add includes
on installation if no @include
is set
@require
and @resource
content editable (if applicable)
GM.openInTab
setParent
option
window.name
to be set in sandbox mode | thanks to Mahab
@require
and @resource
feature icons a link to the script's externals tab
@connect
, @include
, @match
and @exclude
changes
GM_openInTab
support the setParent
flag
GM_xmlhttpRequest.responseType
'document' support
GM_xmlhttpRequest
@resource
mime type detection
@name:zh_CN
)
Instant Injection
mode
GM_webRequest
and @webRequest
support - please discuss this API here
auxclick
event listener to recognize middle mouse clicks at Chrome 55 and above
@require
related errors at the page console
GM_xmlhttpRequest
headers to get deleted (by setting to null)
GM_xmlhttpRequest.responseHeaders
to contain 'Set-Cookie' items as well
GM_xmlhttpRequests
fast script injection mode
(disabled by default)
fast script injection mode
, because it causes problems with iframes even when disabled
GM_openInTab
now opens tabs in background if no option is given
GM_addStyle
now returns the injected style tag
@match
again
GM_xmlhttpRequest
requests (not completely working in fetch mode)
GM_xmlhttpRequest
response header format if fetch (== anonymous) is used
GM_xmlhttpRequest.headers.cookie
support
GM_xmlhttpRequest.data
FormData support (Chrome 51+ or Firefox required)
GM_xmlhttpRequest.url
now supports Location and URL objects
GM_xmlhttpRequest
failed due to @connect
GM_xmlhttpRequest
to access same-origin URLs
@grant none
supersede all other @grants again | thanks to terjanq
document.write
was called
GM_xmlhttpRequest
to access same-origin URLs
GM_xmlhttpRequest.fetch/anonymous
encoding
@connect
+ relative URLs
x-userscript-meta
is supported
@connect
error messages at the source tab
@connect
dialogs
@grant none
is used
@run-at context-menu
@connect
dialog was triggered twice | thanks to CptPicard
GM_getTabs
, GM_getTab
and GM_saveTab
being undefined
GM_xmlhttpRequest
requests only to predefined domains
@grant
statement in order to access GM_* functions
@match
statement to make a script run
DOMNodeInserted
event repeating for document-start scripts
GM_addStyle
ignore CSPs
GM_xmlhttpRequest
as well
GM_getResourceURL
sometimes returned just a base64 encoded string
no-cache
option set
GM_info.matches
property
GM_xmlhttpRequest.onloadstart
support
GM_info.version
@grant
is not none | thanks to zanetu
GM_xmlhttpRequest
header support as much as possible
document-idle
support
GM_info
that reflects the according user setting
GM_download
support dataURIs
window.name
of windows opened via GM_openInTab
to be set
DOMContentLoaded
events
GM_openInTab
defaults according to issue #209
@match
rules
@match
matches any port of a host
GM_xmlhttpRequest
: fix finalUrl
in case two Tampermonkey extensions are running
finalUrl
always contain fully qualified URLs
@icon
for notifications
GM_xmlhttpRequest
calls that return a large amount of data
@require
order is preserved also if some items need to be loaded first
document.evaluate
calls that don't make a find for elements that aren't part of the DOM
GM_download
invocation with URL and name parameter
window.close
to close all but the last existing tab
@grant
directive is set
@grant none
@resource
s at the internal DB
externals
tab to the script view
@resource
and @require
usage at the dashboard
closed
property and an onclose
listener to the GM_openInTab
return value
@require
or @resource
request timeouts
Accept: text/x-userscript-meta
to the request headers when checking for script updates
@grant none
window.frames
variable
window.location
@match
expressions before adding them to the user excludes
DOMContentLoaded
is fired before the load event
?
if it is set to show the Tamperfire
entries but this feature itself is disabled
GM_unregisterMenuCommand
localStorage
current tab
, new tab
, default
)default
means to create a new tab for the buggy Chrome versions 31 and 32 and to use the current tab otherwise
@resource
of @run-at document-start scripts
GM_xmlhttpRequest
callbacks to use the XMLHttpRequest status enumeration (this.DONE, this.OPENED, ...)
GM_xmlhttpRequest
with responseType option (if set there is still no cross-origin support)
@resource
and @require
retrieval
@resource
s and @require
data a little bit more often
GM_xmlhttpRequest
cookies if the source tab is in incognito mode
@grant none
work if the unsafeWindow retrieval is set to native
@resource
and @require
objects
@resource
URLs
@resource
in association with binary data and 'file://' URIs
@grant none
@grant none
@match
interpretation to allow any URL that is on the given domain (make '*.foo.de' allow 'bar.foo.de' and also 'foo.de')
@resource
s and @requires from being cached again
@match
statement
GM_xmlhttpRequest
headers
GM_xmlhttpRequest
for Chrome 26
GM_xmlhttpRequest
for Chrome < 27 and the 'Native' unsafeWindow retrieval method
@match
to work more like it's stated here: https://developer.chrome.com/docs/extensions/mv2/match_patterns/
@require
and @resource
@grant
tag (including 'none')
GM_xmlhttpRequest
to handle relative paths too
GM_xmlhttpRequest
on pages with a very strict CSP | thanks to Anaximelis @match
statements at the "Sites" column too
GM_openInTab
{ active: _true_|false, insert: true|_false_ }
@resource
- overideMimetype is now used as content-type at response headers
GM_info
for GM compatibility
@resource
tags
@match
and @include statements (newly installed scripts only | uso:89322)
@require
statements that refer to local files (I swear this was working some days ago... -_-)
@match
and @nocompat tag to detect Chrome aware scripts that don't need FF compatiblity
GM_xmlhttpRequest
headers (user-agent, referer, ...) -> needs webRequest permission
GM_openInTab
return a object with a close function
@require
tag... sorry for any inconvenience
GM_notification
implemented
GM_notification
GM_xmlhttpRequest
(thanks to couchymail)
@exclude
tags caused the script to load at no page at all