web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.google.com - text is not visible

Open webcompat-bot opened this issue 11 years ago • 6 comments

URL: https://www.google.com/fonts Browser / Version: SeaMonkey 2.39 Operating System: Windows 7 Problem type: Text is not visible

Steps to Reproduce Google Fonts displays a blank page when using SeaMonkey, even with Firefox compatibility turned on in UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39

Firefox works. Clearly browser sniffing.

webcompat-bot avatar Nov 25 '15 18:11 webcompat-bot

Confirmed. Lots of chance this is happening here:

$z = Uz('Gecko') && !( - 1 != Vz[Zd]() [mc]('webkit') && !Uz(Wg)) && !(Uz(Di) || Uz(Hh)) && !Uz(Wg),

They are looking for Gecko in the UA string. The issue is that I'm pretty sure it is a lost battle to try to convince Google to change this script.

karlcow avatar Dec 01 '15 11:12 karlcow

In regards with this issue (invisible text), It seems that all the content on the website is created by JavaScript, which is likely caused by a script failing to run or failing to load. More precisely it is this url GET https://www.google.com/fonts/webfonts.nocache.js HTTP/1.1 Host: www.google.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 Accept: / Accept-Language: no,en-US;q=0.8,en;q=0.5,fr;q=0.3 Accept-Encoding: gzip, deflate, br DNT: 1 Referer: https://www.google.com/fonts Connection: keep-alive Cache-Control: max-age=0 Hence, it can be concluded that the server is buggy and redirects to /fonts/unsupported.html if it sees SeaMonkey in the User-Agent string. Please take not that I have changed the label from need diagnosis to needs-contact.

DiveshRoopowa avatar Mar 23 '16 10:03 DiveshRoopowa

@DiveshRoopowa's analysis nails it - here are two HTTP sessions (headers only) that demonstrate the problem:

GET https://www.google.com/fonts/webfonts.nocache.js HTTP/1.1
Host: www.google.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
Accept: */*
Accept-Language: no,en-US;q=0.8,en;q=0.5,fr;q=0.3
Accept-Encoding: gzip, deflate, br
DNT: 1
Referer: https://www.google.com/fonts
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Wed, 23 Mar 2016 09:32:01 GMT
Location: https://www.google.com/fonts/unsupported.html
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alternate-Protocol: 443:quic,p=1
Alt-Svc: quic=":443"; ma=2592000; v="31,30,29,28,27,26,25"
Content-Length: 227
GET https://www.google.com/fonts/webfonts.nocache.js HTTP/1.1
Host: www.google.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Accept: */*
Accept-Language: no,en-US;q=0.8,en;q=0.5,fr;q=0.3
Accept-Encoding: gzip, deflate, br
DNT: 1
Referer: https://www.google.com/fonts
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Wed, 23 Mar 2016 09:32:10 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alternate-Protocol: 443:quic,p=1
Alt-Svc: quic=":443"; ma=2592000; v="31,30,29,28,27,26,25"
Content-Length: 7534

hallvors avatar Mar 23 '16 10:03 hallvors

So @karlcow, another Googly challenge for you :)

hallvors avatar Mar 23 '16 10:03 hallvors

excellent. Thanks. Contacted Google.

karlcow avatar Mar 24 '16 01:03 karlcow

It is now redirected to https://fonts.google.com/ and it seems to be working.

karlcow avatar Feb 07 '17 01:02 karlcow