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; injecting a library, into an HTTP response, to modify the HTTP response to mitigate attacks on the memory of the computer, the injected library for hooking functions in the HTTP response which are directed to the memory of the computer; and, manipulating or repairing the memory of the computer to change the memory of the computer, such that when the hooked function in the HTTP response executes, the execution is based on the hooked function being coded for a memory of the computer different than the changed memory of the computer.