Ad Blocking
Block advertisements from appearing in your screenshots using built-in ad blocking technology.How it works
When enabled, the blocker intercepts network requests and blocks known ad servers and tracking scripts before they load.Basic usage
bash
Benefits
- Cleaner screenshots - Remove distracting advertisements
- Faster loading - Fewer resources to download
- Consistent results - Avoid dynamic ad content variations
- Privacy-focused - Blocks known tracking scripts
When to use ad blocking
| Use case | Recommended |
|---|---|
| Documentation screenshots | Yes - cleaner appearance |
| E-commerce sites | Maybe - may affect layout |
| News sites | Yes - removes ads/clutter |
| Social media | Yes - improves consistency |
| Testing web apps | No - may break functionality |
Combining with other blocking
Ad blocking can be combined with banner and tracking blocking:bash
- Tracking Blocking - Block tracking scripts
- Cookie Banner Blocking - Block cookie consent banners
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
blockAds | boolean | false | Enable ad blocking using prebuilt filters |
Performance impact
Ad blocking has minimal performance overhead:- Initial filter loading: ~50-100ms (one-time per request)
- Network request blocking: Reduces overall page load time
- Memory usage: Slight increase for blocker instance