Cancel download of CSS, fonts and images.

This issue has been tracked since 2022-07-15.

I would like to know if it is possible to avoid downloading images, CSS and fonts in the requests. I would like to do it through the API rest in a similar way to stealth. I know it is possible in Puppeteer:

Many thanks!

jfgreffier wrote this answer on 2022-08-10

Are you using /scrape API ? If so, it is in the docs Intercepting requests

  "url": "",
  "elements": [{
      "selector": "h1"
  "rejectRequestPattern": ["png", "jpg"]
victormoj wrote this answer on 2022-08-10

I have already fixed it in both the content API and the scrape API, it supports rejectRequestPattern and rejectResourceTypes. Thank you very much for your help. I thought it only worked in scrape.

More Details About Repo
Owner Name browserless
Repo Name chrome
Full Name browserless/chrome
Language TypeScript
Created Date 2017-11-17
Updated Date 2023-03-22
Star Count 5309
Watcher Count 47
Fork Count 516
Issue Count 29


Issue Title Created Date Updated Date