openexchangerates / javascript-sandbox-console

a mini interactive javascript console for library/plugin demos and homepages
http://openexchangerates.github.io/javascript-sandbox-console/
MIT License
319 stars 58 forks source link

Add option for 'evaluate commands inside iframe' #2

Closed wjcrowcroft closed 12 years ago

wjcrowcroft commented 12 years ago

This would cut off access to the DOM (which may/may not be what you want, depending on use-case), but would also prevent users from screwing up the DOM and then saying it doesn't work.

Need to decide whether this is default on/off (like allowDocumentAccess = [**true** | false] or perhaps useIframe)

Nuff said!

wjcrowcroft commented 12 years ago

This is in now via setup options (see docs)