I have a Thunderbird extension, that successfully work on version 52.9.1, but on 60.4.0 I have two errors:
1) on line:
Code: Select all
if (versionChecker.compare(Application.version, "4.0.11") >= 0)
I found here https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57 that
, but can't understand, how get version from AppConstants or Services.steelIApplication (removed due to removal of extIApplication) -- replacement: Services, AppConstants
2) on line:
Code: Select all
var xmlDoc = Components.classes["@mozilla.org/xul/xul-document;1"].createInstance (Components.interfaces.nsIDOMXULDocument);
Can anybody help me?