PDA

View Full Version : Stop Script Debugger ????



mgokkaya
02-22-2007, 02:51 PM
I have this code but it doesnt work


On Startup
-----------------------------

bIS = Registry.DoesKeyExist(HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main");
if bIS == true then
Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main", "DisableScriptDebuggerIE", "yes", REG_SZ);
end



On Shutdown
-----------------------------

bIS = Registry.DoesKeyExist(HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main");
if bIS == true then
Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main", "DisableScriptDebuggerIE", "", REG_SZ);
end