14 lines
839 B
Markdown
14 lines
839 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [EvaluateRequest](./puppeteer.protocol.runtime.evaluaterequest.md) > [allowUnsafeEvalBlockedByCSP](./puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md)
|
||
|
|
||
|
## Protocol.Runtime.EvaluateRequest.allowUnsafeEvalBlockedByCSP property
|
||
|
|
||
|
The Content Security Policy (CSP) for the target might block 'unsafe-eval' which includes eval(), Function(), setTimeout() and setInterval() when called with non-callable arguments. This flag bypasses CSP for this evaluation and allows unsafe-eval. Defaults to true.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
allowUnsafeEvalBlockedByCSP?: boolean;
|
||
|
```
|