Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UC HD browser #327

Closed
dimidrola opened this issue Aug 6, 2018 · 0 comments
Closed

UC HD browser #327

dimidrola opened this issue Aug 6, 2018 · 0 comments

Comments

@dimidrola
Copy link

UC HD browser defined as mobile in iPad.
the problem is that we have different user-agent string, and
var re = /\((ipad|playbook);[\w\s\);-]+(rim|apple)/i;

var ua = 'Mozilla/5.0 (iPad; U; CPU OS 11_2 like Mac OS X; zh-CN; iPad5,3) AppleWebKit/534.46 (KHTML, like Gecko) UCBrowser/3.0.1.776 U3/ Mobile/10A403 Safari/7543.48.3';

var result = re.exec(ua); // null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant