Closed Bug 1284465 Opened 8 years ago Closed 8 years ago

histography.io rejects all non-Chrome/Safari desktop browsers

Categories

(Web Compatibility :: Site Reports, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: pascalc, Unassigned)

References

Details

(Whiteboard: [country-all][sitewait])

Go to http://histography.io

redirects to http://histography.io/browser_support.htm
with this message:

"SORRY!WE ARE CURRENTLY NOT SUPPORTING YOUR BROWSER
(BUT WE WILL SOON)

TRY CHROME OR SAFARI"
view-source:http://histography.io/script.js

var ot = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor),
    nt = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor),
    it = /Safari/.test(navigator.userAgent) && /Googlebot/.test(navigator.vendor),
    rt = {
        Android: function() {
            return navigator.userAgent.match(/Android/i)
        },
        BlackBerry: function() {
            return navigator.userAgent.match(/BlackBerry/i)
        },
        iOS: function() {
            return navigator.userAgent.match(/iPhone|iPad|iPod/i)
        },
        Opera: function() {
            return navigator.userAgent.match(/Opera Mini/i)
        },
        Windows: function() {
            return navigator.userAgent.match(/IEMobile/i)
        },
        any: function() {
            return rt.Android() || rt.BlackBerry() || rt.iOS() || rt.Opera() || rt.Windows()
        }
    };
rt.any() && (window.location = "mobile.htm"), ot || nt || it || (window.location = "browser_support.htm");


Yeah, basically if you're not Chrome, Safari, or Googlebot => not supported page.

It would be interesting to know *why* they say we're not supported.
Flags: needinfo?(astevenson)
Summary: histography.io rejects Firefox → histography.io rejects all non-Chrome/Safari desktop browsers
Whiteboard: [country-all][needscontact]
This issue was reported on webcompat.com and Karl has made contact.
https://webcompat.com/issues/1804
Flags: needinfo?(astevenson)
Whiteboard: [country-all][needscontact] → [country-all][sitewait]
Closing as invalid because BZ needs a bug number for duplicates.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.