TB 60.5.0 User Agent String

User Help for Mozilla Thunderbird
Post Reply
User avatar
L.A.R. Grizzly
Posts: 5396
Joined: March 15th, 2005, 5:32 pm
Location: Upstate Ohio, USA
Contact:

TB 60.5.0 User Agent String

Post by L.A.R. Grizzly »

Where can I find a list of useragent strings for TB that includes v60.5.1?

Thanx
Last edited by L.A.R. Grizzly on February 14th, 2019, 2:22 pm, edited 1 time in total.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: TB 60.5.0 User Agent String

Post by morat »

You can see your user agent string using the error console command line.

i.e. Tools > Developer Tools > Error Console

Code: Select all

navigator.userAgent + " " + Services.prefs.getCharPref("calendar.useragent.extra");
Browser Console command line
http://developer.mozilla.org/docs/Tools ... mmand_line

Here is my user agent string.
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 Lightning/6.2.5
Examples
http://developers.whatismybrowser.com/u ... underbird/
http://user-agents.net/email-clients/thunderbird
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: TB 60.5.0 User Agent String

Post by tanstaafl »

The user agent is listed in help -> troubleshooting information. Mine is Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 . The first time I copied that I wasn't aware that Lightning was disabled (side effect of temporarily using a daily build with the same profile as 60.5).

When I try to get the user agent via the error console I got:

navigator.userAgent + " " + Services.prefs.getCharPref("calendar.useragent.extra");
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: debugger eval code :: <TOP_LEVEL> :: line 1" data: no]

I installed a new copy of Lightning, restarted and got

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
from help -> troubleshooting information, and from the error console:

navigator.userAgent + " " + Services.prefs.getCharPref("calendar.useragent.extra");
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 Lightning/6.2.5"

https://www.w3schools.com/jsref/prop_nav_useragent.asp says the user agent sent by your browser is just navigator.userAgent . If I enter that in the error console I get

navigator.userAgent
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0"

I looked at the raw source of a copy of a message I sent:

Subject: user agent
Message-ID: <a3b75263-3c29-b16c-16ea-da225ff84921@fastmail.fm>
Date: Thu, 14 Feb 2019 14:02:09 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.5.0

which omits any mention of Lightning, even though it was enabled when sending.

So I would argue that what is the user agent is context dependent, but normally omits any mention of Lightning unless you are doing something calendar specific.
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: TB 60.5.0 User Agent String

Post by morat »

I see the extra Lightning string when I open a content tab to the following site using the error console command line.

Code: Select all

openContentTab("http://whatsmyuseragent.org/", "tab", "");
What's my User Agent?
http://whatsmyuseragent.org/

I don't see the extra Lightning string in the message files in the ImapMail folder.
User avatar
L.A.R. Grizzly
Posts: 5396
Joined: March 15th, 2005, 5:32 pm
Location: Upstate Ohio, USA
Contact:

Re: TB 60.5.0 User Agent String

Post by L.A.R. Grizzly »

I don't want to see my useragent string. I want a place to view current useragent strings. I'm using TB 52.9.1 and I want to spoof my useragent with the current version of TB.
I saw those pages but they don't list current version of TB (60.5.1).
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: TB 60.5.0 User Agent String

Post by tanstaafl »

morat wrote:I see the extra Lightning string when I open a content tab to the following site using the error console command line.
Good point. I know the enigmail add-on by default doesn't add a substring to the user agent, but it has the capability to do so. I wonder if http://whatsmyuseragent.org would see it or not. Its not clear to me how smart the various web sites to display your user agent are, its possible if they recognize Thunderbird in the user agent string they make another call to get the Lightning version because its usually bundled with Thunderbird.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: TB 60.5.0 User Agent String

Post by tanstaafl »

L.A.R. Grizzly wrote:I don't want to see my useragent string. I want a place to view current useragent strings. I'm using TB 52.9.1 and I want to spoof my useragent with the current version of TB.
Why? What are you trying to accomplish by doing that?

Support for general.useragent.override might be back . https://bugzilla.mozilla.org/show_bug.cgi?id=933959 claims it was removed in Firefox 25 but a comment at the end says it works in Firefox 57. Its not defined by default in Thunderbird but you could experiment with adding it using the config editor

https://superuser.com/questions/332278/ ... or-privacy
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: TB 60.5.0 User Agent String

Post by morat »

Well, you aren't likely to find a user agent string of a just released version in any database.

Version 60.5.1 first offered on February 14
http://www.thunderbird.net/thunderbird/ ... easenotes/
User avatar
makaiguy
Posts: 16878
Joined: November 18th, 2002, 6:44 pm
Location: Somewhere in SE USA
Contact:

Re: TB 60.5.0 User Agent String

Post by makaiguy »

FWIW - user string identified in header of message I sent myself using TB 60.5.1:

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

I don't have Lightning installed.
Doug Wilson
Win10 64bit: FF 124.0.2 64bit, TB 102.12.0 32-bit ║ Android 13/10: FF 124.2.0/115.9.0 ║ No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers
User avatar
L.A.R. Grizzly
Posts: 5396
Joined: March 15th, 2005, 5:32 pm
Location: Upstate Ohio, USA
Contact:

Re: TB 60.5.0 User Agent String

Post by L.A.R. Grizzly »

makaiguy wrote:FWIW - user string identified in header of message I sent myself using TB 60.5.1:

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

I don't have Lightning installed.
Thanks makaiguy,

Maybe this is not so important, but I'm using an old version of TB (new TB versions kill my add-ons). Since TB displays websites with HTML turned on, I was wanting to avoid "browser is outdated" warnings. I haven't received any yet, but thought I'd get a jump on it. I've already done this with FX and SM. Kudos!
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Post Reply