8000 [BUG] Renaming @name in metadata of an external-edit-tracking script causes it to duplicate in VM · Issue #2268 · violentmonkey/violentmonkey · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[BUG] Renaming @name in metadata of an external-edit-tracking script causes it to duplicate in VM #2268
Closed
@fireattack

Description

@fireattack

Sequence of actions:

  1. create a script in your local disk, say, example.user.js:
// ==UserScript==
// @name         name2
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description
// @author       You
// @match        https://example.com/*
// @grant        none
// ==/UserScript==

// nothing here but us chicken!
  1. drag it into a VM window, and then click "track external edit".
  2. rename the // @name name2 to name3 and save the file externally

Problem:

This will cause a duplicate script to be created:

Image

Expected result:

It should not duplicate itself if you merely modifying metadata

Devtools console contents:

Environment:

  • OS: Windows 10
  • Browser: 131.0.6778.265 (Official Build) (64-bit) (cohort: Stable)
  • Violentmonkey Version: Violentmonkey BETAv2.29.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0