On Tue, 28 Apr 2009 14:48:56 +0200, Andreas Hartmann <[email protected]>
wrote:
> Florent André schrieb:
>> Thanks Andreas and Thomas for your quick and effective replies !
>> 
>> Just to do my "real user-end" :) :
>> 
>> - Now we have a cool script (I don't try it now) and a lenya specific
>> .xpi
>> :
>> -- It will be really cool to do that :
>> --- If the user don't have firedocs set up, the script detect it, init
>> the
>> installation on firefox, and the user have just to accept the module
>> install (like with "standard" firefox's modules on the official site).
>> 
>> ==> Do you think it's possible ? 
> 
> No idea, but I'm sure such a patch will be very much appreciated. Would 
> you like to investigate? :)
> 

This is a result of my little Sherlock Holmes time : 

* a tutorial explain how it's work :
**
https://developer.mozilla.org/En/Installing_Extensions_and_Themes_From_Web_Pages

* an example pick-up from the mozilla official site : 
<a href="/fr/firefox/downloads/latest/60/addon-60-latest.xpi" 
id="installTrigger28678" title="Ajouter Web Developer à Firefox"
addonName="Web Developer"
addonIcon="/en-US/firefox/images/addon_icon/60/1211254666"
addonHash="sha256:4d62c52037271b2e44c818a2d824ea920cff8ef9477bb78a3c1828b7a5ecf1f9"
onclick="return
install(event,document.getElementById('installTrigger28678').getAttribute('addonName'),
document.getElementById('installTrigger28678').getAttribute('addonIcon'),
document.getElementById('installTrigger28678').getAttribute('addonHash'));"><span><span><span><strong>Télécharger
</strong></span></span></span></a>            </p>
                <script type="text/javascript">
        installVersusDownloadCheck("installTrigger28678", "Ajouter à
Firefox ", "Télécharger ");
        </script>

* maybe, just an add off the install() function in the nice Thomas script
can be sufficient...

 I'm sorry, I really don't have time now to test a write of a patch, but
this is my first piece and If nobody implement this I sure do that one
day...

Thanks for this module
See you soon



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to