FirefoxBar / HeaderEditor

Manage browser's requests, include modify the request headers and response headers, redirect requests, cancel requests

Home Page:https://he.firefoxcn.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Erimus-Koo opened this issue · comments

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,是可以一直保持移动版的,但那个设置不太方便。