Executing a command from a web browser

What is the best way to execute a command on a client computer through a web browser?

I know a Java applet is one way, but I really don't want to use Java.

Will the firefox plugin work?

+2


source to share


4 answers


You can do this in an extension (much easier than a plugin).



This is done with nsIProcess: https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIProcess

+1


source


Yes, the firefox plugin will do it as plugins (as opposed to extensions) have the same access rights on the computer that the user has.



If you want, you can check out my SuperUser -Question: Is Java Plugin huge security risk? How to provision Java plugin from privilege escalation? but you don't seem to want to use Java ;-).

0


source


For Windows, you can simply submit the printer and access the printer queue remotely.

0


source


Why not just use the appropriate content type for your printer command files and set your browsers to handle those files correctly? Since you are talking about special binaries for special thermal printers, I assume you are talking about a limited set of browsers ...

0


source







All Articles