JavaScript: How to determine the web "fold" programmatically? <p><strong>Question:</strong> How can I determine the "fold" programatically (how much vertical content the browser is displaying)?</p> <p>The "fold" defined as where you can no longer see / have to scroll.</p> <p>I've tried with JavaScript to simply determine the browser window size to determine the fold; unfortunately - this doesn't work well because some browsers have tabs, etc and even though you might have 2 browsers windows at the same size - each browser might be <em>displaying</em> a different vertical size of content.</p>