jQuery target $(window) on a specific webpage
<p>I'm just wondering if there is any easy way i can target $(window) to only work on localhost/website/hello and not localhost/website/bye</p>

<p>I've made a easy test script,</p>

<pre><code>$(window).scroll(function(){
    if ($(window).scrollTop() == $(document).height() - $(window).height()){
        alert('Hello World');
    }
});
</code></pre>

<p>The problem is that this snippet will work on all pages where the script is loaded...</p>
