How will we prevent malicious scripts from running on a website?

Question by Learner: How will we prevent malicious scripts from running on a website?
How will we prevent malicious scripts from running on a website? Are there any software to prevent this? what do we call these scripts? Detailed explanation needed.

Best answer:

Answer by site mechanic
Use firefox
http://ffbrowser.blogspot.com/2006/12/firefox-features.html
with NoScript Add-On
http://ffbrowser.blogspot.com/2007/05/no-script.html

Know better? Leave your own answer in the comments!

Get the book now