GM.cookie.list()
在无参数调用时无法正确返回结果的问题
GM_registerMenuCommand
条目在点击前反复出现的问题
@require
和 @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
,使name
参数可选,并从响应头中提取信息
DOMNodeInserted
和MutationEvent
事件的使用
GM_download
,再次并行启动下载
xhr.responseXML
时的故障
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
模式的@sandbox
中,这可能需要cloneInto
和类似函数进行unsafeWindow
属性修改gecko_android
1.0-0.3
现在被认为是比1.0
低的版本号
window.showDirectoryPicker
GM_notification
tag
以覆盖现有通知
GM_notification
url
属性以在点击时打开新标签页(可以通过onClick
事件通过preventDefault
取消)
url
或tag
GM_registerMenuCommand
id
参数以更新现有命令
GM_registerMenuCommand
title
参数
GM_registerMenuCommand
中添加了一个选项,以防止点击时自动关闭弹出窗口
GM_download
以防止onload
触发过于频繁
window
addEventListener
以支持EventListenerObject
s
GM_xmlhttpRequest
FormData键值顺序
getPlatformInfo
响应不正确导致的BSD问题
GM.download(url, name)
GM_setValue
处理二进制内容的问题
GM_deleteValue
在背景中真正删除值的问题
undefined
值
document.write
后出现的问题
@sandbox JavaScript
模式下的cloneInto、exportFunction和createObjectIn能够工作
@sandbox JavaScript
模式下的GM_addElement
的node
参数
GM_openInTab
的setParent
选项在容器内工作
GM_info.userAgentData
,其中包含NavigatorUAData的所有属性以及一些"高熵"值
@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