WaltS48 wrote:
On 4/15/18 3:50 PM, cmcadams wrote:
Felix Miata wrote:
Ed Mullen composed on 2018-04-15 11:16 (UTC-0400):

Add this to your prefs.js file with SMĀ  closed:

user_pref("general.useragent.override.usps.com", "Mozilla/5.0 (Windows
NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0");

That way you'll still be reporting as SeaMonkey on all other sites which
is good as it lets site owners know about SeaMoney.

Actual UA:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.2

Using for general.useragent.override.usps.com:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 
or
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

First string doesn't work, second does, here.


The Firefox browser works here. Y'all enjoy your problems.


Sure, everybody knows Firefox is where all the cool kids are. All those folks doing their best to steer clear must just be nuts.

For anyone wanting a simple mechanism for fixing Seamonkey's UA string problems, here is what the user.js file in my Profiles\[config_name].default directory now looks like:

user_pref("00_user.js.loaded", "user.js load failed");
# user_pref("general.useragent.override.chase.com", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0");
user_pref("00_user.js.loaded", "yes");

1st and last lines are per David Ross, to whom thanks.

No line break in the UA string for line 2. The '#' at the beginning of line 2 comments out the rest of the line (eg, won't be executed, because it has already run successfully). User.js is run every time Seamonkey starts, and you can verify this by going to about:config. The first item will normally be "00_user.js.loaded" set to yes, meaning that your user.js was seen. With no line 2, or with line 2 commented out, nothing is actually added to prefs.js, and that's OK, it does no harm run "empty" and it gives you a permanent template in place ready for the next annoying website.

When you have an un-commented out line 2 such as:

user_pref("general.useragent.override.chase.com", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0");

where the chase.com can be replaced with any name of any other website giving you problems, that site will thereafter see only what you want them to see.


_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to