This browser extension demonstrates how Structured DNS errors can work if supported natively by browsers. It listens for web requests and identifies loading errors on main frames. When an error is detected, it queries the AdGuard DNS DoH (DNS-over-HTTPS) service with structured DNS errors enabled to check if the page was blocked.
If AdGuard DNS has blocked the page, the extension displays a custom block page with detailed information about the block.
- Go to
chrome://extensions/. - Enable developer mode.
- Install the extension from
srcdirectory by clickingLoad unpacked. - The extension options page will open.
- Set the AdGuard DNS custom server due to the instructions on the options page.
Note: No other DNS should be set on the system level or in your network settings.
webRequest- necessary for detecting tab loading errors.