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