[Greasemonkey] Question: what would happen if Greasemonkey sent the ID of every applicable user script with each request?

Matthias Bauer ml-greasemonkey-42imk83y at moeffju.net
Tue May 3 01:00:13 EDT 2005


On 02.05.2005 18:24 Edward Lee wrote:

>>I was wondering: what would it do to the balance of power if
>>Greasemonkey sent headers with each browser request announcing itself
>>and each of the enabled scripts?
> 
> Just a comment about the headers, you suggested sending each enabled
> script as well. I suppose it could be "correctly" sent as a header
> inside a comment field and send the user script.. name? and version?
> But then it's possible user agent names could become huge with either
> a lot of scripts or scripts with really long names.. or a combination.

That should probably look like

Mozilla/[...] Greasemonkey/0.3a (adRemover/2 skipInterstitials/5 "name
with spaces"/17)

And -btw- I think sending GM/script info along is not a good idea, for
reasons others have mentioned.

-M


More information about the Greasemonkey mailing list