Actions17
Resource Block
AI-generatedSummary
Block specified resource types and custom domains during a remote scraping session to reduce bandwidth and speed up page loads.
Inputs
- Session ID — Optional existing session ID to apply the resource block; leave empty to start a new session automatically.
- Images — Toggle blocking of image downloads such as png, jpg, gif, svg.
- Fonts — Toggle blocking of font downloads like woff, woff2, ttf.
- Stylesheets — Toggle blocking of CSS stylesheet downloads.
- Media — Toggle blocking of media downloads including video and audio.
- Trackers — Toggle blocking of common advertising, tracker, and analytics domains (e.g., Google Analytics, Facebook Pixel). Useful to reduce bandwidth, especially when using a proxy.
- Block Domains — Comma-separated list of additional custom domains to block (e.g., 'cdn.example.com, ads.example.com').
Output shape
a single record containing arrays of currently blocked resource types and domains.
This action immediately applies blocks for subsequent page requests in the session. Passing all false/empty inputs unblocks all resources. Output includes 'blocked_types' and 'blocked_domains' arrays indicating active blocks.