开发者

How to access the windows registry with javascript?

I need to write to HKEY_CURRENTUSER using javascript. It should work on Googl开发者_StackOverflow中文版e chrome 10 & 11 - WinXP and 7. How do I do that?


You can't. Allowing this via web browser would have pretty serious security consequences.


This is not possible due to security restrictions. The browser should not be able to modify the local machine.

If you were doing this in IE, it would be possible using an Active X control, but in Chrome it is not possible at all.


You can only do that on a windows machine you control, using c/wscript. Example

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