Releases: violentmonkey/violentmonkey
v2.19.0
New features since v2.18.0:
- tags
- added in script's settings
- shown in dashboard as links inside an entry
- clicking a tag sets the search query to this tag and shows all scripts that have this tag
- dashboard: icons to perform batch actions on scripts that match the search query
- dashboard: search in script code by default again, enable case-sensitivity for regexps without
i
flag and when the input is quoted - popup: show matching scripts that weren't injected in this tab with the name crossed in red e.g. when the extension was just toggled/updated/installed and the tab wasn't reloaded yet, or after "reload tab without scripts" command, or due to an incorrect use of
@match
with a Single-Page Application site - internals: faster processing when there's a lot of disabled scripts
- editor: separate config for CodeMirror in script editor -> values -> editor
Fixes for scripts
- promisified GM.xmlHttpRequest and GM.download so it can be await'ed.
- GM_setValue + GM_addValueChangeListener with frozen tabs
- built-in global functions like setTimeout/setInterval were sometimes overridden by the web page
- userAgent customized via about:config or devtools device overrides will be sent now in GM_xmlhttpRequest as User-Agent header
Editing/updating
- won't re-download dependencies in installer when tracking or in editor when saving
- won't re-download dependencies unnecessarily when clicking updateAll button in the dashboard
- will set script's lastUpdated time only if its code changed and not just settings
- throttling updates from the same server for 1000ms to avoid "too many requests" error
Changes since v2.18.3:
- various fixes for UI/dashboard/import
Full commit log: v2.18.0...v2.19.0
BETA v2.18.3
This is a beta release of Violentmonkey (also in WebStore), use it at your own risk.
If you already use Violentmonkey, click Export to zip
in settings before installing the beta.
Notable changes since v2.18.2:
- separate config for CodeMirror in script editor -> values -> editor
- promisified GM.xmlHttpRequest and GM.download so it can be await'ed.
Commit log: v2.18.2...v2.18.3
BETA v2.18.2
This is a beta release of Violentmonkey (also in WebStore), use it at your own risk.
If you already use Violentmonkey, click Export to zip
in settings before installing the beta.
Notable changes since v2.18.1:
- dashboard: updateAll batch action icon to apply only to the matching scripts
- dashboard: search in script code by default again, enable case-sensitivity for regexps without
i
flag and when the inputcontains upper case lettersis quoted (v2.19.0) - popup: show matching scripts (name crossed in red) that weren't injected in this tab e.g. when the extension was just toggled/updated/installed and the tab wasn't reloaded yet, or after "reload tab without scripts" command, or due to an incorrect use of
@match
with a Single-Page Application site - internals: faster processing when there's a lot of disabled scripts
- userscripts: ~30 more globals that start with a lowercase letter are provided in their initial form not altered by the site's framework
Commit log: v2.18.1...v2.18.2
BETA v2.18.1
This is a beta release of Violentmonkey (also in WebStore), use it at your own risk.
If you already use Violentmonkey, click Export to zip
in settings before installing the beta.
New features since v2.18.0:
- batch actions in the dashboard
- tags in script editor settings and enhanced searching in the dashboard
Fixes for scripts
- GM_setValue + GM_addValueChangeListener with frozen tabs
- built-in functions like setTimeout/setInterval were sometimes overriden by a site
- userAgent customized via about:config or devtools device overrides will be sent now in GM_xmlhttpRequest as User-Agent header
Editing/updating
- won't re-download dependencies in installer when tracking or in editor when saving
- won't re-download dependencies unnecessarily when clicking updateAll button in the dashboard
- will set script's lastUpdated time only if its code changed and not just settings
- throttling updates from the same server for 1000ms to avoid "too many requests" error
Commit log: v2.18.0...v2.18.1
v2.18.0
Notable changes since v2.17.1:
- add
Reset settings
andRemove all scripts
buttons in Settings ->Backup and Maintenance
section - fix opening editor/dashboard from the popup in Firefox Android
Commit log: v2.17.1...v2.18.0
BETA v2.17.1
This is a beta release of Violentmonkey (also in WebStore), use it at your own risk.
If you already use Violentmonkey, click Export to zip
in settings before installing the beta.
Notable changes since v2.17.0:
- fix: performance degradation when making tons (e.g. 100) of GM_xmlhttpRequest calls simultaneously
- fix: installing from github releases
Commit log: v2.17.0...v2.17.1
v2.17.0
Notable changes since BETA v2.16.2:
- fix #1979: fix installer for github urls with ?raw=1
- fix #1983: show menu command for frame-only scripts
- fix #1984: auto-fetch icon cache if missing
Commit log: v2.16.0...v2.17.0
BETA v2.16.2
This is a beta release of Violentmonkey (also in WebStore), use it at your own risk.
If you already use Violentmonkey, click Export to zip
in settings before installing the beta.
Notable changes:
- fix issues in Orion browser thanks to @cyfung1031, the gray icon color is fixed in the upcoming version of Orion
- fix GM_notification with zombieUrl
- fix GM_registerCommand repeatedly called with the same text
- fix GM_xmlhttpRequest with an empty blob
- support new greasyfork urls when auto-inferring home/feedback links
- circumvent style-src CSP in Firefox in GM_addStyle and GM_addElement
Commit log: v2.16.1...v2.16.2
BETA v2.16.1
This is a beta release of Violentmonkey (also in WebStore), use it at your own risk.
If you already use Violentmonkey, click Export to zip
in settings before installing the beta.
Notable changes:
- New
{{date:format}}
variable in script template setting, using MomentJSformat
- New
Enable
option in script editor settings (#1954) to toggle the script's status inside the editor - New
zombieUrl
option in GM_notification (#1945) - this URL will be opened when a "zombie" notification is clicked i.e. the one shown whenzombieTimeout
is specified in GM_notification so that it remains visible after the script's tab is closed or navigated.
Commit log: v2.16.0...v2.16.1
v2.16.0
Notable changes since 2.15.0:
-
New menu commands to open settings, update matched scripts, reload the page without userscripts
-
update:
- disallow editing auto-updated scripts by default as long as the update option is enabled + an option to allow edits for those who isn't afraid to lose their changes next time the script is auto-updated
- check only 2 scripts simultaneously when updating all scripts
- disable browser cache when checking for an update
- force a re-download from server when manually checking an individual script for update
- allow manually updating a script in the dashboard even if its update option is disabled in the editor, the icon is hollowed in this case:
- disallow editing auto-updated scripts by default as long as the update option is enabled + an option to allow edits for those who isn't afraid to lose their changes next time the script is auto-updated
-
Chrome 86+: tracking of edits in a local file by drag'n'dropping it into any Violentmonkey page/popup. Now you don't need to enable the unsafe access to file URLs in chrome://extensions page for Violentmonkey and you don't need to install a local HTTP server. To make life even easier you can assign a hotkey to activate the extension's popup and press it while dragging the file, then drop it inside.
-
use 'nonce' of the page in Firefox to automatically inject in
page
mode (examples: twitter, reddit). -
CtrlS or ⌘S hotkey in text fields inside Violentmonkey's advanced options section
-
Alt or ⌥ key or double-click to select the script name when sorting by
execution order
-
added keyboard navigation in the list of
@require/@resource
viewer -
Added
Undo
button in the info bubble shown after importing the backup file -
minimum Chrome version is 61
-
New installation buttons:
You can click the checkbox to set the default button and enable the hotkey CtrlEnter or ⌘Enter:
The next button's checkbox overrides the previous button's checkbox:
-
- added
GM_info.isIncognito
boolean - added
GM_info.platform.brand
(also exposed asbrowserBrand
), it's the most unique brand fromnavigator.userAgentData.brands
(currently supported only by Chrome/ium 90 and newer), it's guaranteed to be unaltered by another extension in the page. - added shorter aliases
name
andversion
inGM_info.platform
forbrowserName
andbrowserVersion
.
- added
-
- added
zombieTimeout
,tag
,silent
options; - when
onclick
function is specified the notification will be shown until the user clicks it (in Chrome).
- added
-
GM_registerMenuCommand: new parameter to specify the command's hint, auto-close behavior, and an id to change the command without recreating it.
Notable fixes:
- old code was injected under certain conditions when editing scripts, #1793
- old GM storage was used when the tab was reloaded quickly, #1899
- pre-rendering and bfcache in Chrome
- script installation in sleazyfork
- script version detection on greasyfork
- GM_getResourceURL in Chrome 109 and newer;
in earlier versions of Violentmonkey please useGM_getResourceURL('name', false)
as a workaround - GM_log in Chrome 109+
- GM_xmlhttpRequest:
- stop sending duplicate readystatechange 4 events in Firefox
- improve internal performance for a huge text response
Commit log: v2.15.0...v2.16.0