Reputation: 2808
I need to write to HKEY_CURRENTUSER using javascript. It should work on Google chrome 10 & 11 - WinXP and 7. How do I do that?
Upvotes: 1
Views: 3675
Reputation: 122916
You can only do that on a windows machine you control, using c/wscript. Example
Upvotes: 1
Reputation: 25139
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.
Upvotes: 1
Reputation: 187054
You can't. Allowing this via web browser would have pretty serious security consequences.
Upvotes: 7