Tampermonkey® by Jan Biniok

Recent Changes

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
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
Chrome
Improve scrollbar layout in dark mode
Sync
Fix TamperDAV double sync issue
Add a button to force a sync
Fix unnecessary repeated exports
Trigger sync on move to trash
4.13.6138
2021-05-04
General
Userscript Search integration
(search on action menu entry click, on action menu open or always)
Improve topbar announcements to not hide existing messages
@antifeature support
Add Userscript menu commands to the page's context menu
@run-at context-menu scripts now require a @include or @match statement (like all other scripts)
Speed up extension storage operations
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
Fix GM_download calls in non-native mode if executed too quickly one after the other
Add option whether to import script data and/or externals
Fix SHA-256 calculation for sub-resource integration (SRI) check of some files
Fix GM_xmlhttpRequest authentication via user and password (including fetch mode)
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
Update CodeMirror editor to version 5.58.2
Update JSZip to 3.5.0
Opera
Fix linting issues
UI
Add script trash
Add script removal entry to action menu
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
Fix tab layout issue at very high zoom-levels at MacOS and Windows
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
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
Update darker theme | thanks to narcolepticinsomniac
Sync
Various improvements
Experimental
Top-level await support
Allow experimental GM_addElement to operate on shadow DOM
Locales
Add Danish translation | thanks to will2022
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
Update Chinese (simplified) translation | thanks to xiaopangju
Update Chinese (traditional) translation | thanks to asthzh
Update Chinese (simplified) translation | thanks to ff98sha
Update Russian translation | thanks to wvxwxvw
Update Vietnamese translation | thanks to IoeCmcomc
Update Chinese (simplified) translation | thanks to CaveNightingale, Vstory and xiaopangju
Update Russian translation | thanks to vanja-san
Update French translation | thanks to omerien
4.11.6120
2020-09-17
Chrome >= 59
Chrome
Implement timeout for fetch-based (i.e. anonymous) GM_xmlhttpRequest
Fix beta extension name
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
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
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
Add ESLint rule id to error messages
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
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
Dark theme update
Allow tab size configuration
Show incognito mode warning at script installation and import pages as well
Add script update item to editor file menu
'Darker' theme update
Add script version to tab description
Fix WebDAV credentials being used for import and export
Accept more WebDAV server URLs formats
Improve action menu layout when warnings or hints are shown
Fix several editor search issues
Speed up script search
Fix an action menu issue when GM_registerMenuCommand is executed
Allow scripts to be removed via editor menu
Locales
Update Arabic translation | thanks to naqqo6i
Update Indonesian translation | thanks to ReksaTresna
Update Japanese translation | thanks to shirayuki
Update Vietnamese translation | thanks to IoeCmcomc
Update Ukrainian translation | thanks to toplinden
Update Serbian translation | thanks to zoranzoki21
Update Chinese (traditional) translation | thanks to austin-chang
Update Italian translation | thanks to bovirus
Update Indonesian translation | thanks to Azhe403
Update Portuguese-Brazil translation | thanks to igorruckert
Sync
Improve OneDrive request error handling
Fix Yandex.Disk authentication
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
4.9.6091
2019-11-12
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' action menu items
'Darker' Theme improvements
Speed-up initialization
Fix status hints
Fix script editor height and resulting problems
Always show 'Search' and 'Add new script' menu items
Fix script filter icon visibility
Fix drag and drop based script ordering at high-DPI screens
Add a more obvious (Ctrl+Click or middle mouse click) way to edit scripts from the action menu
Outline executed but inactive scripts at the action menu
Remember script storage export setting
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
Dark theme including OS support
Fix script update confirmation page
Fix GM_openInTab.close when the tab is currently moved
Sandbox improvement
Fix installation of UTF-8 encoded local files
Remove functionality to import native scripts to reduce the number of used permissions
Remove unused contentSettings permission
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
Allow multiple @webRequest tags
Sandbox fixes
Support SHA-256 subresource integrity hashes independently of the browser's crypto API
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
Fix cloud services authentication
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
Update Portuguese-Brazil translation | thanks to igorruckert
Update Spanish translation | thanks to TBM13
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
Chrome
Limit script content integrity check to Chrome Web Store beta versions
Re-enable GM_cookies for official beta versions
Disable GM_cookies support for now
Request host access if runtime permissions are limited
Speed-up initialization in incognito mode
Use a hash to detect script content changes
4.8.5890
2019-01-06
Chrome
On installation disable and blacklist all pre-installed scripts
Fix GM_xmlhttpRequest header modification at Chrome 72+
Fix GM_xmlhttpRequest.finalUrl at Chrome 70+
Avoid stringification when making a GM_xmlhttpRequest with responseType 'document' or 'json' which could crash the browser
Feature-Policy related fixes
Fix a compatibility issue with Slimjet browser
Fix console issues at Chrome >= 60
Fix some GM_xmlhttpRequest header issues | thanks to scriptmaster
Don't send the extension origin on GM_xmlhttpRequests
Sync
Fix sync to TamperDAV
Improve WebDAV protocol compatibility for NextCloud support
Increase WebDAV protocol compatibility
WebDAV based cross-browser sync (beta; tested with OwnCloud and TamperDAV)
Dropbox based cross-browser sync (beta)
General
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
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
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
Switch from JSHint to ESLint 4.19.0
Clean GM_tabs data on tab close
Fix script externals update
Add .co.th to .tld
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
Fix homepage icons linking to the same URL after a script was closed
Avoid issues with very long script version strings
Fix GM.openInTab setParent option
Make userscripts appear at developer tools
Speed up sandbox creation
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
Increase script retrieval timeout
UI
Show menu commands below the userscript entry at the action 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
Minor layout refresh
Fix blurry icons
Avoid action 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
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)
Lint in background for more editor responsiveness
Limit displayed script name length
Update CodeMirror to version 5.35
Rework editor search
Add action menu option to exclude a script from a domain
Remember scroll position on tab switch
Add a lot of editor commands to the menu
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
Align all script names horizontally
Show a different close icon if a script was modified
Make @require and @resource feature icons a link to the script's externals tab
Simplify script bug report buttons
Reverse the alignment of the on/off slider to match the common direction
Fix internationalized names at the action menu, tab titles and document titles
Reduce the default action 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
Mobile view improvements (i.e. via Firefox Android or Yandex Browser)
Update spinner
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
Locales
Update Hungarian translation | thanks to hubalazs
Update Spanish translation | thanks to rocammo
Update Italian translation | thanks to bovirus
Update Japanese translation | thanks to shirayuki
Update Hungarian translation | thanks to hubalazs
Update Portuguese-Brazil translation | thanks to igorruckert
Update Japanese translation | thanks to ScratchBuild
Update Chinese (simplified) translation | thanks to efreedev
Add Croatian and Serbian translation | thanks to faultyfuse
Add Hindi translation
Update Russian translation | thanks to Dr-Yukon
Update Turkish translation | thanks to ali-demirtas
Update French translation | thanks to zek0faws
Add Vietnamese | thanks to Connor37
Update Russian translation | thanks to BychekRU and irainman
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
Add Turkish translation | thanks to alidemirtas94
Update Chinese | thanks to zzjin and wangyou
Really add Norwegian translation | thanks to DandelionSprout
Update Polish | thanks to hawkeye116477
Update Arabic translation | thanks to atefBB
Update Chinese | thanks to ivysrono and yfdyh000
Experimental
GM_cookies support
Fix some GM.API names and make more functions return promises
Editor
Add ZenBurn editor theme
Visual bookmark support
Fix an issue with GM_setValue and certain characters | thanks to tiansh
Update Dropbox OAuth URL
Add a title to all extension tabs
Support more content types (i.e. SVG)
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
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
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
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 TM and query whether a script is already installed)
Fix issues when handling large dataset
Update Chinese (simplified) translation | thanks to Cp0204