Create account

replied 2418d
modulus
I think this is a better test:

($(window).scrollTop() + document.body.clientHeight) > $('.footer').position().top

It checks if top of the footer is above the bottom of the viewport.
modulus
replied 2418d
I've added your suggestion. Will update the chrome and firefox webstores soon.

https://bch.gg/86
replied 2417d
Awesome! Glad I could help, thanks for the tips too, though improving the community is its own reward.
modulus
replied 2418d
Nice! That's cleaner than checking an arbitrary 800px lol.