Skip to content

Commit f73b2d9

Browse files
Replace Deprecated_Header in navigator.platform doc
For the navigator.platform article, this change replaces the Deprecated_Header macro and its boilerplate text with some more-appropriate alternative pseudo-boilerplate text. See #14429
1 parent 4db8611 commit f73b2d9

File tree

1 file changed

+3
-1
lines changed
  • files/en-us/web/api/navigator/platform

1 file changed

+3
-1
lines changed

files/en-us/web/api/navigator/platform/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ tags:
1111
- platform
1212
browser-compat: api.Navigator.platform
1313
---
14-
{{ APIRef("HTML DOM") }} {{Deprecated_Header}}
14+
{{ APIRef("HTML DOM") }}
15+
16+
> **Warning:** Use of this feature is discouraged. It may have known problems, or it may be a feature that works as expected now, but for which in the future behavior may change in a way that will break code that relies on it continuing to work in the same way it does now. Or it may be a feature which a specification has marked as deprecated or obsolete. Avoid using it, and update existing code if possible; see the [compatibility table](#browser_compatibility) to guide your decision.
1517
1618
> **Note:** An alternative to this property is {{domxref("NavigatorUAData.platform", "navigator.userAgentData.platform")}}. However, {{domxref("NavigatorUAData.platform", "navigator.userAgentData.platform")}} is not yet supported by most browsers, and the specification which defines it has not yet been adopted by any standards group (specifically, it is not part of any specification published by the W3C or WHATWG).
1719

0 commit comments

Comments
 (0)