Tampermonkey® by Jan Biniok

近期变动

5.3.6218
2024-11-15
General
Renamed the Safari App Extension to Tampermonkey Classic
Fixed the configuration of script positions via drop down menu
5.3.6217
2024-11-01
General
Fix relative externals in @require and @resource
Fixed issue with listening for menu command access keys
Resolved issue where GM_registerMenuCommand entries reappeared until clicked
Locales
Updated Ukrainian translation | thanks to click0
5.3.6214
2024-10-07
General
Resolved issues with protocol-relative URLs in GM_xmlhttpRequest
Corrected the sorting of menu commands after updates
Resolved issues with cloud functions on the options page
UI
Fixed opening menus at the popup by clicking the name
5.3.6210
2024-09-09
General
Tag support
Added @run-in support
Fixed sometimes wrong GM_xmlhttpRequest response header separator
Added button to force update externals
Added multi-value support for storage methods
Reworked counting of executed script instances
Enhanced back/forward cache navigation handling
Fixed an GM_registerMenuCommand issue with non-letter accessKeys
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
Locales
Updated Ukrainian translation | thanks to Postrediori
Updated Portuguese-Brazil translation | thanks to igorruckert
Updated Italian translation | thanks to bovirus
5.2.6199
2024-06-05
General
Implemented fixes for Safari if host permissions are limited
Added a warning message when a script without @include and @match entry is saved the first time
Introduced a permission editor for enhanced management of host permissions
Removed use of deprecated DOMNodeInserted and MutationEvent events
Addressed problems related to script installation from certain Gitlab URLs
Refactored version number parser to support ISO format dates
Note: As a result of this change, 1.0-0.3 is now considered a lower version number than 1.0
Introduced GM_notification tag to overwrite existing notifications
Added GM_notification url property to open a new tab on click (can be cancelled by onClick event via preventDefault)
Notifications now automatically close when the userscript unloads and neither a url nor a tag was specified
Added GM_registerMenuCommand id parameter to update existing commands
Introduced GM_registerMenuCommand title parameter
User-defined globals are now accepted in ESLint configuration
Enhanced sandbox window addEventListener to support EventListenerObjects
Added script version number when saving a script to disk
Locally modified scripts will not be updated automatically, but can now be reverted through a manual update and confirmation
Fixed GM_xmlhttpRequest FormData key-value order
Adjusted ESLint to allow top-level await
New GreasyFork script URLs are now detected
UI
Show an error icon at scripts without any @include and @match entry
Corrected 'replace all' functionality in code editor for certain strings
Locales
Updated Italian translation | thanks to bovirus
Updated Japanese translation | thanks to maboroshin and shirayuki
Updated Portuguese-Brazil translation | thanks to igorruckert
Updated Danish translation | thanks to jhertel
Updated Chinese (simplified) translation | thanks to PaperStrike
Updated Russian translation | thanks to adem4ik
Updated Vietnamese translation | thanks to IoeCmcomc
Updated Russian translation | thanks to ACherepkov1989
Updated Turkish translation | thanks to selimsumlu
Updated Chinese (traditional) translation | thanks to 5idereal
Updated French translation | thanks to Juknum
4.20.6188
2023-10-18
General
Implemented fixes for Safari 17 and macOS Sonoma
Introduced a title option to GM_registerMenuCommand
Although locally modified scripts are not updated automatically, they can now be reverted through a manual update and confirmation
Added an option to GM_registerMenuCommand to prevent automatic closing of the popup on click
Corrected the key-value order in GM_xmlhttpRequest FormData
Fixed Safari version display in GM_info.userAgentData
UI
Enhanced search-as-you-type to always start from the current position
Locales
Updated Chinese (traditional) translation | thanks to 5idereal
Updated French translation | thanks to Juknum
Updated Italian translation | thanks to bovirus
Updated Portuguese-Brazil translation | thanks to igorruckert
Updated Japanese translation | thanks to shirayuki
Updated Russian translation | thanks to ACherepkov1989
Updated Turkish translation | thanks to selimsumlu
4.20.6184
2023-07-28
General
Enabled downloading of cloud backups
Corrected GM_deleteValue to ensure values are deleted in the background
Enhanced the storage editor to display undefined values
Performed internal cleanup and rework in preparation for manifest v3
Updated ESLint to version 8.32.0
Introduced @sandbox support with possible values 'raw', 'JavaScript', and 'DOM'
Removed delayed event dispatching for document-start scripts executed later than the 'DOMContentLoaded' event
Eliminated toSource object prototype compatibility option
Fixed handling of @resource SVGs
Added additional editor shortcuts
Replaced GM_setTab with the documented GM_saveTab call
UI
Meet Tam, your new assistant for getting started
Search within the editor as you type
Ensured editor search results are scrolled into view
Added confirmation for script deletion in the dashboard when trash is disabled
Enabled closing of script tabs via middle mouse click
Added a close button to the headers of additional dialogs
Corrected script toggle element for darker themes
Sync
Resolved issues related to enabling and disabling sync
Fixed a bug where script updates were disabled on sync-triggered change imports
Added an access token revoke button for additional cloud storage types
Note: Ensure you sign out from the service first if you wish to login with another account.
Displayed script sync log messages on the settings page
Dropbox: Prevented upload of duplicate content
Locales
Added Macedonian translation | thanks to EntityPlantt
Added Hellenic (Greek) translation | thanks to panos78
Updated Chinese (simplified) translation | thanks to iskandarma
Updated Portuguese-Brazil translation | thanks to DavidBrazSan
Updated Russian translation | thanks to vanja-san
Updated Italian translation | thanks to bovirus
Updated Japanese translation | thanks to shirayuki
Updated Chinese (simplified) translation | thanks to gin3715
Updated Russian translation | thanks to Tyemak
Updated Danish translation | thanks to jhertel
4.17.6162
2022-05-24
General
Improved compatibility for userstyles installed as userscript
Make trash configurable (on/off/session only)
Allow GM_getValue to return undefined as value
Improve JavaScript scriptlet support via @unwrap tag
Add MouseEvent/KeyboardEvent argument to GM_registerMenuCommand callbacks
Use up to ES2022 for linting if supported by the browser
Update ESLint
Make cloud service re-authentication without user intervention less disturbing
Shift key + mouse click based multi select
Dark mode improvements
Prefer an explicit set @name:en over @name
Show localized userscript name and description if available where possible
Update page title if script is renamed by save
Keep CRLF line endings on edit
Use eslint-plugin-userscripts to highlight userscript header issues
Fix storage 'Reload' button and add 'Reset'
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
Fix script positioning via drag and drop
Decrease extension size by removing jQuery dependency
Sync
Add a button to force a sync
Locales
Update Russian translation | thanks to wvxwxvw
Update Chinese (traditional) translation | thanks to ndbiaw and SiderealArt
Update Chinese (simplified) translation | thanks to dnknn
Update French translation | thanks to omerien
Update Portuguese-Brazil translation | thanks to igorruckert
Update Hindi translation | thanks to Yash-Singh1
Update Japanese translation | thanks to shirayuki
Update Chinese (simplified) translation | thanks to xiaopangju
Update Italian translation | thanks to bovirus
Update Danish translation | thanks to will2022
Update Turkish translation | thanks to Tmp341
4.13.6140
2021-06-30
General
Userscript Search integration
(search on popup menu entry click, on popup menu open or always)
Improve topbar announcements to not hide existing messages
@antifeature support
GM_xmlhttpRequest data might be available at readyState 3 now
Add option whether to import script data and/or externals
Disable automatic script update on script modification
Internal rework
Use ES2020 for linting if supported by browser
Update ESLint
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 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
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
Update Arabic translation | thanks to naqqo6i
Update Indonesian translation | thanks to ReksaTresna
Update Ukrainian translation | thanks to toplinden
4.11.6117
2020-07-17
Chrome >= 59
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
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
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
Sync
Improve OneDrive request error handling
Fix Yandex.Disk authentication
Change backup file name to avoid character issues with some WebDAV servers
Locales
Update Japanese translation | thanks to shirayuki
Update Vietnamese translation | thanks to IoeCmcomc
Update Ukrainian translation | thanks to toplinden
Update Serbian translation | thanks to zoranzoki21
UI
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 popup menu layout when warnings or hints are shown
4.10.6108
2020-01-10
General
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
Sync
Fix an issue that some remote source code changes were not applied correctly
UI
Fix several editor search issues
Speed up script search
'Darker' theme update
Fix an popup menu issue when GM_registerMenuCommand is executed
Allow scripts to be removed via editor menu
Locales
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
4.10.6103
2019-11-26
Chrome >= 45
General
Fix an issue that user *cludes caused script update confirmation dialogs
Internal cleanup and speedup
Dark theme including OS support
Locales
Update Portuguese-Brazil translation | thanks to igorruckert
Update Turkish translation | thanks to Tmp341
Update Italian translation | thanks to bovirus
UI
'Darker' Theme improvements
Scroll tab view content instead of page
Fix version number based sorting
4.9.6055
2019-10-18
General
Fix script update confirmation page
Add .co.nz to .tld
UI
Speed-up initialization
Check for unsaved changes before tab close/reload | thanks to narcolepticinsomniac
Fix status hints
4.9.6041
2019-10-16
Locales
Update Vietnamese translation | thanks to vigov5
Update Italian translation | thanks to bovirus
4.9.6037
2019-10-15
General
Update FileSaver.js
Allow more GM_xmlhttpRequest headers to be modified