Which of the following allows the sandboxed iframe to run scripts from the same domain?
A
allow-same-origin
B
allow-forms
C
allow-scripts
D
allow-pointer-lock
Correct Answer: allow-scripts
Scripts are re-enabled by allow-scripts. The sandbox attribute enables an extra set of restrictions for the content in the iframe. Allow-forms re-enables from submission. Allow-same-origin allows iframe content to be treated as being from the same origin. API’s are re-enable by allow-pointer-lock.