Salta al contenuto principale

How to generate HAR files

info

This article is about AdGuard for Android, a multifunctional ad blocker that protects your device at the system level. Per vedere come funziona, scarica l'app di AdGuard

nota

HAR files are processed in accordance with the AdGuard Privacy Policy.

What are HAR files?

The HAR (HTTP ARchive) format is a JSON-formatted archive file for logging of a web browser's interaction with a site. The specifications of HAR format define archival data for HTTP transactions that a browser uses to export detailed information about the web pages it loads. More detailed description of HAR file format and its specification you can find at softwareishard.com website.

How to generate HAR files

Sometimes we need to analyze it to block specific ads that are difficult to reproduce for some reason. To get HAR files, follow these steps:

  1. Open AdGuard and go to Settings (⚙ icon in the lower right corner).
  2. Tap GeneralAdvancedLow-level settings.
  3. Scroll down and activate Capture HAR in the Filtering section.
  4. Open the app and perform the necessary actions to reproduce the problem.
  5. Turn Capture HAR off.
  6. Go back to Advanced.
  7. Tap Export logs and system infoAllow (if necessary) → Save.

Send the generated file with the logs to the AdGuard support service.

nota

Our support team will process your ticket much faster if you specify the HelpDesk ticket number or the GitHub issue number in your message.

How to analyze HAR files

Here are some sources that we can recommend to analyze HAR files:

  • HTTP Archive Viewer master is a HAR analyzer tool, visualizes HTTP Archive (HAR) log files created by HTTP tracking tools.
  • Fiddler is a web debugging proxy, lets you capture, inspect, monitor all HTTP(S) traffic between your computer and the Internet, mock requests, and diagnose network issues.