3 ms·
The graphs are not loaded on iOS.
by layoutIfNeeded 7y ago
The graphs are not loaded on iOS.
- jonluca 7y agoInteresting, you're right. I wonder why - They're just `iframe`s from Google Sheets - no custom rendering or html. I'll do some research, thanks for pointing it out. Update: added a fallback to images using: ``` const iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; // iOS doesn't load google sheets embeds for some reason :/ if(iOS){ const toReplace = document.querySelectorAll('.aa-image'); for(const image of toReplace){ const imageUrl = image.id; image.outerHTML = `{% include image.html file="${imageUrl}" alt="${imageUrl}" %}` } } ```
- chucksmash 7y agoPerhaps clickjacking countermeasures[1]. [1]: https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_Defense_Cheat_Sheet.html https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_...
- evrflx 7y agoThis works for my iPhone, but not the iPad. I guess it is due to Apple showing the device as ‚desktop class‘ with the following user agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15