Tampermonkey® by Jan Biniok

近期变动

5.3.2
2024-10-29
General
修复了监听菜单命令快捷键的问题
解决了 GM_registerMenuCommand 条目在点击前反复出现的问题
修复了 @require@resource 中的相对路径问题
Locales
更新了乌克兰语翻译 | 感谢 click0
5.3.1
2024-10-11
General
Tag support
Added @run-in support
Added a setting to control whether GM_cookie should be able to access HttpOnly cookies
Added button to force update externals
Added multi-value support for storage methods
Fixed header-derived filenames in GM_download
Reworked counting of executed script instances
Enhanced back/forward cache navigation handling
Fixed an GM_registerMenuCommand issue with non-letter accessKeys
Added partitionKey support to GM_cookie
Added cookiePartition support to GM_xmlhttpRequest
Added a warning message when a script without @include and @match entry is saved the first time
Fixed storage change listeners after clicking a download link
Fixed issues with GM_registerMenuCommand if the command was registered multiple times (e.g. from different frames)
UI
Added a button to disable script updates at the update dialog
Improved editor search functionality
Fixed code selection near the top and bottom of the editor
Fixed editor height issue in mobile views
Show an error icon at scripts without any @include and @match entry
Sync
Fixed synchronization issues with WebDAV
Locales
Updated Ukrainian translation | thanks to Postrediori
Updated Portuguese-Brazil translation | thanks to igorruckert
Updated Italian translation | thanks to bovirus
Updated Japanese translation | thanks to shirayuki
5.1.1
2024-04-22
General
引入权限编辑器以增强主机权限管理
更新了GM_download,使name参数可选,并从响应头中提取信息
移除了已废弃的DOMNodeInsertedMutationEvent事件的使用
Firefox
解决了菜单命令被立即取消注册的问题
Locales
更新了意大利语翻译 | 感谢 bovirus
更新了巴西葡萄牙语翻译 | 感谢 igorruckert
5.1.0
2024-03-15
General
更新了GM_download,再次并行启动下载
解决了访问HTTP响应的xhr.responseXML时的故障
UI
修复了'立即同步'按钮
在编辑器中修正了'保存到磁盘'按钮
Sync
为WebDAV实施匿名请求以防止浏览器会话被覆盖
修复了在意外的现有文件夹结构情况下基于WebDAV的同步
重新工作以减少一些认证请求
Firefox
增强了移动设备检测
禁用了意外的调试记录
修复了菜单命令以在后台重新启动后始终调用正确的回调
Locales
更新了丹麦语翻译 | 感谢 jhertel
更新了简体中文翻译 | 感谢 PaperStrike
5.0.1
2024-01-03
General
Resolved issue with GM_notification url property when no onclick listener is set
No longer displaying script modification conflict warnings when there's no conflict
Resolved an issue with Instant Injection mode when a script requires a local file
Addressed problems related to script installation from certain Gitlab URLs
Removed warning about script updates being disabled upon script modification
UI
Restored application of custom CSS to installation pages
Resolved quirks in the darker theme
Corrected 'replace all' functionality in code editor for certain strings
Firefox
Support for the Tampermonkey Editors extension, which will enable userscript editing at Visual Studio Code Online (vscode.dev)
Modified GM_openInTab to prevent opening new tabs on event page reloads
Fixed crashes when 'Never remember history' or 'Always use Private Browsing Mode' is enabled
Locales
Updated Russian translation | thanks to adem4ik
Updated Vietnamese translation | thanks to IoeCmcomc
Updated Japanese translation | thanks to maboroshin and shirayuki
Updated Italian translation | thanks to bovirus
Known Issues
GM_download starts downloads serialized
5.0.0
2023-11-30
Firefox >= 78
此版本包含了对保持Android兼容性的重大更新。请在这里报告任何问题。
Firefox
内容安全策略(CSP)指令默认不再放宽
注:
  • 如果页面CSP阻止了内联注入,将向CSP添加一个随机数以允许脚本注入。
    否则,用户脚本现在将注入到JavaScript模式的@sandbox中,这可能需要cloneInto和类似函数进行unsafeWindow属性修改
  • 通过将'修改现有内容安全策略(CSP)头'设置为'是',可以恢复之前的行为
