MozillaZine

Compiling with custom User Agent string

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Lost User 73507
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted February 24th, 2007, 3:47 pm

Is it possible to build firefox using a custom user agent? (something I can specify in .mozconfig, for example)

RabidPenguin

User avatar
 
Posts: 1661
Joined: June 15th, 2003, 8:39 pm
Location: USA

Post Posted February 24th, 2007, 9:56 pm

In the source file browser/app/profile/firefox.js change the line that reads
Code: Select all
pref("general.useragent.extra.firefox", "@APP_UA_NAME@/@APP_VERSION@");

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 2 guests