Skip to content

Proof-of-concept browser extension for Structured DNS errors

Notifications You must be signed in to change notification settings

AdguardTeam/dns-sde-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdGuard DNS SDE Demo Extension

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.

How to use

  1. Go to chrome://extensions/.
  2. Enable developer mode.
  3. Install the extension from src directory by clicking Load unpacked.
  4. The extension options page will open.
  5. 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.

Permissions required

  • webRequest - necessary for detecting tab loading errors.

About

Proof-of-concept browser extension for Structured DNS errors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published