wording
This commit is contained in:
@@ -103,9 +103,9 @@ Gets the browser's user agent string.
|
|||||||
|
|
||||||
**Returns:** `string` on success, `false` on failure.
|
**Returns:** `string` on success, `false` on failure.
|
||||||
|
|
||||||
## `fplay.web_response_whitelist(sources)`
|
### `fplay.web_response_whitelist(sources)`
|
||||||
|
|
||||||
Outputs the response body for specific data sources. `sources` is an array that can contain: `main_frame`, `sub_frame`, `stylesheet`, `script`, `image`, `object`, `xmlhttprequest`, `ping`, `font`, `media`, `websocket`, `csp_report`, `imageset`, `web_manifest`, `speculative` and `other`
|
Outputs the raw body of incoming pages for `fplay.event.on("web_response", ...)`. `sources` defines what data sources will be returned: `main_frame`, `sub_frame`, `stylesheet`, `script`, `image`, `object`, `xmlhttprequest`, `ping`, `font`, `media`, `websocket`, `csp_report`, `imageset`, `web_manifest`, `speculative` and `other`
|
||||||
|
|
||||||
Default is `main_frame`, `xmlhttprequest`.
|
Default is `main_frame`, `xmlhttprequest`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user