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 1006349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:26:46+00:00 2026-05-16T08:26:46+00:00

EDIT: please read the question and why I want to do it before passing

  • 0

EDIT: please read the question and why I want to do it before passing judgement on this, I want to develop locally using a web browser as the interface, I KNOW its a security hole, but if there is a way for the end user to disable this security so it can be used locally I want to know, of course this isn’t possible under normal circumstances as this would create a security issue

Question: I want to make some apps that run locally and just use jquery as the user interface so it would have to have access to the machine’s command line, at the least, so that it can make calls to the system, I don’t want to do it through a web server, in this case, as this overcomplicates it as far as permissions, etc, I want the jquery app to run more like a native app so that it can open files for the user to display to them, etc..

I am wondering if anyone knows of plugins, such as for firefox, that allow this to happen so that I could install this on my machine to make an app like this.. thanks for any info

  • 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-16T08:26:47+00:00Added an answer on May 16, 2026 at 8:26 am

    I don’t know if you can access command line, but you can read local filesystem.

    This function do this (in firefox)

    function readFile(arq) {
          netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
          var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
          file.initWithPath(arq);
    
          // open an input stream from file  
          var istream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
          istream.init(file, 0x01, 0444, 0);
          istream.QueryInterface(Components.interfaces.nsILineInputStream);
    
          var line = {}, lines = [], hasmore;  
          do {  
            hasmore = istream.readLine(line);  
            lines.push(line.value);   
          } while(hasmore);  
          istream.close();  
          return lines;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit if you plan on answering this question please at least read it. Don't
Someone please edit my title to make this question more clear. It's easier to
Please read my question before marking it as duplicate or repeat question... I have
Is it possible to pass the coloumn name also like a variable.Please edit this
I'm not sure what kind of terminology to use in this so please edit
I'm not sure how to proper name the question. Please fell free do edit.
This question has to do with best practices... please do not confuse it with
Please help me implement access control lists for my PHP web application. I'm using
EDIT: Based on evolution of the problem, I edited this question. First of all,
This question is challenging to get more understanding on Image Processing using pure C.

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.