javascript - Copy text from form to another website's textfield -


i have form in user enters numbers in field , page directed url, code follows:

<html> <head>     <meta charset="utf-8">     <title>tracking</title> </head> <body>     <script>         function gotopage(){                  window.open("http://www.track-trace.com/aircargo");          }     </script>     <form method="get">         search:         <input id="input1" type="search" size="50" placeholder="enter number">         <input type="submit" value="submit" onclick="gotopage();">     </form> </body> 

is there way fill particular field on website script directing to, is:

<input type="text" name="number" id="number" maxlength="40" class="form-control input-lg" /> 

the answer no, unless can add code target site or target site accepts parameters. alternative create proxy.

that said, if @ code of form, have message

<!-- want put tracking on website/intranet? please use https://connect.track-trace.com/ -->

their terms state above need do:

  • you must not modify, adapt or hack service or modify website falsely imply associated service, webfokus, or other webfokus service.
  • you agree not reproduce, duplicate, copy, sell, resell or exploit portion of service, use of service, or access service without express written permission webfokus.