Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The JavaScript FAQ
Prev Home Next

JavaScript Limitations

Question: What can't JavaScript programs do?

Answer: JavaScript code cannot do any of the following:

  • use printers or other devices on the user's system or the client-side LAN
    (For a workaround, see Printing JavaScript output.)
  • directly access files on the user's system or the client-side LAN ; the only exception is the access to the browser's cookie files.
    (For a workaround, see the File Access section.)
  • directly access files on the Web server.
    (For a workaround, see the File Access section.)
  • implement multiprocessing or multithreading.
If you do need to access files or perform other "privileged" operations, you can use JavaScript in combination with a Java applet. Signed Java applets are allowed to do "privileged" things, and your JavaScript programs can exchange information with applets. However, you have to bear in mind the biggest JavaScript/Java limitation: the user can always disable Java or JavaScript or both!

JavaScripter.net. Copyright © 1999-2006, Alexei Kourbatov

The JavaScript FAQ
Prev Home Next


 
 
  Mirrored with kind permission of Alexei Kourbatov Design by Interspire