现在需要Firefox 78,因为它可以处理Android兼容性所必需的manifest key gecko_android
转换为非持久性事件页面
General
解决了可能导致崩溃的几个内部问题
重构了版本号解析器以支持ISO格式日期
注意:由于这个变化,1.0-0.3现在被认为是比1.0低的版本号
修复了window.showDirectoryPicker
引入了GM_notification tag以覆盖现有通知
添加了GM_notification url属性以在点击时打开新标签页(可以通过onClick事件通过preventDefault取消)
当用户脚本卸载时,通知现在会自动关闭,前提是没有指定urltag
添加了GM_registerMenuCommand id参数以更新现有命令
引入了GM_registerMenuCommand title参数
GM_registerMenuCommand中添加了一个选项,以防止点击时自动关闭弹出窗口
修复了GM_download以防止onload触发过于频繁
进行了与Instant Navigation相关的重构
现在在ESLint配置中接受用户定义的全局变量
增强了沙箱window addEventListener以支持EventListenerObjects
在将脚本保存到磁盘时添加了脚本版本号
本地修改的脚本将不会自动更新,但现在可以通过手动更新和确认进行还原
修复了GM_xmlhttpRequest FormData键值顺序
调整了ESLint以允许顶级等待
解决了由于getPlatformInfo响应不正确导致的BSD问题
现在检测到新的GreasyFork脚本URL
UI
只有在更改被保存后,才能启用立即同步和重置同步
修复了脚本搜索徽章模式以显示准确的数字
当标签过多时,现在可以水平滚动标签
即键即搜始终从当前位置开始
Locales
更新了意大利语翻译 | 感谢 bovirus
更新了巴西葡萄牙语翻译 | 感谢 igorruckert
更新了日语翻译 | 感谢 shirayuki
更新了俄语翻译 | 感谢 ACherepkov1989
更新了土耳其语翻译 | 感谢 selimsumlu
更新了繁体中文翻译 | 感谢 5idereal
更新了法语翻译 | 感谢 Juknum
Known Issues
即时注入模式目前与需要本地文件的脚本不兼容
当在Firefox中启用'始终使用私人浏览模式'时,可能会发生崩溃。建议禁用此设置或降级到版本4.19.0
4.19.0
2023-05-24
General
如果安装了Tampermonkey编辑器扩展,在vscode.dev支持用户脚本编辑
允许下载云备份
修复嵌入帧移除时活动脚本计数的问题
修复'添加GM函数到this或window'选项的自动检测模式
修复'修改现有内容安全策略头'选项的'是'值消失的问题
修复 GM.download(url, name)
修复 GM_setValue 处理二进制内容的问题
修复堆栈跟踪中的用户脚本链接有时无法打开的问题
修复菜单命令监听器有时被执行多次的问题
修复 GM_deleteValue 在背景中真正删除值的问题
使存储编辑器也显示 undefined
修复调用 document.write 后出现的问题
为manifest v3进行内部清理和重构
改善黑名单脚本的可视化
将ESLint更新到8.32.0
Firefox
使@sandbox JavaScript模式下的cloneInto、exportFunction和createObjectIn能够工作
修复启用Tampermonkey时的XML查看器问题
修复@sandbox JavaScript模式下的GM_addElementnode参数
修复移动端仪表板视图
修复在移动设备上的导出问题
使GM_openInTabsetParent选项在容器内工作
在Android上点击后关闭操作菜单
改善在Android上的脚本安装
UI
引入Tam,您的入门帮助助手
每个脚本显示更多站点图标
输入时搜索编辑器
确保编辑器搜索结果在视图中滚动
如果垃圾箱被禁用,在仪表板中删除脚本时进行确认
Sync
无论启动顺序如何,使TamperDAV 脚本更改检测正常工作
使用WebDAV时,按照规范将尾部斜杠符号添加到集合名称
修复启用和禁用同步的问题
Locales
本地化扩展名和描述
更新意大利语翻译 | 感谢bovirus
更新日语翻译 | 感谢shirayuki
更新简体中文翻译 | 感谢gin3715
更新俄语翻译 | 感谢Tyemak
更新丹麦语翻译 | 感谢jhertel
Experimental
添加实验性的GM_info.userAgentData,其中包含NavigatorUAData的所有属性以及一些"高熵"值
4.18.1
2022-11-13
如果在更新后遇到不可靠的脚本注入,请查看本常见问题条目
General
修复 GM_unregisterMenuCommand
修复 GM.saveTab
@sandbox 总是默认为 raw
console 方法再次变为可枚举
默认禁用 wrappedJSObject 兼容性选项
内部重构和清理
Firefox
修复 JavaScript 沙盒模式中通过 unsafeWindow 访问变量的问题
修复与 document-start 脚本结合使用时的即时注入问题
修复与外部页面的通信
通过更早注入脚本代码来修复一些 CSP 问题
Sync
修复了在同步触发的变更导入时禁用脚本更新的问题
4.18.0
2022-09-30
Chrome >= 71, Firefox >= 65
General
Experimental @sandbox support with possible values 'raw', 'JavaScript' and 'DOM'
  • 'raw' access means that a script for compatibility reasons always needs to run in page context. At the moment this mode is the default if @sandbox is omitted.
  • 'JavaScript' access mode means that this script needs 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.
  • 'DOM' access mode means that the script only needs DOM and no direct unsafeWindow access. If enabled these scripts are executed inside the extension context or at any other enabled context otherwise.
