Load form data in JavaScript and run something client side
<p>The original framework of my app (using Python) is below:</p>

<ol>
<li>user key in keywords in forms.</li>
<li>App use the data in forms as parameter to get some results from third-party website.</li>
<li>The result which is from third-party website will be analyzed in my app.</li>
<li>Then show the result of analyze to user.</li>
</ol>

<p>But there are some problems between my app and third-party website, so I want to change the framework of my app.</p>

<ol>
<li>user key in keywords in forms.</li>
<li>store the keywords which in forms as cookie.</li>
<li>automatically download one javascript which in my app (website), and run the javascript in user's computer.</li>
<li>the javascript will get result from third-party website, and then sent the result to my app.</li>
<li>my app will analyze the result (from third-party website) and then show the result of analyze to user.</li>
</ol>

<p>I want to know how can I do this, or what keyword should I search in Google.</p>
