On 9/5/19, Paul B. Gallagher <pau...@pbgdashtranslations.com> wrote: > David E. Ross wrote: >> On 9/5/2019 9:02 AM, Paul B. Gallagher wrote: >>> Based on info received here, I created a user.js (never had one before) >>> so I could pass a different UA to one particular problem site. But I >>> can't tell if it's working. Is there a way to confirm that the site's >>> getting what I'm feeding it? Help | About just reports the standard UA. >>> >>> I placed the file here: >>> C:\Users\(Windows >>> Username)\AppData\Roaming\Mozilla\SeaMonkey\Profiles\(profilename).default\ >>> >>> And here's the content, did I get it right? >>> >>> # Mozilla User Preferences >>> >>> user_pref("general.useragent.override.viki.com", "Mozilla/5.0 (Windows >>> NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"); >>> >>> Thanks. >>> >> >> 1. Go to the Web site of your concern. >> >> 2. With the Web page for the site still in SeaMonkey's window, on the >> SeaMonkey menu bar, select [Help > About SeaMonkey] or [Help > >> Troubleshooting Information]. >> >> Either of those will display your current user agent string. > > As I said above, "Help | About just reports the standard UA." It reports > the same UA no matter what site I'm visiting. Does that mean the user.js > pref has no effect? > >> A more complicated method involves installing the "Live HTTP headers" >> extension and capturing the headers sent (and also received) when you go >> to the site. > > Hmmm....
I have an old copy of "Live HTTP headers" if you want it. I tried adding user_pref("general.useragent.override.google.com", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"); didn't change my user agent when visiting www.google.com, so added user_pref("general.useragent.override.www.google.com", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"); which did change the ua string for www.google.com but not any other .google sites referenced by the main page :( Maybe try to find a user agent switcher addon that will let you change the advertised ua on the fly? Lee _______________________________________________ support-seamonkey mailing list support-seamonkey@lists.mozilla.org https://lists.mozilla.org/listinfo/support-seamonkey