We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde86dc commit 03e69e6Copy full SHA for 03e69e6
modcode/platform.js
@@ -0,0 +1,14 @@
1
+function isWechat() {
2
+ var ua = navigator.userAgent.toLowerCase();
3
+ return /micromessenger/i.test(ua);
4
+}
5
+
6
+function isQQBrowser() {
7
8
+ return /Mobile MQQBrowser/i.test(ua);
9
10
11
+function isAndroid() {
12
13
+ return /android/i.test(ua);
14
0 commit comments