OpenUserJS / OpenUserJS.org

The home of FOSS user scripts.
https://openuserjs.org/
GNU General Public License v3.0
850 stars 300 forks source link

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

Open Martii opened 6 years ago

Martii commented 6 years ago

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):

Martii commented 5 years ago

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