Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

Answer: c
Explanation: 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.

Join The Discussion