intercept_start
Block unwanted browser requests before they load to speed up scraping and eliminate ads and trackers. Define resource types and URL patterns to abort; rules apply to all tabs in the context.
Instructions
Block requests before they leave the browser. Blocking image/media/font/stylesheet typically removes most of a page's bytes — the single biggest speed-up for scraping — and block_urls kills trackers and ad frames. Routed on the context, so tabs opened later are covered too. Re-calling replaces the previous rules; intercept_stop removes them. 'document' cannot be blocked: it would abort the navigation itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_limit | No | How many decisions to keep for intercept_log. | |
| block_urls | No | URL patterns to abort — plain substring, or use * as a wildcard (e.g. *doubleclick.net*). | |
| block_types | No | Resource types to abort. |