Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.software.firefox > #13236

Re: An annoying state of affairs

From "David E. Ross" <nobody@nowhere.invalid>
Newsgroups alt.comp.software.firefox
Subject Re: An annoying state of affairs
Date 2025-04-30 17:23 -0700
Organization I am @ David at rossde dot com.
Message-ID <vuueu5$1diu1$1@dont-email.me> (permalink)
References <5c15d17484dnews@triffid.co.uk> <vuu47v$1474o$1@dont-email.me>

Show all headers | View raw


On 4/30/2025 2:22 PM, Newyana2 wrote:
> On 4/30/2025 3:33 PM, Dnews wrote:
>> Good day folks,
>> An annoying state of affairs has presented itself for my dear wife.
>>
>> She's been using Firefox on MS Windows for many years, and recently a
>> couple of sites she uses will not work with firefox.
>>
>> She's communicated with them and they say their sites have been tailored
>> to work with 'MS-Edge or Google Chrome for a smoother and better
>> experience for the users', and so she should use one of them.  :-(  (Crap).
>>
>> I have a vague recollection there is a setting in About:config Preferences
>> to spoof/make Firefox appear to be another browser, like Edge.  :-(
>>
>> Is there a setting I can use to fix this for her?
>>
>> What might it be?
>>
> 
>    You can spoof the userAgent. They don't make it easy.
> First you have to set thisvalue to true, or add it if it's
> not there:
> 
> general.useragent.enable_overrides
> 
> Then put the new value in this setting:
> 
> general.useragent.override
> 
> This is a recent one for Chrome:
> 
> Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/134.0.0.0 Safari/537.3
> 
>    You can try that. Maybe it will work. But I don't think most
> of these sites are blocking FF. They're just using jazzed up
> javascript, optimized for Chrome. The people you're talking
> to have no idea what they're doing. They're just using automated
> tools and not bothering to test the code. It's no use talking
> to them about things like supporting all browsers. Most of
> these people have no idea of even how to write HTML. Some
> of the pages areactually javascript software programs, with
> zero HTML.
> 
>     What I do is to keep a portable copy of unGoogled Chrome.
> I use that when I have to, mostly highly interactive sites like
> login for my doctor. Otherwise I use FF. I have NoScript in both
> browsers.
> 

I don't know if this works for Firefox, but it does work for SeaMonkey.

What you need is a preference in the form
	user_pref("general.useragent.override.xxx.yyy", "zzz");
where xxx.yyy is the basic domain of the Web site causing trouble and
ZZZ is the complete user agent string of the browser you want to spoof.
This means you will always spoof when visiting xxx.yyy by claiming to be
the browser with the UA string zzz without having to enable the spoof
beforehand and disabling it afterwards.

Using SeaMonkey, I spoof an old version of Firefox when visiting the Web
site of the U.S. Postal service with the following:
	user_pref("general.useragent.override.usps.com", "Mozilla/5.0
	(Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101
	Firefox/75.0");
	// make USPS think I have Firefox 75.0
I put this in user.js, not prefs.js, because I can notate settings in
user.js.  The // indicates a comment for such a notation.  Remember, the
semi-colon (;) at the end is required.  Having set a preference via
user.js, it is necessary to terminate and then relaunch the browser.

-- 
David E. Ross
<http://www.rossde.com/>

President Trump wants all Palestinians to leave Gaza and
relocate elsewhere.  How many will he accept to relocate
in the United States?

Back to alt.comp.software.firefox | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

An annoying state of affairs Dnews <dnews@triffid.co.uk> - 2025-04-30 20:33 +0100
  Re: An annoying state of affairs "Alan K." <alan@invalid.com> - 2025-04-30 15:39 -0400
  Re: An annoying state of affairs jjb <jjb@invalid.invalid> - 2025-04-30 22:09 +0200
    Re: An annoying state of affairs candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-05-01 16:00 +0000
  Re: An annoying state of affairs Newyana2 <newyana@invalid.nospam> - 2025-04-30 17:22 -0400
    Re: An annoying state of affairs "David E. Ross" <nobody@nowhere.invalid> - 2025-04-30 17:23 -0700
      Re: An annoying state of affairs NFN Smith <worldoff9908@gmail.com> - 2025-05-01 12:56 -0700
    Re: An annoying state of affairs "Carlos E.R." <robin_listas@es.invalid> - 2025-05-04 15:00 +0200
  Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-04-30 19:57 -0500
    Re: An annoying state of affairs The Real Bev <bashley101@gmail.com> - 2025-05-04 09:50 -0700
  Re: An annoying state of affairs NFN Smith <worldoff9908@gmail.com> - 2025-05-01 12:48 -0700
    Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-01 22:33 +0000
      Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-01 18:47 -0500
        Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-02 08:00 +0000
          Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-02 05:02 -0500
            Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-03 00:39 +0000
              Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-03 01:51 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-03 07:43 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-03 10:44 -0500
              Re: An annoying state of affairs Jeff Layman <Jeff@invalid.invalid> - 2025-05-03 08:31 +0100
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-03 07:39 +0000
                Re: An annoying state of affairs Jeff Layman <Jeff@invalid.invalid> - 2025-05-03 09:12 +0100
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-03 22:30 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-03 19:18 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 02:07 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-03 22:48 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 06:40 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 05:28 -0500
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 05:32 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 23:56 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 21:43 -0500
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 21:58 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-06 22:42 +0000
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-05 07:26 +0000
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-05 07:28 +0000
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 21:41 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 17:33 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 23:20 +0000
                Re: An annoying state of affairs "Carlos E.R." <robin_listas@es.invalid> - 2025-05-04 15:02 +0200
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 12:44 -0500
                Re: An annoying state of affairs "Carlos E.R." <robin_listas@es.invalid> - 2025-05-04 20:11 +0200
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 21:36 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 17:34 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-04 23:20 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-04 21:48 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-05 07:29 +0000
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-05 05:11 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-06 22:44 +0000
                Re: An annoying state of affairs Ken Blake <Ken@invalid.news.com> - 2025-05-07 08:58 -0700
                Re: An annoying state of affairs VanguardLH <V@nguard.LH> - 2025-05-03 10:53 -0500
                Re: An annoying state of affairs Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-03 22:33 +0000
    Re: An annoying state of affairs Mark Lloyd <not.email@all.invalid> - 2025-05-02 17:36 +0000
      Re: An annoying state of affairs sticks <wolverine01@charter.net> - 2025-05-02 14:32 -0500
        Re: An annoying state of affairs "Alan K." <alan@invalid.com> - 2025-05-02 17:08 -0400
  Re: An annoying state of affairs Dnews <dnews@triffid.co.uk> - 2025-05-04 07:17 +0100
    Re: An annoying state of affairs Dave Royal <dave@dave123royal.com> - 2025-05-04 07:59 +0100
    Re: An annoying state of affairs Newyana2 <newyana@invalid.nospam> - 2025-05-04 08:20 -0400

csiph-web