HTTPArchive / almanac.httparchive.org

HTTP Archive's annual "State of the Web" report made by the web community
https://almanac.httparchive.org
Apache License 2.0
622 stars 182 forks source link

Fallback when Google Sheets is not available #428

Closed tunetheweb closed 5 years ago

tunetheweb commented 5 years ago

Some companies (including my employer!) block Google Sheets for various reasons. Not sure if some countries do this similarly.

As we have fall back graphics for mobile, it would be nice if we could run a bit of JavaScript on a page to check for that blocking, and then hide the iframes and unhide the images.

rviscomi commented 5 years ago

Yeah if the iframes take too long to load for any reason (blocked, latency, outage) we should fall back to the static images.

tunetheweb commented 5 years ago

BTW I think this should be in SHIP-IT milestone and not Apres-Ski. A non-trivial number of users will not be getting visuals. Hence why I've prioritised this.

Though these users are probably used to it being block so probably less important than https://github.com/HTTPArchive/almanac.httparchive.org/issues/432