Is there a way to detect if the browser will freeze the DOM or disable JavaScript when scrolling? Some mobile browsers are known to do this, and it effectively kills scroll-based effects such as parallax and animation. I would like to effectively implement the following pseudocode without resorting to using NU:
if (!browserWillFreezeWhileScrolling) { initializeScrollingEffects(); } else { initializeFallbackScript();
From what I see, Modernizr does not check it.
source share