I think I've seen a script which changed the search URL in IE but I'm not sure.
However, you can't change the registry with JavaScript alone. Or atleast you shouldn't be able to change it directly but you never know what Microsoft apps can do if they are pushed to the extreme... wouldn't recommend having a script which messes with the user's registry on your site though.