I tend to agree with Anthony.  

Userscripts are great for rapid prototyping of ideas, and then sharing with 
non-technical folk.  As Anthony mentions, they are easily and quickly 
edited without having to go through external review processes.  This is 
particularly important when agility is critical to your context.

My other comment in relation to their differences is that userscripting has 
a much lower cognitive load for beginners.  As an example, you don't have 
to deal with the complexities of IPC between browser processes (i.e. 
content and background scripts).  It has a simple API that abstracts away 
said underlying complexity with some trade-off in functionality.  This also 
makes it a great stepping stone towards Webextensions, if necessary.

Damo.

On Sunday, November 19, 2017 at 2:31:58 AM UTC+10, Anthony Lieuallen wrote:
>
> On Sat, Nov 18, 2017 at 8:06 AM, Georgi Rusev <[email protected] 
> <javascript:>> wrote:
>
>> Now, if the purpose, functionality or eventually even APIs were the same, 
>> why do we even need Userscripts?
>>
>
> I personally see two major differences.
>
> One: Extensions tend to be stable features for the browser.  User scripts 
> tend to target a _site_ however, which is less stable, and more likely to 
> change (and require the script to match the change).  User scripts are good 
> at being easily edited, in place, until fixed.
> Two: Being smaller and more targeted, user scripts are delivered 
> differently.  You don't need Mozilla/Google/whomever to review your user 
> script before you can distribute it nor approve of it.
>
> That said; there's much more overlap today, than when user scripts were 
> new.  Some user scripts like Reddit Enhancement Suite became an extension.  
> WebExtensions are easier to author, so there's more places that it makes 
> sense to go straight that route.
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to