UA spoofing

Could someone remind me again how to lie to a specific website about my 
user agent? They're doing bad browser sniffing and refuse to play until 
I prove that I have at least Firefox 47 [sic].

Thanks.

-- 
War doesn't determine who's right, just who's left.
--
Paul B. Gallagher

0
Paul
8/12/2019 3:42:52 AM
mozilla.support.seamonkey 13295 articles. 0 followers. Post Follow

6 Replies
57 Views

Similar Articles

[PageSpeed] 13

Paul B. Gallagher:

>Could someone remind me again how to lie to a specific website about my 
>user agent? They're doing bad browser sniffing and refuse to play until 
>I prove that I have at least Firefox 47 [sic].

Here are two examples from my user.js:

user_pref("general.useragent.override.independent.co.uk", "Mozilla/5.0
(X11; Linux x86_64; rv:59.0) Gecko/2018010400 Firefox/59.0
SeaMonkey/2.56a1-h");

user_pref("general.useragent.override.whatsapp.com", "Mozilla/5.0
(Windows NT 10.0; WOW64; rv:52.0)  Gecko/20100101 Firefox/63.0")

Hartmut
0
Hartmut
8/12/2019 4:13:23 AM
Hartmut Figge wrote:

> Paul B. Gallagher:
> 
>> Could someone remind me again how to lie to a specific website about my
>> user agent? They're doing bad browser sniffing and refuse to play until
>> I prove that I have at least Firefox 47 [sic].
> 
> Here are two examples from my user.js:
> 
> user_pref("general.useragent.override.independent.co.uk", "Mozilla/5.0
> (X11; Linux x86_64; rv:59.0) Gecko/2018010400 Firefox/59.0
> SeaMonkey/2.56a1-h");
> 
> user_pref("general.useragent.override.whatsapp.com", "Mozilla/5.0
> (Windows NT 10.0; WOW64; rv:52.0)  Gecko/20100101 Firefox/63.0")

Thanks. Will give it a shot.

-- 
War doesn't determine who's right, just who's left.
--
Paul B. Gallagher

0
Paul
8/12/2019 6:17:24 AM
Paul B. Gallagher wrote on 12/08/2019 4:17 PM:
> Hartmut Figge wrote:
>> Paul B. Gallagher:
>>
>>> Could someone remind me again how to lie to a specific website about my
>>> user agent? They're doing bad browser sniffing and refuse to play until
>>> I prove that I have at least Firefox 47 [sic].
>>
>> Here are two examples from my user.js:
>>
>> user_pref("general.useragent.override.independent.co.uk", "Mozilla/5.0
>> (X11; Linux x86_64; rv:59.0) Gecko/2018010400 Firefox/59.0
>> SeaMonkey/2.56a1-h");
>>
>> user_pref("general.useragent.override.whatsapp.com", "Mozilla/5.0
>> (Windows NT 10.0; WOW64; rv:52.0)  Gecko/20100101 Firefox/63.0")
> 
> Thanks. Will give it a shot.
> 
.... but, Paul, note that the two user prefs Hartmut gave you are 
overrides for specific web sites, so may not fix your problem.

However, they may indicate have to set your own override for the 
specific sites you are having problems with!!

-- 
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 
SeaMonkey/2.49.1 Build identifier: 20171016030418
or
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 
SeaMonkey/2.49.5 Build identifier: 20190609032134

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 
SeaMonkey/2.49.1 Build identifier: 20171015235623
0
Daniel
8/12/2019 7:41:32 AM
Daniel wrote:
> Paul B. Gallagher wrote on 12/08/2019 4:17 PM:
>> Hartmut Figge wrote:
>>> Paul B. Gallagher:
>>>
>>>> Could someone remind me again how to lie to a specific website about my
>>>> user agent? They're doing bad browser sniffing and refuse to play until
>>>> I prove that I have at least Firefox 47 [sic].
>>>
>>> Here are two examples from my user.js:
>>>
>>> user_pref("general.useragent.override.independent.co.uk", "Mozilla/5.0
>>> (X11; Linux x86_64; rv:59.0) Gecko/2018010400 Firefox/59.0
>>> SeaMonkey/2.56a1-h");
>>>
>>> user_pref("general.useragent.override.whatsapp.com", "Mozilla/5.0
>>> (Windows NT 10.0; WOW64; rv:52.0)  Gecko/20100101 Firefox/63.0")
>>
>> Thanks. Will give it a shot.
>>
> ... but, Paul, note that the two user prefs Hartmut gave you are 
> overrides for specific web sites, so may not fix your problem.
> 
> However, they may indicate have to set your own override for the 
> specific sites you are having problems with!!
> 

I don't know - that the overrides are for specific websites is 
absolutely obvious when you look at them, and I rather like the idea of 
lying about the operating system.  Windows 98 rides again?

-- 
spammus ergo sum, viruses courtesy of https://www.nsa.gov/malware/
0
Don
8/12/2019 9:00:44 AM
Daniel wrote:
> Paul B. Gallagher wrote on 12/08/2019 4:17 PM:
>> Hartmut Figge wrote:
>>> Paul B. Gallagher:
>>>
>>>> Could someone remind me again how to lie to a specific website about my
>>>> user agent? They're doing bad browser sniffing and refuse to play until
>>>> I prove that I have at least Firefox 47 [sic].
>>>
>>> Here are two examples from my user.js:
>>>
>>> user_pref("general.useragent.override.independent.co.uk", "Mozilla/5.0
>>> (X11; Linux x86_64; rv:59.0) Gecko/2018010400 Firefox/59.0
>>> SeaMonkey/2.56a1-h");
>>>
>>> user_pref("general.useragent.override.whatsapp.com", "Mozilla/5.0
>>> (Windows NT 10.0; WOW64; rv:52.0)  Gecko/20100101 Firefox/63.0")
>>
>> Thanks. Will give it a shot.
>>
> ... but, Paul, note that the two user prefs Hartmut gave you are 
> overrides for specific web sites, so may not fix your problem.
> 
> However, they may indicate have to set your own override for the 
> specific sites you are having problems with!!

Overrides for specific websites is exactly what I asked for.

I have the basic competence to replace "independent.co.uk" or 
"whatsapp.com" with the domain that's bothering me and to replace his UA 
strings with my own. I'm not a complete idiot. I just needed the syntax.

-- 
War doesn't determine who's right, just who's left.
--
Paul B. Gallagher

0
Paul
8/12/2019 1:41:06 PM
Paul B. Gallagher wrote on 12/08/2019 11:41 PM:
> Daniel wrote:
>> Paul B. Gallagher wrote on 12/08/2019 4:17 PM:
>>> Hartmut Figge wrote:
>>>> Paul B. Gallagher:
>>>>
>>>>> Could someone remind me again how to lie to a specific website 
>>>>> about my
>>>>> user agent? They're doing bad browser sniffing and refuse to play 
>>>>> until
>>>>> I prove that I have at least Firefox 47 [sic].
>>>>
>>>> Here are two examples from my user.js:
>>>>
>>>> user_pref("general.useragent.override.independent.co.uk", "Mozilla/5.0
>>>> (X11; Linux x86_64; rv:59.0) Gecko/2018010400 Firefox/59.0
>>>> SeaMonkey/2.56a1-h");
>>>>
>>>> user_pref("general.useragent.override.whatsapp.com", "Mozilla/5.0
>>>> (Windows NT 10.0; WOW64; rv:52.0)  Gecko/20100101 Firefox/63.0")
>>>
>>> Thanks. Will give it a shot.
>>>
>> ... but, Paul, note that the two user prefs Hartmut gave you are 
>> overrides for specific web sites, so may not fix your problem.
>>
>> However, they may indicate have to set your own override for the 
>> specific sites you are having problems with!!
> 
> Overrides for specific websites is exactly what I asked for.
> 
> I have the basic competence to replace "independent.co.uk" or 
> "whatsapp.com" with the domain that's bothering me and to replace his UA 
> strings with my own. I'm not a complete idiot. I just needed the syntax.
> 
No worries ... just pointing it out! ;-)

-- 
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 
SeaMonkey/2.49.1 Build identifier: 20171016030418
or
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 
SeaMonkey/2.49.5 Build identifier: 20190609032134

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 
SeaMonkey/2.49.1 Build identifier: 20171015235623
0
Daniel
8/13/2019 6:40:39 AM
Reply: