navchandar / Share Less - URL tracking remover

This script won't install. I keep getting this error:
Script save error

Ignoring @match pattern https://google.co* because: Error: @match: Could not parse the pattern: https://google.co*

The editor contents have not been saved. Fix this error and try again.

How can I fix this? I know nothing about coding.

That's because @navchandar isn't using @match correctly. See https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns at the "host" section. The script is using a wildcard in the wrong place.

You should be able to change the match to an include at the current L18 and L19 in a local downloaded copy of the script and then install manually.

Like this:

--- /scripts/navchandar/Share_Less_-_URL_tracking_remover/source@1.3+b66d211
+++ /scripts/navchandar/Share_Less_-_URL_tracking_remover/source
@@ -15,8 +15,8 @@
 // @setupURL        https://openuserjs.org/install/navchandar/Share_Less_-_URL_tracking_remover.user.js
 // @icon            data:image/svg+xml;base64,...
 // @license         MPL-2.0
-// @match           https://google.co*
-// @match           http://google.co*
+// @include         https://google.co*
+// @include         http://google.co*
 // @include         https://www.google.co*
 // @include         http://www.google.co*
 // @include         https://www.instagram.co*