[bug]自动选择注入模式无效 The injection mode "auto" is invalid
ghostflyby opened this issue · comments
在一些站点(举知乎专栏为例),CSP限制导致 page 注入无法运行,注入模式选择为「auto」时,不会切换为 「content」 注入,导致注入的脚本无法运行。
手动的解决方案:选择「content」注入。
In English
Sites with certain CSP restrictions (zhihu.com as an example) prevent scripts injected with "injection option:page" from being executed. When the injection option is "auto", the injection won't fallback to "content" on the failure of "page injection", resulting in the unusable scripts.
This can be temporarily solved by manually switch injection option to "content".