title: Event handler to run jQuery based on URL
body: <p>Is there a jQuery event handler that runs a script if the page has a certain URL? Similar to <code>$( document ).ready(function() {</code> but only if the page has a particular URL. </p>
  
  <p>I want to run a script when the page is ready but only for a page with URL '.../something/somethingelse/'. </p>
  
  <p>The view has links that redirect to new URLs to change layout aspects - but it's the same view (I'm using django web framework)</p>