Reputation:
Except for Caja(which is Java based) is there a simple javascript implementation for sandboxing iframes?
Upvotes: 3
Views: 1046
Reputation: 943207
Load the iframe from a different domain, and the same origin policy will sandbox any scripts.
Upvotes: 1