My main goal is to maximize client-side functionality using JavaScript. Specifically, I want to create an interface that displays information to users and processes their responses using JavaScript. I plan to use a web server only for retrieving a data file and sending back a modified version of it. I am curious if the following tasks are achievable with JavaScript:
Is it possible for JavaScript to extract content from an external web page? Essentially, can JavaScript on my local machine read the contents of a specified web page?
Can JavaScript handle input values submitted through an HTML form? For example, can JavaScript process data filled out by a user in an HTML form created using HTML and JavaScript without sending the data to a web server?
After processing data locally, I intend for JavaScript to create a local data file and then send it to a PHP server. Is this feasible with JavaScript?
Lastly, can JavaScript trigger the execution of a local Python program from within the script?
I welcome any feedback or insights on these questions.