| ▲ | swyx 3 hours ago | ||||||||||||||||||||||||||||
is this better than using a chrome extension? i guess people need to have tampermonkey installed and so thats a slightly higher barrier to entry? i wonder if chrome would be interested in "sherlocking" userscripts so that we can distribute non security nightmare code easier. | |||||||||||||||||||||||||||||
| ▲ | noncovalence 2 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
In addition to the advantage of explicitly specified capabilities mentioned by others, I'd say a userscript is also much more durable and low-maintenance than a Chrome extension. This is coming from someone who's written an extension for personal use before, and had to jump through a million hoops with Chrome Dev just to give the browser permission to run my own code that I wrote myself, and that's to say nothing of the whole mess with manifest v3 as well. Throughout the entire time I've been able to happily keep using userscripts written by myself or others with 0 maintenance required. | |||||||||||||||||||||||||||||
| ▲ | twalichiewicz 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Mostly transparency. Since this runs across pages you visit (with the sites controlled by the @include/@exclude rules at the top of the script), I like that the entire source is right there and easy to inspect before installing it. A userscript also let me iterate quickly without dealing with extension packaging and permissions, but being able to see and tweak the code was a big part of the appeal. | |||||||||||||||||||||||||||||
| ▲ | perpil 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Tampermonkey isn't better than using a Chrome extension, but it's less friction for a developer to build and distribute a cross browser script. If they build it as an extension, they need to target multiple browsers and get it deployed to the Firefox/Chrome web store. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | aaron695 an hour ago | parent | prev [-] | ||||||||||||||||||||||||||||
[dead] | |||||||||||||||||||||||||||||