So i am trying to inject and external css and js into a self created iframe to provide an extra security layer, there therefore is no cross domain issues.
here is the co
As long as the iframe domain, protocol, and port matches you can add scripts. Otherwise, it is treated as an unsafe attempt to access a different url.