Here are some situations where you might want to block some requests:
- Blocking ads and other third-party content (so the test focuses on just your website)
- Blocking analytics
- Blocking large images that are expected to change regularly and would cause unwanted alerts
You can also block ads and trackers.
Note: while this will make your analysis results more consistent, blocking requests also means that the experience is less like that of a real user.
How to block requests
- Set up a new monitored page, or click the Edit"** button in the top right corner for an existing page.
- Click **"Show Advanced
- Open the Request Blocking section and click New
- Fill in the form
Each line contains one request blocking rule. By default requests are blocked if the the rule contents appear in the URL. You can use
* for wildcards.
- Click Create and then save your monitored page
DebugBear is a website monitoring tool built for front-end teams.
Track performance metrics and Lighthouse scores in CI and production.