Sensor Widget JS Not Working in Safari (Desktop, Mobile)

Hi Everyone! I’m adding the widget that can be copied directly into HTML code for an outside site to show sensor information. Here’s the link I’ve copied using the “Get This Widget” option on the Real-Time Map view.

"

Loading PurpleAir Widget…

"

The issue is that this does not load in safari - both desktop and mobile - in the most recent versions of both. The copied widget functions as expected in Chrome and Firefox. The console error is as follows and affects any sensor’s widget: “[Error] TypeError: null is not an object (evaluating ‘t[1]’) (anonymous function) (pa.widget.js:1:39258)”.

Is this issue or error familiar to anyone in this community? I have not been able to fully understand the problem based on my only research so far, and would greatly appreciate any support available!

1 Like

I have same issue. Works fine in Chrome on an iMac

1 Like

Same exact issue here. I sent PurpleAir Support an email, they responded with request for info, I replied and haven’t heard back. Hopefully they’re working on it.

1 Like

Same issue for me as well – this used to work, but recently stopped working in Safari on both MacOS and iOS. Works for me in Chrome. I’ve logged a bug with Apple. It may be that Apple tightened security for embedded Javascript and PurpleAir needs to do something differently, or it may be a bug in a recent Safari or iOS+macOS.