Why exactly does the capture http module in metasploit serve iframe elements to common sites on every request?

Let's say you have a setup that redirects all http traffic to your local machine,...