Re-direct to another page on scroll

How can that be done? Anyone?

@bartekkustra im calling your name :slight_smile:

On any scroll? Here:

<script>
window.onscroll = function() {
  location.href = 'https://samliew.com';
};
</script>

DEMO Edit fiddle - JSFiddle - Code Playground

Hi @samliew

Thank you!
I might be missing something.
I should place it in on the home page body code right?

@samliew scratch that, it works :slight_smile:

Thanks!