User agent platform token.

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
replica9000
Posts: 1
Joined: January 23rd, 2015, 10:13 pm

User agent platform token.

Post by replica9000 »

I know this seems silly, but Firefox on my system appears as "Linux x86_64" and I want it to appear as "Debian Linux x86_64".

I know I can use the general.useragent.override option in the user_prefs.js file, but it seems I can't use a partial string for just the platform token of the user agent. So everytime I update Firefox, I would also have to update the Firefox version number in the user_prefs.js file.

I've also compiled Firefox using the --with-distribution-id=org.debian in mozconfig, but that option doesn't seem to affect anything.

Is there another file I should be looking at before or after compile? Or maybe a different string in the user_prefs.js file?

Edit: Looks like I'll write a script to update the version number in the user_pref.js file.
Last edited by replica9000 on January 24th, 2015, 1:27 pm, edited 3 times in total.
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: User agent platform token.

Post by LoudNoise »

Mozilla/5.0 (X11; Debian Linux x86_64; rv:34.0.5) Gecko/20100101 Firefox/34.0.5

This is how it appears locally.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
Post Reply