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

[Question] Only work on html, not on follows js. #257

Open
Erimus-Koo opened this issue Jul 28, 2023 · 0 comments
Open

[Question] Only work on html, not on follows js. #257

Erimus-Koo opened this issue Jul 28, 2023 · 0 comments

Comments

@Erimus-Koo
Copy link

Erimus-Koo commented Jul 28, 2023

Target

keep using mobile mode visit Discord.com
希望 Discord 一直是移动版页面

Process

  • Set mobile user agent of Discord.
  • Request UA of the main HTML file changed to mobile. ✅
  • But the request UA of the following js files is still Mac, not changed. ❎
  • discord.com display as PC mode.

中文

  • 给 discord.com (domain) 设置移动版 UA
  • 查看 network,html 的 request UA 变成了移动版 ✅
  • 但后续的 js 文件的 UA 还是 PC 的 ❎
  • 估计 discord 可能是用 js 来判断版本的,于是还是现实为 PC 版
  • 如果用 chrome 的 network conditions 设置 UA,是可以一直保持移动版的,但那个设置不太方便。
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