title: How to get a URL address without IP or hostname using javascript or jQuery?
body: <p>I hope to get a URL address without IP or hostname such as </p>
  
  <pre><code>image.htm?diskindex=0&amp;diskcount=2&amp;sortby=0&amp;view=0&amp;imagefilter=1&amp;sizemore=1
  </code></pre>
  
  <p>but <code>window.location.href</code> return the following result. </p>
  
  <pre><code>http://192.168.0.149:9031/image.htm?diskindex=0&amp;diskcount=2&amp;sortby=0&amp;view=0&amp;imagefilter=1&amp;sizemore=1
  </code></pre>