It’s been so long since I had to deal with IE that I had forgotten about this, but IE does not support window.scrollX/window.scrollY; you have to use something like: var top = typeof window.scrollY === “undefined” ? window.pageYOffset : window.scrollY; … Continue reading
Daily Archives: November 30, 2012
Top Posts
- NoLoJS: Reducing the JS Workload with HTML and CSS
- Investigating… a High LCP for Nike.com
- Getting to Know… WPO (Web Performance Optimization)
- Web Performance Audits: What’s in your Checklist?
- Improving LCP for Video Hero Components
- The difference between Service Workers, Web Workers and WebSockets
- Replacing jQuery with Vanilla JS / ES6
- Early Hints vs. Resource Hints vs. Speculation Rules: Which is right for what, and when?