method

sandbox

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ContentSecurityPolicy
sandbox(*values) public

Specify whether a sandbox should be enabled for the requested resource:

policy.sandbox

Values can be passed as arguments:

policy.sandbox "allow-scripts", "allow-modals"

Pass false to disable the sandbox:

policy.sandbox false
Show source
Register or log in to add new notes.