Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 639787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:52:53+00:00 2026-05-13T20:52:53+00:00

I need to do as much as possible on the client side. In more

  • 0

I need to do as much as possible on the client side. In more details, I would like to use JavaScript to code an interface (which displays information to the user and which accepts and processes response from the user). I would like to use the web serve just to take a date file from there and then to send a modified data file back. In this respect I would like to know if the following is possible in JavaScript:

  1. Can JavaScript read content of a external web page? In other words, on my local machine I run JavaScript which reads content of a given web page.

  2. Can JavaScript process values filled in a HTML form? In other words, I use HTML and JavaScript to generate an HTML form. User is supposed to fill in the form and press a “Submit” button. Then data should be sent to the original HTML file (not to a web server). Then this data should be processed by JavaScript.

  3. In the very end JavaScript will generate a local data-file and I want to send this file to a PHP web server. Can I do it with JavaScript?

  4. Can I initiate an execution of a local program from JavaScript. To be more specific, the local program is written in Python.

I will appreciate any comments and answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:52:53+00:00Added an answer on May 13, 2026 at 8:52 pm
    1. It could technically, but can’t in reality due to the same origin policy. This applies to both reading and writing external content. The best you can do is load an iframe with a different domain’s page in it – but you can’t access it programmatically. You can work around this in IE, see Andy E’s answer.

    2. Yes for the first part, mmmm not really for the second part – you can submit a form to a HTML page and read GET arguments using Javascript, but it’s very limited (recommended maximum size of data around 1024 bytes). You should probably have all the intelligence on one page.

    3. You can generate a file locally for the user to download using Downloadify. Generating a file and uploading it to a server won’t be possible without user interaction. Generating data and sending it to a server as POST data should be possible, though.

    4. This is very, very difficult. Due to security restrictions, in most browsers, it’s mostly not possible without installing an extension or similar. Your best bet might be Internet Explorer’s proprietary scripting languages (WScript, VBScript) in conjuction with the “security zones” model but I doubt whether the execution of local files is possible even there nowadays.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've never had much need for programming with databases. Since their use is so
I have a specific case here in which I would like some security advice.
I'm developing a web app based on videos that my client would like to
I need to know how much space occupies all the databases inside an SQL
I need to keep as much as I can of large file in the
I need to know how much physical memory a windows machine has, using Perl.
I need to speed up my coding, too much work, so I need be
I need to know the maximum length of a textbox in ssrs. How much
The title pretty much says it all. Some caveats are: I need to be
I have not had to mess with mailto links much. However I now need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.