Add an option to configure available sandbox modes
Warning: Any option that enables 'DOM' mode is potentially unsecure. Userscripts that run in extension context have almost full extension permissions and can even modify and install new userscripts.
Remove document.addEventListener('DOMContentLoaded', ...) delayed event dispatching for document-start scripts executed later than the event
Remove toSource object prototype compat option
Allow GM_xmlhttpRequestsstreams to be canceled
Add GM_xmlhttpRequestsupload.onprogress support
Add some more entries to the download file extension whitelist
Add GM_download.details.conflictAction (works only in browser API mode)
Fix @resource SVG handling
Add some more editor shortcuts
Remove GM_setTab in favor of the documented GM_saveTab call
UI
Allow script tabs to be closed via middle mouse click
Add a close button to the header of some more dialogs
Fix script toggle element if darker theme is enabled
Locales
Add Macedonian translation | thanks to EntityPlantt
Add Hellenic (Greek) translation | thanks to panos78
Update Chinese (simplified) translation | thanks to iskandarma
Update Portuguese-Brazil translation | thanks to DavidBrazSan
Update Russian translation | thanks to vanja-san
Sync
Add an access token revoke button to some more cloud storage types
Note: make sure to sign out from the service first if you want to login with another account.
Show script sync log messages at the settings page
Dropbox: avoid upload of identical content
Firefox
Use userScript API to execute userscripts
Add container ID to GM_info
Fix script counter at file URLs
Fix sandbox window to have Object.prototype properties
Make GM_xmlhttpRequestsmulti-account container aware
4.17.6161
2022-04-25
General
Fix issues with heavily increased page loading time caused by some scripts or @requires
UI
Allow drag and drop inside the editor again
Firefox
Try to fix script loading issues caused by 'too much recursion'
Locales
Update Chinese (traditional) translation | thanks to SiderealArt
Update Italian translation | thanks to bovirus
Update Danish translation | thanks to will2022
4.16.6160
2022-04-04
Firefox
Fix iframe issues
General
Minor internal cleanup
Sandbox improvements
External @require and @resource content is not updated by default anymore unless the script was updated
Improved compatibility for userstyles installed as userscript
Add an option to control whether to bind GM API functions to the userscript's execution context and sandbox window (and do it by default only if necessary)
Details: Enabling this makes it very easy for a userscript to accidentally leak its granted powers to the page
Treat @include a little bit more like @match if :// is present and add an option to control @include's behavior
Details: Many script developers expect @include *://tmnk.net/* to match pages at tmnk.net only, but it also matches https://example.com/?http://tmnk.net/.
To improve this, @includes 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.
Fix encoding of userscript file and URL imports
UI
Show script and external resources size in dashboard
Show last updated time as relative time if within 4 weeks or as absolute date otherwise
Fix darker theme quirk
Fix favicons with transparent background
Improve editor menu if advanced editor is disabled
Add a localStorage option to manually disable the linter worker if importScripts force reloads the page
4.15.6154
2022-03-01
Locales
Update Turkish translation | thanks to Tmp341
Update Japanese translation | thanks to shirayuki
Update Portuguese-Brazil translation | thanks to igorruckert
Update Chinese (simplified) translation | thanks to xiaopangju
Update Chinese (simplified) translation | thanks to dnknn
Update Hindi translation | thanks to Yash-Singh1
Update French translation | thanks to omerien
Update Italian translation | thanks to bovirus
Update Russian translation | thanks to wvxwxvw
Update Chinese (traditional) translation | thanks to ndbiaw and SiderealArt
General
Allow userscript installation via drag and drop to options page also in case local file access is disabled
Fix prototype confusion in sandbox mode
Fix GM_getValue and GM_xmlhttpRequest response prototype confusion
Fix GM_setValue and include enumerable array values of the prototype chain as well
Fix sandbox window to have Object prototype methods agin
Fix custom ESLint config
Add known globals to editor auto-suggestion again
Make @connect * work with requests to IPs and hostnames (like localhost) again
Allow GM_getValue to return undefined as value
Improve JavaScript scriptlet support via @unwrap tag
Fix GM_xmlhttpRequest to forward status and statusText in fetch mode once available
Fix some rare exceptions happening in the wild
Sandbox improvements
Make cloud service re-authentication without user intervention less disturbing
Use up to ES2022 for linting if supported by the browser
Update ESLint
Fix several issues with older browser versions
Fix cookies overwriting in anonymous GM_xmlhttpRequest mode
Add a global and a per script setting to choose whether to run in incognito tabs
Replace worker based image cache to avoid problems at some browsers
Fix some userscript injection issues
Add some more audio formats to the download file extension whitelist
Use higher resolution if Google's favicons service is used
Always log an error at the page console if a @require or @resource couldn't be loaded
Improve GM_xmlhttpRequest event timings and make response readable on request errors as well
Make GM_notification.highlight focus the window as well
Make trash configurable (on/off/session only)
Fix issues caused by extremely delayed setTimeout(..., 0) calls
Add MouseEvent/KeyboardEvent argument to GM_registerMenuCommand callbacks
Add a focus method to the return value of GM_openInTab
GM_xmlhttpRequest.responseType 'stream' support
Make import from URL support zip, JSON and plain userscript files
Show an internal notification in case of an available extension update only
Add more second level domains (for .tld)
WebDAV improvements
Fix opening of zero byte externals
Internal rework and cleanup
Fix sometimes failing access to response when GM_xmlhttpRequest.responseType is set to 'document'
UI
Fix script positioning via drag and drop
Decrease extension size by removing jQuery dependency
Shift key + mouse click based multi select
Validate @grant as well as header tags in general
Fix storage 'reload' button and add 'reset'
Fix ESLint to allow top-level await
Warn on userscript header entries that are not prefixed by exactly one space
Use eslint-plugin-userscripts to highlight userscript header issues
Show localized userscript name and description if available where possible
Dark mode improvements
Prefer an explicit set @name:en over @name
Update page title if script is renamed by save
Keep CRLF line endings on edit
Sync
Fix TamperDAV double sync issue
Add a button to force a sync
Fix unnecessary repeated exports
Trigger sync on move to trash
Firefox
Add GM_notification.highlight support
Fix 'promise out of scope' warning
4.13.6136
2021-04-28
General
Fix GM_xmlhttpRequest authentication via user and password (including fetch mode)
Fix factory reset
Fix a continuing script execution problem of scripts running on browser start
Fix GM_notification sometimes not using the given image
Fix a sandbox issue which caused DOMContentLoaded being fired after the load event
Fix GM_setStyle/GM_addElement of document-start scripts in case of very early script execution
Fix responseText property if GM_xmlhttpRequest.responseType was set
Fix GM.notification(text, title, image, onclick)
Speed up script execution check
Improve Sandbox
Internal rework
Locales
Update Vietnamese translation | thanks to IoeCmcomc
Update Russian translation | thanks to wvxwxvw
Update Chinese (simplified) translation | thanks to CaveNightingale, Vstory and xiaopangju
Update Russian translation | thanks to vanja-san
Update French translation | thanks to omerien
Update Italian translation | thanks to bovirus
Firefox
Fix popup menu being to large sometimes
Fix script export at Android
Fix script export Desktop versions if containers are used
UI
Fix minor darker theme quirk
Fix tab layout issue at very high zoom-levels at MacOS and Windows
4.12.6132
2021-03-10
Firefox
Fix GM_xmlhttpRequest made from container tabs
Locales
Update Italian translation | thanks to bovirus
Update Japanese translation | thanks to shirayuki
Update Turkish translation | thanks to Tmp341
Update Portuguese-Brazil translation | thanks to igorruckert
General
Make Tampermonkey context menu entry configurable
Improve topbar announcements to not hide existing messages
4.12.6130
2021-02-26
General
Userscript Search integration (search on popup menu entry click, on popup menu open or always)
@antifeature support
Sandbox fixes
Speed up injection
Speed up and fix handling of large GM_xmlhttpRequest responses
GM_xmlhttpRequest data might be available at readyState 3 now
Add option whether to import script data and/or externals
Fix SHA-256 calculation for sub-resource integration (SRI) check of some files
Add Userscript menu commands to the page's context menu
@run-at context-menu scripts now require a @require or @match statement(like all other scripts)
Allow experimental GM_addElement to operate on shadow DOM
Update CodeMirror editor to version 5.58.2
Update JSZip to 3.5.0
UI
Improve search bar to not hide script content
Add option to automatically highlight selected or hovered words
Fix the 'Find Next' button after search was opened
Fix flashing layout shift if an @include's favicon can't be loaded
Remember the last chosen cloud storage at the 'Utilities' tab
Make the 'Dashboard' item's alt action (Ctrl+Click, middle or right mouse click) open it with the current tab's URL as filter
Add script trash
Add script removal entry to popup menu
Add a default @icon tag showing the domain's favicon if a URL is available
Add an option to add the current domain to the blacklisted pages list
Add a reload button to the script storage tab
Update darker theme | thanks to narcolepticinsomniac
Firefox
Make GM_xmlhttpRequest not send Tampermonkey's origin by default
Experimental
Top-level await support
Locales
Add Danish translation | thanks to will2022
Update Japanese translation | thanks to shirayuki
Update Italian translation | thanks to bovirus
Update Turkish translation | thanks to Tmp341
Update Chinese (simplified) translation | thanks to xiaopangju
Update Chinese (traditional) translation | thanks to asthzh
Update Chinese (simplified) translation | thanks to ff98sha
4.11.6120
2020-09-17
General
Fix script export if many or large scripts are installed
Make @match hostname and scheme case insensitive by default
Update ESLint
Use ES2020 for linting if supported by browser
Allow downloads to subfolders again
Experimental window.onurlchange support
Disable automatic script update on script modification
UI
Dark theme update
Locales
Update Arabic translation | thanks to naqqo6i
Update Indonesian translation | thanks to ReksaTresna
Update Japanese translation | thanks to shirayuki
4.11.6117
2020-07-17
General
Fix @run-at context-menu at some pages and after scripts were enable or disabled
Fix GM_xmlhttpRequest exceptions related to responseType 'document' and 'text'
Fix fetch-based GM_xmlhttpRequest.details.revalidate
Improve @connect permission request handling
Fix GM.notification promise never being resolved
Fix GM_xmlhttpRequest.abort and GM_download.abort
Make limited host permissions work for redirected GM_xmlhttpRequest requests
Fix setting GM_download.details.headers
Firefox
Enable @run-at context-menu
Fix issues if browser is started in private mode
Fix extension shortcut support
Sync
Improve OneDrive request error handling
Fix Yandex.Disk authentication
Locales
Update Japanese translation | thanks to shirayuki
UI
Allow tab size configuration
4.11.6114
2020-06-06
Chrome >= 59
Firefox
Fix script execution at CSP secured pages
Fix script execution at service worker cached pages
Make GM_cookie/GM_xmlhttpRequest always use the source tab's cookie store ID
Fix GM_info.isIncognito by showing a per tab value
Fix GM_download of blob objectURLs
General
Fix GM.setClipboard
Fix GM_deleteValue
Replace experimental GM_addScript by GM_addElement support to workaround page CSP issues
Add option to entirely remove CSP if userscripts are supposed to run
Add .co.za to .tld list
UI
Show incognito mode warning at script installation and import pages as well
Add script update item to editor file menu
'Darker' theme update
Locales
Update Vietnamese translation | thanks to IoeCmcomc
Update Ukrainian translation | thanks to toplinden
4.10.6112
2020-03-25
General
Add ESLint rule id to error messages
Update ESLint
Allow to derive custom linter config from eslint:recommended
GM_xmlhttpRequest.onloadend support
Fix GM_xmlhttpRequest.overrideMimeType of anonymous requests
Fix GM.getTab and GM.getTabs
GM_xmlhttpRequest: Fix protocol-relative URLs
GM_xmlhttpRequest: Fix reported status of requests in progress
Add robustness to sandbox creation
Allow plain scripts to be imported via file import as well
UI
Add script version to tab description
Fix WebDAV credentials being used for import and export
Accept more WebDAV server URLs formats
Improve popup menu layout when warnings or hints are shown
Fix several editor search issues
Speed up script search
Sync
Change backup file name to avoid character issues with some WebDAV servers
Fix an issue that some remote source code changes were not applied correctly
Locales
Update Serbian translation | thanks to zoranzoki21
Update Japanese translation | thanks to shirayuki
Update Chinese (traditional) translation | thanks to austin-chang
Update Italian translation | thanks to bovirus
Update Indonesian translation | thanks to Azhe403
Firefox
Fix file export when download mode is set to 'disabled'
Make badge icon text color configurable
4.10.6105
2019-12-11
Chrome >= 45
General
Add GM_info.isFirstPartyIsolation
Allow scripts to be recognized more easily at the developer tools
Internal cleanup and speedup
Fix an issue that user *cludes caused script update confirmation dialogs
UI
'Darker' theme update
Fix an popup menu issue when GM_registerMenuCommand is executed
Allow scripts to be removed via editor menu
Firefox
Fix GM_notification.onclick being called too often
Improve incognito tab handling
Avoid 'normal' mode cookies being sent via GM_xmlhttpRequest from incognito tabs
Fix an issue with very long view-source: URLs
popup menu scrollbar fixes
Fix mobile view
Locales
Update Chinese (traditional) translation | thanks to austin-chang
Update Portuguese-Brazil translation | thanks to igorruckert
4.9.6095
2019-11-15
Firefox
Fix sometimes empty popup menu
Fix crash in FF < 58 if WebDAV, Dropbox or Yandex.Disk sync is enabled
Locales
Update Portuguese-Brazil translation | thanks to igorruckert
4.9.6091
2019-11-12
Firefox
Relax minimum Firefox version to 52
Fix some popup menu scrollbar issues
Improve storage cleanup
UI
Dark theme including OS support
Scroll tab view content instead of page
Fix version number based sorting
Check for unsaved changes before tab close/reload | thanks to narcolepticinsomniac
Add an option to enable/disable scripts at their settings tab
Always show 'Search' and 'Add new script' popup menu items
General
Add .co.nz to .tld
Update FileSaver.js
Allow more GM_xmlhttpRequest headers to be modified
Make GM_xmlhttpRequest.finalUrl available on progress events as well
Fix GM_openInTab.close when the tab is currently moved
Internal improvements, cleanup and speedup
Fix sometimes not working second level domain check
Implement GM_notification silent option
Fix GM_notification onclose listener
Make GM_notification user interaction mandatory if possible
Sync
Yandex.Disk support
Add script synchronization using OneDrive
Add a button to revoke Google Drive access tokens
Use refresh tokens for less Google Drive re-authorization requests
Note: you need to revoke existing access tokens at the utilities tab to make use of this
Locales
Add Belarusian translation | thanks to bogachenko
Update Turkish translation | thanks to Tmp341
Update Russian and Ukrainian translation | thanks to bogachenko
Update Italian translation | thanks to bovirus
Update Japanese translation | thanks to shirayuki
Update Chinese (traditional) translation | thanks to hsuan1117
Update Vietnamese translation | thanks to vigov5
Update Indonesian translation | thanks to ReksaTresna
4.9.5941
2019-05-04
General
Re-enable persistent storage in incognito mode
Fix GM_xmlhttpRequest onabort callback
Fix GM_xmlhttpRequest blob response type property
Speed up script execution after iframe reload/navigation
Fix an issue where uBlock Origin prevents script execution
UI
Add a more obvious (Ctrl+Click or middle mouse click) way to edit scripts from the popup menu
Outline executed but inactive scripts at the popup menu
Firefox
Require unlimitedStorage permission (-> FF >= 56!)
Fix tab creation with parent ID at Android (Dashboard, GM_openInTab, ...)
Sync
Fix cloud services authentication
Locales
Update Russian and Ukrainian translation | thanks to bogachenko
Update Portuguese-Brazil translation | thanks to igorruckert
Update Italian translation | thanks to bovirus
4.9.5921
2019-03-07
General
Allow multiple @webRequest tags
Sandbox fixes
Support SHA-256 subresource integrity hashes independently of the browser's crypto API
Fix popup script execution reporting
Fix GM_webRequest redirect via from/to
Better userstyles.org userscript support
Fix a memory leak when using GM_xmlhttpRequest which could lead to crashes
Recognize and warn on reduced runtime host permissions
Status message and notification cleanup
Fix GM_openInTab.name
Allow repeated space at some script header tags (author, namespace, copyright)
Speed up @include regexps by optimizing .*.*
Compress zip archives again
UI
Remember script storage export setting
Show menu commands below the userscript entry at the popup menu
Fix missing option to set WebDAV sync credentials
Don't show script updates if the user is active or a fullscreen window is present
Enable section save button on changes only
Locales
Update Spanish translation | thanks to TBM13
Update Turkish translation | thanks to Tmp341
Update Russian translation | thanks to bogachenko
Update Indonesian translation | thanks to ReksaTresna
Add Dutch translation | thanks to The947thTokay
Update French translation | thanks to zek0faws
Update Indonesian translation | thanks to Azhe403
Update Chinese (traditional) translation | thanks to PeterDaveHello and cedarkuo
Update Japanese translation | thanks to shirayuki
Update Italian translation | thanks to bovirus
Update Hungarian translation | thanks to hubalazs
Update Spanish translation | thanks to rocammo
Update Hungarian translation | thanks to hubalazs
Sync
Fix sync to TamperDAV
Improve WebDAV protocol compatibility for NextCloud support
Experimental
GM_cookie support
4.8.5847
2018-09-05
General
Fix script externals import issues
Fix import from zip files with folders
Use https for all links to tampermonkey.net
Fix GM_xmlhttpRequest.responseType 'document' support
Allow script editing via external editor by using TamperDAV
Reduce memory footprint (by doing less caching)
Add GitLab subgroup support
Add several .com.* 2nd level domains
Sync
Increase WebDAV protocol compatibility
WebDAV based cross-browser sync (beta; tested with OwnCloud and TamperDAV)
UI
Minor layout refresh
Fix blurry icons
Avoid popup menu flicker on GM_registerMenuCommand usage
Update dark theme | thanks to narcolepticinsomniac
Add narcolepticinsomniac's dark theme matching editor layout
Make the script filter bar work if its visibility is enforced via Custom CSS
4.7.5788
2018-06-07
General
Allow ESLint inline configuration again to make globals definition work
Import and export of external resources (@resource and @require)
Replace zip.js by JSZip
Fix an internal cache related problem which could have caused data-loss
UI
Invert (and fix) meaning of the case-insensitivity search option
Further search bar improvements
Allow the editor button bar to be restored via Custom CSS
Set ESLint ECMAScript version according to the browser's capabilities
Disable inline ESLint config if unsupported (Chrome+MS Edge)
Firefox
Fix script installation from local files
Fix spinning wheel on canceled downloads
Fix JSON-file-based script export
Locales
Update Portuguese-Brazil translation | thanks to igorruckert
Update Japanese translation | thanks to ScratchBuild
Update Italian translation | thanks to bovirus
Update Chinese (simplified) translation | thanks to efreedev
4.6.5757
2018-04-10
Locales
Add Croatian and Serbian translation | thanks to faultyfuse
Update Italian translation | thanks to bovirus
Add Hindi translation
Update Russian translation | thanks to Dr-Yukon
Update Turkish translation | thanks to ali-demirtas
Update Portuguese-Brazil translation | thanks to igorruckert
UI
Lint in background for more editor responsiveness
Limit displayed script name length
Update CodeMirror to version 5.35
Rework editor search
Add popup menu option to exclude a script from a domain
Remember scroll position on tab switch
Firefox
Create a new beta channel
Make Instant Injection more reliable
General
Switch from JSHint to ESLint 4.19.0
Clean GM_tabs data on tab close
Fix script externals update
Sync
Dropbox based cross-browser sync (beta)
4.6.5709
2018-02-23
UI
Add a lot of editor commands to the menu
General
Add .co.th to .tld
Locales
Update French translation | thanks to zek0faws
4.6.5703
2018-02-15
General
Whitelist data: URIs at CSP secured pages
Fix GM_download events sometimes being fired too early
Fix an issue which could break page scripts
Avoid update requests to Greasyfork scripts with a pinned version
Fix GM_notification click listener
Fix GM_download progress events
Fix GM_download.abort
Fix issues if GM_openInTab.name= or GM_openInTab.close was used at more than one tab
Firefox
Fix script opening when right-clicked at the popup menu
Increase editor responsiveness
MacOS
Fix script editor
UI
Fix script update setting saving
Fix display of SVG icons
Better @downloadURL none support
Minor script install page fix
Allow script source code to be searched as well
Editor menu
Fixes related to the modified script close icon
Fix script storage editor to not reset to its initial data on every tab selection
Locales
Add Vietnamese | thanks to Connor37
Update Russian translation | thanks to BychekRU and irainman
Update Italian translation | thanks to bovirus
Update Norwegian translation | thanks to LarsSimonsen
Update Czech translation | thanks to engycz
Update Indonesian translation | thanks to DhannyNara
Update Arabic translation | thanks to Alayady
Update Russian translation | thanks to BychekRU
4.5.5660
2017-12-14
General
Fix homepage icons linking to the same URL after a script was closed
Avoid issues with very long script version strings
Firefox
Fix enabling and disabling Tampermonkey via popup menu
Fix page loading issues | thanks to Zord123
4.5.5655
2017-12-11
Firefox
Fix page encoding issues
General
Fix GM.openInTab setParent option
Make userscripts appear at developer tools
UI
Align all script names horizontally
Show a different close icon if a script was modified
4.5.5648
2017-12-05
UI
Make @require and @resource feature icons a link to the script's externals tab
Simplify script bug report buttons
Firefox
Fix tab/browser crashes maybe caused by redirects
Work-around browser freezes when opening view-source: pages
Some CSP related fixes
General
Speed up sandbox creation
4.5.5633
2017-11-29
General
Make @require and @resource content editable (if applicable)
Fix fetch-driven GM.xhr with partial content
Add an option to control script local file access
Add userstyles.org as known script source and add includes on installation if no @include is set
Allow window.name to be set in sandbox mode | thanks to Mahab
Ensure script installation after navigation to unparseable userscripts fails silently | thanks to adaugherity
UI
Reverse the alignment of the on/off slider to match the common direction
Fix internationalized names at the popup menu, tab titles and document titles
Reduce the default popup menu column count to one
Replace stale icons by Font Awesome icons
General layout refresh
Regression: Fix missing feature icons on item row re-creation | thanks to narcolepticinsomniac
Fix misaligned table cell borders | thanks to narcolepticinsomniac
Firefox
Allow script installation from local file even without native file access
Enable local file access (needs to be enabled for scripts separately)
Fix 'Save to disk' button
Locales
Update Indonesian translation | thanks to DhannyNara
4.5.5590
2017-11-06
General
Increase script retrieval timeout
Firefox
Workaround script API issues caused by an erroneously missing global scope
Fix zip file export
UI
Mobile view improvements (i.e. via Firefox Android or Yandex Browser)
Update spinner
Experimental
Fix some GM.API names and make more functions return promises
Locales
Add Turkish translation | thanks to alidemirtas94
4.5.5570
2017-10-06
Fix an issue with `GM_setValue` and certain characters | thanks to tiansh
Firefox
Android compatibility
Experimental
4.5.5564
2017-10-02
Firefox
Add a favicon to all extension tabs
Workaround issues if dom.storage.enabled or cookie storing is disabled
Workaround issues if privacy.resistFingerprinting is enabled | thanks to Tobi and supermox
Fix ZIP and file export at Windows machines
Fix middle and right-button click at the popup menu
Locales
Update Chinese | thanks to zzjin and wangyou
Really add Norwegian translation | thanks to DandelionSprout
Update Dropbox OAuth URL
Add a title to all extension tabs
Support more content types (i.e. SVG)
4.5.5553
2017-09-12
UI
Fix source being displayed on script installation even without editor focus
Dark theme improvements | thanks to narcolepticinsomniac
Improve script https access detection
Slight dark theme adjustments
Add alt text to images
Dark theme | thanks to narcolepticinsomniac
Allow scripts to be sorted by their enabled state
Add DuckDuckGo favicon service
Remove script type column in case there is no native extension
Add fold all support to the editor
Firefox
Fix a CSP issue
Update manifest to use icons from the extension package
Make a preferences button appear at the about:addons page
Fix a CSP issue which could prevent script execution
Fix backup file download
Fix GM_setClipboard
Hide the popup menu size workaround at FF >= 50
Add browser.command support
Increase minimum version to 48
Locales
Update Polish | thanks to hawkeye116477
Update Arabic translation | thanks to atefBB
Update Chinese | thanks to ivysrono and yfdyh000
Update JSHint to 2.9.5
Add blob: and data: protocol support to `GM_xmlhttpRequest`
Sandbox fixes
Log a warning if checking a script's includes/excludes takes longer than one second
Improve experimental `Instant Injection` mode
Allow scripts to run at RSS feeds
Fix an issues that prevents scripts with a '@' character in name from being updated 🙄
Don't treat manually installed themes as native scripts
Improve `@resource` mime type detection
Use a timeout for change detection at script updates
Handle cloud storage service timeouts
Fix internal crashes
Fix issues at secured iframes
Fix an issue which could break page scripts
Add `GM_*` API usage stats
Experimental `Instant Injection` mode
Fix issues at Chrome < 58
On script updates show all changes additionally to the new source
Fix the editor save button
Fix script positions after synchronization run
Update CodeMirror editor to version 5.26.0
Add option to auto trim trailing whitespace from modified lines on save
Fix script tags with optional ISO 3166 country code (i.e. `@name:zh_CN`)
Don't ask for a donation if Tampermonkey wasn't started for a long time 😳
Don't show a *clude-changed warning if scripts are saved
Google Drive based cross-browser sync (experimental)
Deprecate old sync options (pastebin and brower sync version 1)
`GM_xmlhttpRequest.responseType` 'document' support
Make `GM_openInTab` support the `setParent` flag
Add com.mx to .tld
Show a topbar announcement at the dashboard if a new Tampermonkey version is available
Warn on possibly dangerous `@connect`, `@include`, `@match` and `@exclude` changes | thanks to nux
Experimental ``GM_webRequest`` and `@webRequest` support - please discuss this API here
Fix icon setting at Chrome < 53
Allow `GM_xmlhttpRequest` headers to get deleted (by setting to null)
More icon improvements, re-add some transparency
Fix the Alt+Up/Down hotkeys being used twice
Fix keyboard shortcut help page at MacOS
Add Arabic translation | thanks to ahmadmysra
Wait up to 15 seconds for a ask page response to fix issues due to slow or busy computers
Move the browser sync button reset to the sync section
Fix the icon looking blurry sometimes
Add Indonesian translation | thanks to DhannyNara
Update Polish translation | thanks to hawkeye116477
4.3.5430
2017-04-04
Firefox
Fix blank popup menu issue
Make GM_download support all common details properties at FF >= 52
Experimental: Enable browser sync at FF >= 53
Fix issues at some pages
Make sure all config is written before reloading
Fix issues at nightly builds
MacOS
Use Alt+Up/Down to jump to the prev/next tab
Simple script storage editor
Allow all browsers to use synchronization
Allow script update servers to signal unchanged content
Add GitLab and Bitbucket support
Avoid some 'Unchecked lastError' warnings | thanks to tophf
Add Portuguese translation | thanks to Sara F.
Update Polish translation | thanks to hawkeye116477
Add some more keyboard shortcut commands, but don't use a shortcut by default
Update Polish translation | thanks to hawkeye116477
Add an option to add custom CSS to the Tampermonkey UI
Add an option to disable the update check on a script base
Allow scripts to run at XML pages | thanks to Thom1729 for the slight lead
Fix some sandbox functions (set/clearTimeout/Interval and add/removeEventListener) to properly handle unusual arguments
4.3.5393
Use "stickering" to improve the icon visibility at dark themes
Log `@require` related errors at the page console
Fix some rare internal exceptions
Update Korean translation | thanks to KENNYSOFT
Editor
Add ZenBurn editor theme
Visual bookmark support
Firefox
Fix CSP related issues
4.3.5384
Firefox
Fix GM_notification
Enable webRequest support at Firefox 52+ to fix many GM_xmlhttpRequest related issues (finalUrl, cookies, ...)
Fix missing popup menu icon at internal tabs
Improve the workaround of Chrome issue 649942
Fix `GM_xmlhttpRequest.responseHeaders` to contain 'Set-Cookie' items as well
Add Korean translation | thanks to KENNYSOFT
Workaround Chrome issue 649942
OS X: Workaround Chrome issue 457887
Fix an issue that can prevent scripts from working when Chrome starts
Make xhr response headers available at readyState 2 and higher
Add time and browser to backup names
Fix relative URL handling
Add some `auxclick` event listener to recognize middle mouse clicks at Chrome 55
Re-design the `fast script injection mode` (disabled by default)
Remove the experimental `fast script injection mode`, because it causes problems with iframes even when disabled
Fix script execution at reloaded/navigated iframes
Fix sync issues of script comment properties
Fix doubled include/exclude editor dialogs
Make * include file URIs as well
Update the ES6 script template
Fix running script instance count again
Fix some internal errors
Add more criteria to the dashboard search
Make the search case insensitive
Update Chinese (simplified) translation | thanks to wenketel
Update Spanish translation | thanks to leoncastro
Fix doubled running script instance count | thanks to zanetu
Fix issues when unloading iframes | thanks to zanetu
Options: Allow script list filtering (name, @include, comments, ...)
Add some more hotkeys (Ctrl+a to select all scripts, Esc to clear the filter)
Make the 'fast' script injection option the default
Allow installation of scripts without any @include and `@match` again
Editor: fix some issues when moving lines
Firefox: fix extension reload for version 51 and above
Experimental: add an option to speed up script injection
Update Chinese (simplified) translation | thanks to gqqnbig
Allow script selection at the import dialog (Ctrl+click toggles all)
Experimental: Add an option to allow communication with cooperate pages (i.e. allow script hosters to detect Tampermonkey and query whether a script is already installed)
Fix issues when handling large dataset
Update Chinese (simplified) translation | thanks to Cp0204
4.2.5291
Fix cloud storage authentication
Fix some cloud storage related issues
Minor internal fixes
Safari: fixes for the Safari developer edition
Make the CSP modification option work again
Allow backup and restore with cloud storages (Google Drive, Dropbox, OneDrive)
Update Chinese (traditional) translation | thanks to TobySkarting
Update Czech translation | thanks to d3jv
Remove autodetection of some compatibility options
Minor internal fixes
Update JSHint to 2.9.2
4.1.5259
Chrome >= 31
Fix the sandbox on{event} properties
Fix the editor replace code and show which part of the script text is going to be replaced
Update Chinese (simplified) translation | thanks to lychichem
Update saveAs to 1.3.2
Firefox: fix GM_download
Firefox: fix drag and drop script positioning
4.1.5248
Fix cancelation of `GM_xmlhttpRequest` requests (not completely working in fetch mode)
Use a fallback in case the page CSP wasn't relaxed (disabled setting or cached page)
Update Portuguese-Brazil translation | thanks to oliveirafabio
Firefox: make the manifest Firefox 47 compatible
4.1.5240
Fix a problem at CSP secured cached pages
Fix font size issues at Firefox
`GM_xmlhttpRequest.data` FormData support (Chrome 51+ or Firefox required)
`GM_xmlhttpRequest.url` now supports Location and URL objects
Fix `GM_xmlhttpRequest` response header format if fetch (== anonymous) is used
4.1.5231
Speed up script injection at cached pages a little bit
Safari: fix a problem with some iframes
Fix issues at Chrome 52
Fix sometimes occurring exceptions if 'debug scripts' is enabled
Support Base64 encoded SRI hashes
Disable spell-checking at input fields
Fix two minor internal crashes
Log the error message if `GM_xmlhttpRequest` failed due to @connect
Make `@grant none` supersede all other @grants again | thanks to terjanq
More `document.write/document.open` fixes
Allow script installations from Github release download URLs
Firefox: workaround issue 1215025 by setting a minimum popup menu size
Fix issues when `document.write` was called
Log `@connect` error messages at the request source tab
Always allow `GM_xmlhttpRequest` to access same-origin URLs
Fix `GM_xmlhttpRequest.fetch/anonymous` encoding
Fix `@connect` + relative URLs
Download meta data from the source URL if `x-userscript-meta` is supported
Fix a minor options page issue when scripts were updated manually
Editor: Fix the replace button
Fix an issue that sometimes the update check could enter an endless loop
Fix the script update to request meta information first again
`GM_xmlhttpRequest.headers.cookie` support
Update Chinese (traditional) translation | thanks to JasonHK
Editor: add line break option
Make sure the common console is used if `@grant none` is set
Improve the main domain detection of `@connect` dialogs
Automatically measure the script runtime when the script debug option is set
Remove deprecated 'strong mode'
Fix freezes at long data URIs
Fix some names at exported ZIP files
Enable JSHint esnext option by default
Fix `@run-at context-menu`
Fix an issue that could cause data loss on scripts that trigger the `@connect` dialog twice (due to a redirect) and both times 'Always allow' is choosen | thanks to CptPicard
Update Slovak translation | thanks to emitor
Add an additional edit button for every script
Fix a drag and drop positioning issue
Start and stop drag and drop via mouse up/down and auto-scroll when reaching a border
Fix a problem that caused the script update check to run only on startup
Fix Portuguese-Brazil translation (now used by default if appropriate)
Fix issues with `GM_getTabs`, `GM_getTab` and `GM_saveTab` being undefined
Safari: workaround a popup menu size issue
Fix a CSP issue that could prevent script execution
Make `GM_addStyle` ignore CSPs
Fix internal crashes
Cleanup
Show warnings at the options and install page for (partially) blacklisted scripts
Workaround an popup menu layout issue at Windows when DirectWrite is disabled
Add more `@connect` related translations
Fix sometimes empty editor tabs
Translate some `@connect` related strings
Fix a sometimes wrong .tld interpretation
Minor layout improvements
Once one script is selected allow selection via Shift+Up/Down
Improved script enabler
Layout beautification
Allow scripts to be renamed without a forced tab close
Avoid warning messages at Chrome 50
Update Chinese (simplified) translation | thanks to lychichem
Reload @externals when a script is updated, but use the browser cache
Fix relative local requires at remote drives
Require at least one @include or `@match` statement to make a script run
Script factory reset batch method
Safari: More popup menu beautification
Simple (non-advanced) editor improvements and fixes
Check @connects for pure second level domains
Fix entries at the externals tab
Request meta data and externals with the `no-cache` option set
Yet another console fix
Update Spanish translation | thanks to franciscocorrales
Safari: Fix popup menu background color
Require a `@grant` statement in order to access GM_* functions
Secure `@connect` statements (Allow specials, domains, IPs or localhost)
Fix `GM_xmlhttpRequest` binary mode encoding
Fix enhanced editor
Update Czech translation | thanks Petr T.
Update Czech translation | thanks Petr T.
Editor: don't interpret search strings besides the regular expression syntax
Translate some CodeMirror editor internal strings as well
Safari: fix sometimes occurring exceptions
Make the disabled state icon semi-transparent
Fix console.info
Safari: fix i18n for some languages
4.0.5054
2016-02-01
Initial Firefox support (FF 46+ required)
Layout fixes for Chrome 50