Created
November 12, 2023 01:20
-
-
Save shuntksh/274b85e984e038640051bde3b091954c to your computer and use it in GitHub Desktop.
Is Arc Browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackoverflow.com/questions/76123232/can-javascript-detect-the-arc-browser | |
console.log( | |
getComputedStyle(document.documentElement) | |
.getPropertyValue('--arc-palette-title') ? 'Is Arc' : 'Is Not Arc' | |
); |
Author
shuntksh
commented
Nov 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment