javascript - Detect if browser has TLS enabled -
is there way check if browser has tls enabled?
i'm limited using html , javascript.
in javascript, utilizing activex, , intended ie7,
(function(){ var key = "hkcu\\software\\microsoft\\windows\\currentversion\\internet settings\\secureprotocols"; var t = document.getelementbyid("detectreg_output"); var shell = new activexobject("wscript.shell"); var value = shell.regread(key); t.innerhtml = value; })();
this outputs bitfield, decimals equating to:
168 = ssl 3.0, ssl 2.0, tls 1.0 enabled
160 = ssl 3.0, tls 1.0 enabled
40 = ssl 3.0, ssl 2.0 enabled
8 = ssl 2.0 enabled
0 = none enabled
Comments
Post a Comment