AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

AdGuard Home \ Journal is not opening anymore when 2+ languages are inside browser.languages and some log record exist.

Open drweb86 opened this issue 1 year ago • 7 comments

Prerequisites

Platform (OS and CPU architecture)

Darwin (aka macOS), AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

Other (please mention in the description)

AdGuard Home version

latest GA

Action

  1. Login to Adguard Home administrative interface
  2. Click Logs
  3. Empty page is shown with error
new Date(e).toLocaleString(navigator.language, t)

My nivagator.language is "ru,en,en-GB,en-US"

In anonymous tab it works, because nivagator.language returns ru.

Expected result

Logs are opened

Actual result

Blank page is opened

Additional information and/or screenshots

No response

drweb86 avatar Mar 23 '25 14:03 drweb86

There is no button to click called "Logs". Do you mean Query Log?

Are you able to upload a screenshot or two of the issue you're facing?

Thank you.

tjharman avatar Mar 24 '25 02:03 tjharman

Image

And to automatically add

Image

With this, we can filter new domains that do not have a "decision" yet.

Her0ic96 avatar Mar 24 '25 06:03 Her0ic96

Image

Image

Image

drweb86 avatar Mar 24 '25 23:03 drweb86

Image

drweb86 avatar Mar 24 '25 23:03 drweb86

Fix is to split navigator.language by comma and then take first language.

Image

drweb86 avatar Mar 24 '25 23:03 drweb86

@drweb86, Is it possible that one of your extensions, which is disabled in Incognito mode, is affecting the navigator.language property in regular browsing mode?

schzhn avatar Mar 27 '25 12:03 schzhn

You were right.

CthulhuJs (Anti-Fingerprint) 7.0.1 caused incorrect language. Instead of putting single language, they put all array as string.

Unfortunately, they have no contacts. So I just won't use their extension.

drweb86 avatar Mar 29 '25 21:03 drweb86