Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

A call to "navigator.userAgentData.platform" throws a Java Exception. Works OK on "Edge"

  • 1 (رد واحد)
  • 0 have this problem
  • 7 views
  • آخر ردّ كتبه Denys

An in-browser app tries to call "navigator.userAgentData.platform" to determine which operating system is in use, but the causes a Java Exception.

If I try the same thing under Edge it works OK.

An in-browser app tries to call "navigator.userAgentData.platform" to determine which operating system is in use, but the causes a Java Exception. If I try the same thing under Edge it works OK.

All Replies (1)

Hi,

navigator.userAgentData is currently not supported in Firefox. See https://developer.mozilla.org/docs/Web/API/Navigator/userAgentData

اطرح سؤالا

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.