I know how to test upon page load or refresh if JS is enabled, but it is possible to do this at every reflow?
Say a page loads while JS is enabled, but during the browser session it is disabled, after which point any JS dependent actions performed by the user will fail. After testing I found for example that Chrome needed a refresh before these changes took effect while Firefox applied them instantly - so the site that originally worked fine broke when JS was disabled and no fallbacks that come into effect at page load were initiated.
Some may call this a trivial issue, and I am sure there are fallbacks that could solve this issue, but is it possible to test the state of the page at every reflow?
Any further ideas/suggestions/fallback examples welcome. Non-JQuery most welcome. Thanks!