You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 3.3.2 of copy-to-clipboard has the following code:
varcopyKey=(/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl")+"+C";
This emits a warning on Chrome:
Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform
Soon, Chrome will stop providing details in navigator.userAgent (for client-side) and will not pass user-agent details in the User-Agent header (for server-side). Instead, copy-to-clipboard should use navigator.userAgentData.platform client-side and the Sec-CH-UA-Platform header server-side.
Version 3.3.2 of copy-to-clipboard has the following code:
This emits a warning on Chrome:
Soon, Chrome will stop providing details in
navigator.userAgent
(for client-side) and will not pass user-agent details in theUser-Agent
header (for server-side). Instead, copy-to-clipboard should usenavigator.userAgentData.platform
client-side and theSec-CH-UA-Platform
header server-side.See https://web.dev/migrate-to-ua-ch/
See #39
The text was updated successfully, but these errors were encountered: