title: does Javascript have many trojans and viruses like Java applets? How to best protect against them?
body: <p>I thought Javascript does not have viruses like Java applets do. I turned off my Java plugin in the browser, but I can't really turn off Javascript. Nothing would work if I did.</p>
  
  <p>This is an example:</p>
  
  <p>I was just browsing for Javascript tutorials and on GWT and one of the blog sites had Javascript virus.</p>
  
  <p>Any one knows anything about this? Here is screen shot of what my ESET reported on my PC. It seems to have blocked it.</p>
  
  <p><img src="https://i.stack.imgur.com/7shtN.jpg" alt="enter image description here"></p>
  
  <p>It is called JS/IFramne.DE trojan, and was coming from a bad site called <em>www.gmarwaha.com/blog</em></p>
  
  <p>(<strong>DO NOT CLICK OR GO TO THE ABOVE SITE, IT HAS JAVASCRIPT TROJAN, BAD SITE!</strong>)</p>
  
  <p>My question is, how to protect myself from Javascript viruses and trojans? </p>
  
  <p>Is Javascript just as bad as java applets when it comes to viruses? Other than having anti virus installed on the PC, and be smart above which web sites to visit, what else can one do? </p>
  
  <p>I am starting to think that one should not even be on the internet at all any more. </p>
  
  <p>Everywhere one goes, there is a virus and trojan, and now Javascript also. </p>