title: redirect when on a certain path of url
body: <p>I have a webpage that is this way <code>www.mypage.com/visit</code>
  and on the page visit there are several links and each link points to an url for example: </p>
  
  <ul>
  <li><code>www.mypage.com/visit/this/ajsjd</code></li>
  <li><code>www.mypage.com/visit/that/asdhjd</code></li>
  </ul>
  
  <p>What I want to do is when I'm on the page <code>www.mypage.com/visit/</code> it should do nothing but when the url is <code>www.mypage.com/vist/this/</code> I want to redirect. right now I'm using  <code>if(tab.url.indexOf("visit") != -1){//redirect}</code>
  but this way it will redirect when I'm on <code>www.mypage.com/visit</code> and I don't want that because on this page I need to click a link and after so on <code>www.mywebpage.com/visit/etc/</code> redirect. </p>
  
  <p>Sorry if this is a mess but I really don't know how to explain this better. </p>