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

  • Home
  • SEARCH
  • 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 8898125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:31:52+00:00 2026-06-15T00:31:52+00:00

Is there any way for me to make values generated by a separate program

  • 0

Is there any way for me to make values generated by a separate program available to JavaScript?

I’m fairly new to web design and JavaScript, so I’m not really sure if it is possible to do what I want at all. I know some of this is intentionally made difficult to do (prevented?) due to security issues. I don’t need an actual written out solution so much as a confirmation that is or isn’t possible, and maybe the appropriate API/function sets that would be used for it.

I want to have a web page which uses third party JavaScript API functions based on values being generated in a separate program on the device accessing the website, which is talking to external devices. I want this to be an ongoing process though; once the webpage is open it should continue to monitor the values and update the calls as appropriate.

Some sort of direct interaction would be preferable (is there a way to pass in a callback function or something?), but I haven’t seen anything so far which looks like it could do that.
Is it possible to do something like write the values to an XML file on the program side and have a loop which repeatedly re-reads the file out on the webpage side? I don’t know that this would be fast enough for what I want.

I’m not worried about compatibility with a large range of browsers or anything, so even a solution which uses something like a rarely supported HTML5 syntax would be fine as long as I can get one browser that it works on.

  • 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-06-15T00:31:54+00:00Added an answer on June 15, 2026 at 12:31 am

    This is actually a very, very good question. Some people may have skimmed it and to them it would look like lots of other newbie-misunderstands-the-web type questions. But this is actually different:

    I want to have a web page which uses third party javascript API functions based on values
    being generated in a seperate program on the device accessing the website, which is talking
    to external devices

    The bolded part is what makes this different.

    Yes it’s possible. It’s how Flash and Java plugins can have access to your webcam and microphone. But it’s not easy.

    Firstly, this is not your usual server-based interaction (if it was, it would be much simpler and lots of web devs would be rightfully annoyed at yet another newbie asking such questions). You basically want your web app to have access to hardware on the user’s machine.

    I’m not worried about compatibility with a large range of browsers or anything

    Good, that makes it a bit simpler. Because the web APIs don’t handle this sort of thing at all. You need low level access to the browser.

    You basically have 2 options:

    1. If Flash or Java supports accessing the hardware you’re trying to access then you can try writing an applet in either Flash or Java. Of the two, Java is slightly more friendly to programmers wanting to do low level, non-standard stuff. But flash is often more friendly to users (for some reason, Java applets to this day tend to be huge and take a long time to load).

    2. If you can’t do what you want in Flash or Java then you really only have one other option: write a browser plugin. For this there are two options (note: I’ve never done this before so I’m only going by what I’ve read). First is you can develop a plugin based on the old Netscape Plugin API. Google around to learn more about it. For IE on windows you have a second option of developing an ActiveX plugin. you can try to google around for that as well.

      A bit of googling led me to Firebreath which is a cross-browser plugin framework that can compile to both NPAPI and ActiveX.

      Oh, there is a third option. For Chrome and Firefox you can write javascript based plugins. Though like ActiveX on IE, the plugins won’t be cross-browser compatible. I’m not even sure if the javascript plugin API can access really low level hardware.

    What you’re trying to do is interesting. Not many people have done it. But it’s doable. Good luck.

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

Sidebar

Related Questions

Is there any way to make the program sleep until an event occurs, but
Is there any way to make the text align left and justify as same
Is there any way to make a DataTemplate reference itself just from XAML? In
Is there any way to make the form semi-transparent while it is being moved
Is there any way to make two controls that are in different containers the
Is there any way to make this work in Java? public static void change(List<?
Is there any way to make the background of the google charts transparent. Google
Is there any way to make a list of classes behave like a set
Is there any way to make only a non-transparent portion of an image to
Is there any way to make extension to pop up when event occurs? Let's

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.