Link to home
Start Free TrialLog in
Avatar of Caggs
Caggs

asked on

Automating browser settings

i am writing a program that has links to various internet sites...some of these sites require that java & javascipt be turned on and that SSL V3 is enabled....also i would like to specify a default certificate for the users browser...

i was wondering if it was possible to have a command button that would automate these settings for the user if they wanted too (basically for users who feel intimidated by changing browser settings - really inexperienced users) in both netscape 4 and ie4....if any of u experts out there could help me, or even direct me to where i could learn about it, it would be greatly appreciated....

thanx in advance for your time....
Avatar of pakos
pakos

Yes, is the answer, u can change seeting of ur browser, at least those i tried, ie and netscape.
Internet explorer writes it's configuration in the registry , and here's the key : [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
from there a ll u need is read the following values and change them,
as for netscape it's a different way, it writes in a file on ur hard disk , the filename is: "prefs.js"
in the netscape directory, to find the file in ur vb app because user might change the path, u have to read again from the registry the path of netscape , here's the key:
"Software\Netscape\Netscape Navigator\Users\CurrentUser"


Avatar of Caggs

ASKER

thanx for the answer pakos,

but this is the answer i gave u an "a" for in my last question....when i looked at the registry for ie4, i didn't know which settings to change to enable java & javascript, and how to assign a defualt certificate for the user, so with this question, i was hoping that someone could direct me on how to assign these specific values (java & javascript on, and assign a defualt certificate).....

thanx again for posting an answer tho, i appreciate it...
Sorry, i didn't see that u are the same person, tho i will try to find it.
can u guide where are these setting in ie ?
are they :
java console enable,
java it compiler
java logging enable???
if no tell me where.

Avatar of Caggs

ASKER

no probs pakos....like i said i appreciated the fact that u answered the question again for me....

with regards to the settings, yes, i think they are the settings that need to be enabled(maybe not "java logging enable")....i also need to enable SSL 2.0 and SSL 3.0....

i hope u have success; thanx alot for your help with this question
ASKER CERTIFIED SOLUTION
Avatar of pakos
pakos

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Caggs

ASKER

pakos, you're an absolute legend.....thankyou so much for all your efforts on this question....sorry to be a pain, but i have one more query....

in this section "HKEY_CURRENT_USER\Software\Microsoft\Java VM" i have the "EnableJIT" and "EnableLogging" options but not the "EnableJavaConsole" option.....also i couldn't find the "SecureProtocols" option in "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"....any idea on why this is?

and thanx again...i wish i could return the favour somehow
I am using Windows 98 and IE5 and what are u using?, maybe this is the problem!
answer me , if so i'll try to check it on my other computer, soon. :)
no prob about paying back my favour, it's just a matter of headbreaking for me.
Avatar of Caggs

ASKER

i am using windows 98 and ie4....that is probably why the options don't match up.....if u don't have time to check your other computer just leave a comment and let me know and i will grade your current response....u have already been very helpfull...
for ssl2:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\CRYPTO\SSL2.0]

for ssl3:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\CRYPTO\SSL3.0]

and there is no "EnableJavaConsole", in ie4

and i think u have both conditions for ie4 or ie5...
good luck in ur project.

Avatar of Caggs

ASKER

thanx for the locations pakos, but do u know what i have to set to make sure they are on...there were a lot of options in each and i'm not sure which one/s i have to check/set....once again, if u don't have time just let me know and i'll grade the current response (it's already worth more than an A!)
U will not believe what i did , i wrote a small app to compare two files i retrieve from registry software, to check line by line where Mr bill hides his ie settings.
and here is am i succeded again :
this is the location
and these are the setting for SSl2 & SSL3 turned off:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"SecureProtocols"=dword:00000002

nice game no?

i forgot this :

To turn SSL2 & SSL3 ON

"SecureProtocols"=dword:0000002a
hem, the end of this bestseller, hope to hear from u soon. :) and agin good luck in ur project