Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access the client registry using JavaScript?

Hai , How to set Key and Value in the client registry using javascript. I Just want to keep the user profiles in the registry. When a user visit the page from a particular system , automatically connect to the system preferred database.For that I want to keep the connection string in the windows registry.

Please tell with code snippets , i am new in javascript.

like image 254
Vibin Jith Avatar asked Sep 27 '26 06:09

Vibin Jith


2 Answers

I don't think its possible due to security reasons. Javascript are downloaded on the client side and you don't want someones javascript code accessing your registry right?

like image 112
hallie Avatar answered Sep 29 '26 20:09

hallie


No can do, unless you have a client-side browser plugin. Even then, you need two separate plugins - one for IE and one for the Netscape family browser. That would require admin install. And would work for Windows clients only; there's no registry on Mac, iPhone, Android and Unix/Linux.

like image 26
Franci Penov Avatar answered Sep 29 '26 20:09

Franci Penov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!