The obvious first one is "Profile" vs. "Application Directory" question, something that will be dealt with in 0.9.
But what else?
I looked at Piro's TBE and counted three popups in ADDITION to the profile v. application choice above. Here they are, with my explanation of why they are or will become unnecessary.
Install the Japanese Language Pack?
This should be handled as a separate XPI download, and configured from the webpage. e.g.:
Code: Select all
var usejaJALangPack = document.getElementById("usejaJALangPack").checked;
var obj = { "Tabbrowser Extensions": "http://url.to/tabbrowser.extensions.xpi"};
if (usejaJALangPack)
obj["Tabbrowser Extensions (Japanese Language Pack)"] = "http://url.to/tabbrowser.extensions/ja-JA.xpi";
InstallTrigger.install(obj);
The InstallTrigger's install method supports loading more than one extension at once, it takes an object parameter and each key in the object parameter represents an extension to install. i.e.
Code: Select all
var obj = { "Extension 1": "http://www.site.com/extension1.xpi", "Extension 2": "http://www.site.com/extension2.xpi", etc};
InstallTrigger.install(obj); // Installs all of them
No one should be offering add-on modules via poorly worded about boxes (e.g. OK/Cancel are not suitable verbs for installing a language pack) when this mechanism exists.
Installed with Light settings?
This can either be handled at runtime (complex, requires some "tip of the day" style code to offer this simple mode the first time the app is run).. or... the lite settings pack can be factored into a separate XPI and downloaded as well using the method I described above.
Summary, restart message.
From Firebird 0.8 onward, extensions won't have to deliver a restart message, the application framework will provide this for you, so any such informational popups are unnecessary.
Are there any other uses people put these abominable little dialogs to?