TamperMonkeyScript icon indicating copy to clipboard operation
TamperMonkeyScript copied to clipboard

[Bug] <github页面响应慢>

Open physxz opened this issue 1 year ago • 1 comments

先决条件

  • [X] 我使用的是本仓库最新版本的油猴脚本
  • [X] 我已经在 Issue Tracker 中找过我要提出的 bug,并且没有找到相关问题

脚本运行的容器

扩展-篡改猴(TamperMonkey)

扩展版本

No response

脚本名称

网盘链接识别

问题描述

GitHub页面点击无响应/响应变慢(5-10s才会反应)

复现步骤

No response

physxz avatar May 13 '24 12:05 physxz

哪个页面?

WhiteSevs avatar May 13 '24 12:05 WhiteSevs

应该是所有的。不是网速或VPN造成的,油管响应很快,但是只要打开github就会变慢,github里边的所有页面都是

WhiteSev @.***> 于2024年5月13日周一 20:47写道:

哪个页面?

— Reply to this email directly, view it on GitHub https://github.com/WhiteSevs/TamperMonkeyScript/issues/19#issuecomment-2107486601, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWFFEOMKN46RC2HI63D6P3ZCCY5TAVCNFSM6AAAAABHUC57QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBXGQ4DMNRQGE . You are receiving this because you authored the thread.Message ID: @.***>

physxz avatar May 26 '24 04:05 physxz

github页面启用了CSP策略,所以页面的字符串match行为会由Worker多线程匹配处理变为单线程进行匹配,页面内容多的话会阻塞页面加载,最好直接把github的域名排除

WhiteSevs avatar May 28 '24 06:05 WhiteSevs