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

我发现修改系统语言后会导致无法正常使用 #59

Open
wyfang opened this issue Nov 12, 2018 · 3 comments
Open

我发现修改系统语言后会导致无法正常使用 #59

wyfang opened this issue Nov 12, 2018 · 3 comments

Comments

@wyfang
Copy link

wyfang commented Nov 12, 2018

所以会不会一些手机,比如nexus6p,是不是也是因为字体的原因?

@e1399579
Copy link
Owner

改了语言,支付宝控件也会发生变化。脚本本身就依赖于控件,不能运行很正常

@SuperMonster003
Copy link

SuperMonster003 commented Nov 14, 2018

@e1399579
如果用正则呢,比如
if (idEndsWith("h5_tv_title").textMatches(/好友排行榜|Green heroes/).findOne()) {
// ... ...
}
或者
let keyword = "查看更多好友";
if (flagEn) keyword = "View more friends"; // 判断h5标题时确定了英文系统
之类的。
😄

@NeoFantom
Copy link

参见最新的pull request。如果系统语言是英语,改两行代码就好了。

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

4 participants