Skip to content

Releases: violentmonkey/violentmonkey

v2.19.0

18 May 19:49
Compare
Choose a tag to compare

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:

Full commit log: v2.18.0...v2.19.0

BETA v2.18.3

18 Apr 13:54
Compare
Choose a tag to compare
BETA v2.18.3 Pre-release
Pre-release

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

30 Mar 19:23
Compare
Choose a tag to compare
BETA v2.18.2 Pre-release
Pre-release

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 input contains upper case letters is 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

04 Mar 13:10
Compare
Choose a tag to compare
BETA v2.18.1 Pre-release
Pre-release

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

11 Jan 16:46
Compare
Choose a tag to compare

Notable changes since v2.17.1:

  • add Reset settings and Remove 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

30 Dec 10:17
Compare
Choose a tag to compare
BETA v2.17.1 Pre-release
Pre-release

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

26 Dec 20:55
Compare
Choose a tag to compare

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

09 Dec 21:43
Compare
Choose a tag to compare
BETA v2.16.2 Pre-release
Pre-release

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

20 Nov 20:00
Compare
Choose a tag to compare
BETA v2.16.1 Pre-release
Pre-release

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 MomentJS format
  • 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 when zombieTimeout 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

25 Oct 10:57
Compare
Choose a tag to compare

Notable changes since 2.15.0:

  • New menu commands to open settings, update matched scripts, reload the page without userscripts
    pic

  • Context menu for the icon
    image

  • 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
      pic
    • 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: image
  • 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:

    image

    You can click the checkbox to set the default button and enable the hotkey CtrlEnter or Enter:
    image

    The next button's checkbox overrides the previous button's checkbox:
    image

    For local files:
    image

    Auto-reload of the tab:
    image

  • GM_info:

    • added GM_info.isIncognito boolean
    • added GM_info.platform.brand (also exposed as browserBrand), it's the most unique brand from navigator.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 and version in GM_info.platform for browserName and browserVersion.
  • GM_notification:

    • added zombieTimeout, tag, silent options;
    • when onclick function is specified the notification will be shown until the user clicks it (in Chrome).
  • 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 use GM_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