In JavaScript screen.height and screen.width are wrong

Description of the issue:

On Linux, the JavaScript values of screen.width and screen.height are wrong. They should be the monitor size. It works fine on Chrome and Firefox.

On Brave, I am seeing this problem on Linux and Windows.

How can this issue be reproduced?

  1. Look at the variables screen.width and screen.height. Compare it to Chrome and Firefox.

Expected result:

Should be the monitor size. This number is important to help determine if the user is on a desktop, tablet, or mobile device.

Brave Version( check About Brave):

1.57.47

Additional Information:

This is a continuation of Screen.width and screen.height are wrong

Brave has Fingerprinting protection for screen coordinates, so you will have to disable it to properly test it.

Open Private window and go to https://arthuredelstein.github.io/tracking_demos/screen.html

Now, test by changing Fingerprinting from block/aggressive to allow. Now it will show properly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.