title: If URL's match in link and window, then add a class
body: <p>I'm trying to write a match script to detect the page your on.. and to bold links that are also on the same page pointing to the page your currently on.</p>
  
  <pre><code>    $(document).ready(function () {
  
      var url = window.location.href;
      var match = $("a").attr("href");
  
  
      if(url == match) {
         $(match).parent().addClass("tomato");
      }
  
  
  });
  </code></pre>