How To Disable ShareThis for IE9?
===

The ShareThis widget causes significant problems in IE9, so I want to disable it for the browser. Bellow you can see the ShareThis code and my attempt to disable it. Why is the if statement not working? How can this code be disabled for IE9? I appreciate any helpful comments or suggestions.
 

    <script type="text/javascript">var switchTo5x=true;</script>
         <script type="text/javascript"
         src="http://w.sharethis.com/button/buttons.js"></script>
         <script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>
        
         REST OF CODE
        
         <script>
         var options={ "publisher": "3662a59e-5e0d-4969-8567-735aca70d6d1",
         "position": "left", "ad": { "visible": false, "openDelay": 5,
         "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter",
         "linkedin", "email", "pinterest", "sharethis"]}};
         var st_hover_widget = new sharethis.widgets.hoverbuttons(options);
         </script>
    
Bellow is my attempt to disable it with an if statement. However ShareThis still shows up on IE9.

     <script type="text/javascript">
     if (navigator.appName="Microsoft Internet Explorer")
     {
     }
     else
     {
    
     <script type="text/javascript">
    
     var switchTo5x=true;</script>
    
     <script type="text/javascript"
     src="http://w.sharethis.com/button/buttons.js"></script>
     <script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>
     }
     </script>
    
     REST OF CODE
    
     if (navigator.appName="Microsoft Internet Explorer")
     {
     }
     else
     {
     <script>
     var options={ "publisher": "3662a59e-5e0d-4969-8567-735aca70d6d1",
     "position": "left", "ad": { "visible": false, "openDelay": 5,
     "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter",
     "linkedin", "email", "pinterest", "sharethis"]}};
     var st_hover_widget = new sharethis.widgets.hoverbuttons(options);
     </script>
     }
     </script>
