Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


sdfox7

Spoofing Firefox 53 (and newer versions) on Windows 2000 and XP

Recommended Posts

Thanks; I'll make the appropriate updates to myuseragents.js (posted on page 8) and re-upload it. I'll also change the OS version on the github*.com overrides from 6.0 (Vista) to 6.1 (Win 7). I doubt Github even looks at the OS version, but just in case they decide to start someday....

In fact I should probably bump the OS version on most of these to 6.3 (Win 8.1) soon; due to Win 7's impending EoS it's likely that some sites will start complaining about 6.1 next year.

(BTW, changing the OS version in the UA won't fool every Web site; it's possible to get the true OS version with JavaScript, unless you run the browser itself with a utility that spoofs the OS. Hopefully, though, most sites that look at the OS version don't go any deeper than the UA.)

Share this post


Link to post
Share on other sites

To fake the OS which gets reported by javascript, hope this pref still works:
general.oscpu.override = Windows NT 6.3

Edited by siria
  • Like 3

Share this post


Link to post
Share on other sites
29 minutes ago, siria said:

To fake the OS which gets reported by javascript, hope this pref still works:
general.oscpu.override = Windows NT 6.3

I just tested this on NM28/UXP and it still does! :thumbup Test site to verify:

http://browserspy.dk/browser.php

(Please note this pref doesn't modify the reported Windows NT version contained in the User Agent String (navigator.userAgent), so a website checking both strings via JS may get conflicting results:

jvjWpgl.jpg

) :)

  • Like 3

Share this post


Link to post
Share on other sites
Quote

general.oscpu.override = Windows NT 6.3

I use extension «User Agent Switcher» (by Chris Pederick, https://chrispederick.com/) to quickly change UserAgent.
Unfortunately, the author has not updated this extension since 2011.
Last official build - 0.7.3.1 (January 4th, 2011).
The build 0.7.3.1 can not spoofed property «navigator.oscpu» and real version OS is visible.
I changed the build 0.7.3.1 - added a property "navigator.oscpu" for spoofing. Checked in FF 52.9.0, Serpent and MyPal.

My unofficial build 0.7.3.2 in the attachment and here - https://www.upload.ee/files/10968463/user_agent_switcher-0.7.3.2-unofficial-fx_sm.xpi.html

user_agent_switcher-0.7.3.2-unofficial-fx+sm.xpi

screenshot.png

Edited by Dr. Drill
  • Like 2
  • Upvote 1

Share this post


Link to post
Share on other sites
On 9/17/2019 at 8:59 AM, Mathwiz said:

I should probably bump the OS version on most of these to 6.3 (Win 8.1) soon; due to Win 7's impending EoS it's likely that some sites will start complaining about 6.1 next year.

And, done. Also:

  1. removed the SSUAO for YouTube to v.42, since it will stop working soon
  2. put in a general.useragent.override to version 60.9. Newer versions of MCP's UXP-based browsers (PM/NM 28, Basilisk/Serpent 52) are now reporting 68.9, but that causes more problems than it solves IMO.

Updated version is here:

As always, feel free to modify the myuseragents.js file (or override in about:config) as desired to fit your own browser and the Web sites you visit.

Share this post


Link to post
Share on other sites

have I got this correct ?

Create A txt File With Following
pref("general.config.obscure_value", 0);
pref("general.config.filename", "config.js");
Name It config-prefs.js
Place Here C:\Program Files\Mozilla Firefox\defaults\pref

Create a txt File With Following
// needs to start with a comment line
Components.utils.import("resource://gre/modules/Services.jsm");
Services.obs.addObserver(function (aSubject, aTopic, aData) {
  var chromeWindow = aSubject;
  chromeWindow.setTimeout(function () {
    Components.utils.import("resource://gre/modules/UserAgentOverrides.jsm", chromeWindow);
    chromeWindow.UserAgentOverrides.init();
  }, 1000);
}, "browser-delayed-startup-finished", false);
Name it config.js
And Place Here C:\Program Files\Mozilla Firefox

Now you can use useroverride strings

this is what i used to have and the general.useragent.override.xxxxxx would work now they don't

I would have  general.useragent.override  Mozilla/5.0 (Windows NT 6.3; rv:56.0) Gecko/20100101 Firefox/56.0

then general.useragent.override.whatismybrowser  Mozilla/5.0 (Windows NT 6.3; rv:73.0) Gecko/20100101 Firefox/73.0

and whatismy browser would read i am upto date on 8.1 FF 73,,, now it seems as if it is sniffing out the correct version as being on

Mozilla/5.0 (Windows NT 6.3; rv:56.0) Gecko/20100101 Firefox/56.0

where have i gone wrong

Share this post


Link to post
Share on other sites

Would someone be kind enough to help here can;t figure this out

most if not all site are ok except facebook  (on Firefox 52.9)

the time line is fine But the profile page looks like i am on a mobile app, instead of  profile pic to corner of cover pic, its in centre below,

and text is in black Not blue, and some links greyed out, 

now i have all the correct UA's in place

thinking it was my PC i tried a different PC with 52.9 still same, but using facebook on chrome  49.0 on both PC's its no change way its supposed to be

So I tried my sons Win7 Lappy with FF 66.0 quantum still  same lookinging like a mobile app, but on his chrome 49 looks old way

i had a play with the UA and came up with this

Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

this does fool FB thinking I am on chrome 49.0 even tho I am FF 52.9 (here is the but)

althou I have HTML5 (primetime and widevine going) its works ok usung the UA I should but using the

Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

it breaks the html videos, it tries to play &/or tries to open in theatre instead of in FF and stops

has FB become biased against FF

it can;t be my 2 PC's with FF, as I tried 4 different FF on 4 different PC's even much much newer FF

or has FB enforced a change me, it does look nasty

some people i spoke to are having no problems

is there another UA I could use

 

Share this post


Link to post
Share on other sites

In order to resolve the BBC problem of non-playing programmes with Firefox on  XP since the beginning of November the following statement must be added to about:config :

general.useragent.override , and make the value: Mozilla/5.0 (Windows NT 7.0; rv:53.0) Gecko/20100101 Firefox/73.0

Thus implemented and Firefox restarted will effectively remove the 'ban' on all broadcasts on all programmes on BBC i-player :)

enjoy ;)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...