Created
September 2, 2020 05:30
-
-
Save daybrush/47fc41c651f1147a3dcfacb6604fb86e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import getAgent from "@egjs/agent"; | |
const agent = getAgent(); | |
if ((agent.os.name === "mac" || agent.os.name === "ios") && agent.browser.webkit) { | |
console.log("is mac, ios webkit"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment