Generalize Thunderbird extension handling to cover Firefox