On 10/25/19 2:12 PM, Dirk Fieldhouse wrote:
On 25/10/19 09:22, Frank-Rainer Grahl wrote:
...>
The fix is for Goggle to correct their incorrect user agent detection.
They don't care about anyhting but Chrome so hell will probably frezze
over first.
You can only set a custom user agent for their broken site.
Or override the broken layout with user CSS.
Hilariously, you can read this advice to webmasters from Google
<https://webmasters.googleblog.com/2019/10/updating-user-agent-of-googlebot.html>:
"Sites that follow our recommendations to use feature detection and
progressive enhancement instead of user agent sniffing should continue
to work without any changes.
If your site looks for a specific user agent, it may be affected. You
should use feature detection instead of user agent sniffing."
You couldn't make it up, left and right hands, do as I say not as I do,
etc.
Today, with JS disabled and default UA "Mozilla/5.0 (X11; Linux i686;
rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5", I'm getting a
sensible page at .com and .co.uk, with a full menu across the top and a
correctly themed search box and buttons. The country pages .in, .de,
.fr, .es, .com.au, etc, have a search box whose text field overlaps the
top of the bordered area and needs to be about half again as wide and a
minimal top menu. These things seem to change unpredictably. Most
recently they started sending CSS embedded in a <style> element to force
the text field out of the search box so that user CSS to override it
needs "!important".
/df
Actually feature detection is the preferred way to tell if a browser can
display the site.
<https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Feature_detection>
"When considering using the user agent string to detect which browser is
being used, your first step is to try to avoid it if possible."
<https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent>
YMMV
--
OS: Ubuntu Linux 18.04LTS - Gnome Desktop
https://www.thunderbird.net/en-US/get-involved/
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey