Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
468 stars 20 forks source link

BrowserInfo name Thunderbird - intentionally? #192

Closed Rimole closed 1 year ago

Rimole commented 1 year ago

The API provides browser.runtime.getBrowserInfo()

My Betterbird says: name: "Thunderbird", vendor: "", version: "115.1.1", buildID: "20230815110105"

Is this intentional (for example for compatibility), that Betterbird calls itself "Thunderbird" here?

Betterbird commented 1 year ago

Yes. Betterbird calls itself Thunderbird almost everywhere, also in the UA string, otherwise access to ATN wouldn't work. We have considered to implement a distinction of some sort, but so far that hasn't been done. If you need to distinguish, you can get AppConstants.MOZ_APP_VERSION_DISPLAY or AppConstants.MOZ_APP_DISPLAYNAME_DO_NOT_USE.

Of course getBrowserInfo() could be changed, too. These days it just returns AppConstants.MOZ_APP_BASENAME (or similar).