If URL contains string then run jQuery function?
<p>On my website id like to run a jQuery function if my url contains the word 'test'</p>

<p>All im trying to do is if my url contains the 'rest' string then add a margin to an element on the page? </p>

<p>Ive added a jSfiddle to try and show what Ive done so far. </p>

<pre><code>$(document).ready(function(){         
    // How can I check to see if my url contains the word 'TEST' then run the below function?
    $('.block-widget').css('margin-top, 252px')     
});
</code></pre>
