title: How can I prevent injected JavaScript file reference code from running in my web page?
body: <p>I don't know if it's possible to prevent the injection of a JavaScript reference file script into a web page, but I have seen sites that prevent you from running functions within the injected JavaScript reference file script unless it's JavaScript the page registers.  For example, I was able to inject 10 different JQuery scripts (with different versions) with different prefixes into Google Mail, but they do an excellent job of preventing you from executing certain JQuery commands.  There are a few that you can do, but only getting data (not setting data).. like $jquery171('html').html() (which is simply viewing the source for a page) for example.  How can I prevent other scripts from running in my web page like they do in Google Mail?  Has anyone done this before?</p>