veil_block_resources
Block resource loads by type or URL substring to speed up scraping and reduce footprint. Accumulate blocks; lift with veil_unblock_resources.
Instructions
Block resource loads to speed up scraping and shrink your footprint — by type (image, font, media, stylesheet, script, xhr, fetch, document, websocket, ...) and/or by URL substring. Calls accumulate; coexists with the private-network guard. Lift with veil_unblock_resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | URL substrings to block, e.g. ["analytics","doubleclick"] | |
| types | No | resource types to block, e.g. ["image","font","media"] |