1. A method for preventing browser-based memory corruption in computers comprising: monitoring HTTP responses transmitted over a network from a web page to which the browser associated with a computer has been directed; and, injecting a library, into an HTTP response, to modify the HTTP response to mitigate attacks on the memory of the computer.