Windows 8 adoption is OK

Started Aug 6, 2013 | Discussions thread
Jim Cockfield Forum Pro • Posts: 16,342
Try these strings instead...

Jim Cockfield wrote:

I'd make sure you have the correct UA string entered in PrefBar, too (as a minor mistake can mean it's not going to be recognized properly). For example, this is the string I currently use for Firefox 19 running under 64 Bit Windows 7:

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:19.0) Gecko/20130222 Firefox/19.0

Try these instead (as it looks like some sites may need more info provided for javascript queries).

Firefox 23 running in 64 Bit Win 7:

js:useragent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0"; appname="Netscape"; appversion="5.0 (Windows)"; platform="Win32";

IE 10 (32 bit version) running in 64 Bit Win 7:

js:useragent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"; appname="Microsoft Internet Explorer"; appversion="5.0 (compatible; MSIE 10.0; Windows NT 6.1)"; platform="Win32";

After adding them to PrefBar, make sure you also have this extension enabled:

Then, restart Firefox (as that extension doesn't always work correction without a Firefox restart after you add new strings to PrefBar).

Then, you should be able to change the UA at anytime, refresh the screen and have the site you're visiting think you're using one of those browsers.

I booted into 64 Win 7, and grabbed the correct info (as shown by sites looking at the extended attributes using javascript) with both FF 23 and IE 10 to construct the above strings for use with PrefBar, and found that the sites saw them correctly that way (after restarting FF after adding the new strings).

Now... I didn't include things like the attributes for the .net versions supported in the IE 10 string.  Note that trying to "spoof" IE doesn't always work anyway (because the site produces content that won't work right in Firefox in many cases).  So, just because a site thinks you're using IE doesn't mean the content will work (as the underlying rendering engine is still Firefox). 

Here's one that can show you the extended UA info, too.

As you can see, if you change the browser UA using the drop down list, then refresh the page, it will show you that it's seeing the new UA string.

Many sites only look at the UA string without using a more sophisticated javascript query.   But, if you use those new strings, you should be OK with those sites, too.

There are many sites that can tell you the UA string you have set. For example, this one:

Here's another:

If you simply change the UA using the drop down list in PrefBar, then refresh the page, you can see that the UA being seen by sites is changing that way.

-- hide signature --


-- hide signature --


Post (hide subjects) Posted by
(unknown member)
(unknown member)
(unknown member)
(unknown member)
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow