OpenUserJS.org icon indicating copy to clipboard operation
OpenUserJS.org copied to clipboard

Watch for possible breaking change in GM4 regarding invalid `@match` patterns.

Open Martii opened this issue 7 years ago • 1 comments

Most existing .user.js engines should abort installation altogether. If they don't then it will make it too wide and match on every site. I assume that Greasyfork may have an issue with their detections as well if this change in behavior comes to fruition.

Btw current Chrome and Chromium native .user.js parsing (e.g. no Tampermonkey) comes back with an error message of:

Chromium native .user.js parsing of bad match pattern

Cc: @Sxderp, @JasonBarnabe

Ref(s):

  • greasemonkey/greasemonkey#2837
  • https://developer.chrome.com/extensions/match_patterns (syntax reference)

Martii avatar Feb 12 '18 05:02 Martii

Btw this has been busted (changed) in GM4 e.g. they skip over it now from https://github.com/greasemonkey/greasemonkey/commit/0c4ad19fb8f167a6f59c8de0b055d9269168b73f

Martii avatar Mar 21 '19 22:03 Martii