Tampermonkey® by Jan Biniok

Recent Changes

5.0.6190
2023-11-18
General
Fix several internal issues that could lead to crashes
Fix window.showDirectoryPicker
Detect new GreasyFork script URLs as well
Firefox
Require Firefox 78, that can handle the manifest key gecko_android
Fix issues related to new tab creation
5.0.6189
2023-10-26
This version contains major revisions. If problems arise, please report them here.
General
Add GM_registerMenuCommand id param to update existing commands
Add GM_registerMenuCommand title parameter
Add GM_notification tag to overwrite existing notifications
Add GM_notification url property to open a new tab on click (cancelable by onClick event via preventDefault)
Notifications are now automatically closed when the userscript unloads if neither a url nor a tag was provided
Fix GM_download to not fire onload too often
Rework version number parser a bit to support ISO format dates
Note: due to this change 1.0-0.3 is now recognized as a lower version number compared to 1.0
Rework related to Instant Navigation
Accept user entered globals at ESLint configuration as well
Make sandbox window addEventListener support EventListenerObjects
UI
Enable sync now and sync reset only after changes were saved
Fix script search badge mode to show the correct numbers
Firefox
Convert persistent background page to an event page for future Android compatibility
4.20.6187
2023-08-29
General
Add a title option to GM_registerMenuCommand
Firefox
Content-security-policy (CSP) directives are still not relaxed but modified again
Notes:
  • If the page CSP blocks inline injection, a nonce is added to the CSP which should allow script injection again.
Regression
Fix tab opening from extension pages
Locales
Update Italian translation | thanks to bovirus
Update Portuguese-Brazil translation | thanks to igorruckert
Update Japanese translation | thanks to shirayuki
Update Russian translation | thanks to ACherepkov1989
Update Turkish translation | thanks to selimsumlu
4.20.6186
2023-08-04
General
Add script version number when saving a script
Content-security-policy (CSP) directives are not relaxed by default anymore
Notes:
  • In Chrome script injection should work as usual but some userscripts might depent on a relaxed CSP
  • In Firefox, if the page CSP blocks injection, userscripts are now injected into a JavaScript-mode @sandbox, which might require cloneInto and friends for unsafeWindow property modification
  • The old behavior can be restored by setting 'Modify existing content security policy (CSP) headers' to 'Yes'
  • This change helps to better comply with the Mozilla add-on development policies
Locally modified scripts are still not updated, but now can be reverted by a manual update and confirmation
Add an option to GM_registerMenuCommand to not auto close the popup on click
Fix GM_xmlhttpRequest FormData key-value order
Fix ESLint to allow top-level await
Fix BSD issue due to wrong getPlatformInfo response
UI
Allow tabs to be scrolled horizontally if too many tabs are present
Always start search-as-you type from the current position
Locales
Update Italian translation | thanks to bovirus
Update Chinese (traditional) translation | thanks to 5idereal
Update French translation | thanks to Juknum
4.19.6183
2023-05-03
General
Additional fixes related to document.write
Fix the active script count when an embedded frame is removed
UI
Introducing Tam, your helpful assistant for getting started
Locales
Show a localized extension name to Chinese users
Update Italian translation | thanks to bovirus