title: URL masking in JavaScript
body: <p>I currently have the following JavaScript function that will take current URL and concatenate it to another site URL to route it to the appropriate feedback group:</p>
  
  <pre><code>function sendFeedback() {
      url = window.location.href;
      newwin = window.open('http://www.anothersite.com/home/feedback/?s=' + url, 'Feedback');
  }
  </code></pre>
  
  <p>Not sure if this is the proper terminology, but I want to mask the URL in the <code>window.open</code> statement to use the URL from the current window.</p>
  
  <p>How would I be able to mask the <code>window.open</code> URL with the original in JavaScript? </p>