20
edits
(Question about browser.windows.onCreate) |
(Formatting) |
||
Line 3: | Line 3: | ||
==== Removing install.rdf? ==== | ==== Removing install.rdf? ==== | ||
'''Question''': "To use this overlay loader... extensions must replace <tt>install.rdf</tt> file with a ... <tt>manifest.json</tt>". <- isn't it enough to just ''add'' a <tt>manifest.json</tt> file? Or do I actually need to remove the | '''Question''': "To use this overlay loader... extensions must replace <tt>install.rdf</tt> file with a ... <tt>manifest.json</tt>". <- isn't it enough to just ''add'' a <tt>manifest.json</tt> file? Or do I actually need to remove the <tt>install.rdf<tt> to prevent Thunderbird from mishandling my extension? | ||
==== Name confusion ==== | ==== Name confusion ==== | ||
Line 27: | Line 27: | ||
'''Question''': Thunderbird 63 - does removing XUL <tt>stringbundleset</tt>/<tt>stringbundle</tt>, also effect <tt>nsIStringBundleService?</tt><br /> | '''Question''': Thunderbird 63 - does removing XUL <tt>stringbundleset</tt>/<tt>stringbundle</tt>, also effect <tt>nsIStringBundleService?</tt><br /> | ||
Or can this still be used - e.g.:<br /> | Or can this still be used - e.g.:<br /> | ||
let sb = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService); | |||
'''Answer''': <tt>nsIStringBundleService</tt> goes away as well. You need to use | '''Answer''': <tt>nsIStringBundleService</tt> goes away as well. You need to use | ||
Services.strings.createBundle(...) | |||
as suggested on the page. | |||
====windows API==== | ====windows API==== |
edits