I try to implement solution explained at https://developer.mozilla.org/en-US/docs/Installing_Extensions_and_Themes_From_Web_Pages in order to have a “download-install” button for my self-distributed (non AMO) extension.
All is working fine … but I have a problem till the installation itself.
I try to do it without modifying the white list of Firefox (not user friendly at my point of view).
In fact the process download well the XPI file (from addons-mozilla.org or from my personnal site), but during installation itself, I have a warning popup asking installation authorization for my site.
How can I avoid this as Chrome do it with its inline_installation (https://developer.chrome.com/webstore/inline_installation) ? Is there a solution from Firefox side ?
I can accept (as on Chrome) a button to install effectivelly the extension but not a security warning
Thanks for your help and advices.