1. A method for protecting a browser from malicious processes, comprising providing at least one process-proxy object and at least a browser-proxy object, interposed between the browser and a process, such that when the process invokes one Document Object Model (DOM) entry point, the process-proxy object isolates it from the real browser implementation and executes the process-proxy object's code instead, which returns a browser proxy object.