Raw Clipboard Access suggests a new navigator.clipboard.platform API to view the current clipboard's platform. This should be fairly convenient, and avoids the confusing/bloated navigator.platform API, which famously requires complex regex matching to detect many configurations.
However, it's possible that navigator.clipboard.platform may seem extraneous, so filing for TAG review to provide feedback. More info in the explainer here.
This has been discussed in more detail in issues both on this repository as well as in the referenced repository, so closing this issue as a duplicate.
Raw Clipboard Access suggests a new navigator.clipboard.platform API to view the current clipboard's platform. This should be fairly convenient, and avoids the confusing/bloated navigator.platform API, which famously requires complex regex matching to detect many configurations.
However, it's possible that navigator.clipboard.platform may seem extraneous, so filing for TAG review to provide feedback. More info in the explainer here.