mozilla / tofino

Project Tofino is a browser interaction experiment.
https://mozilla.github.io/tofino
Apache License 2.0
647 stars 68 forks source link

Many things broken in FiveThirtyEight #1405

Closed jsantell closed 7 years ago

jsantell commented 7 years ago

The "we're forecasting the election with three models" radio buttons don't work, and a handful of graphs on the page don't work. @joewalker pointed this out, and thought it might be a flash issue, but this works on Firefox with flash disabled, so not sure what's up

http://projects.fivethirtyeight.com/2016-election-forecast/

darkwing commented 7 years ago

Additionally, there's about 12.9% too much red on the map. Please fix that as well.

jsantell commented 7 years ago

Looks like a user agent string issue. Blah.

Our webviews have the UA string (on my machine): Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.113 Electron/1.4.2 Safari/537.36

Using my Chrome Canary UA string in webviews fixes the issue:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2878.0 Safari/537.36