SteamTools icon indicating copy to clipboard operation
SteamTools copied to clipboard

🐛[BUG] PAC 有冗余项目

Open Mishasama opened this issue 3 years ago • 1 comments

🐛 描述(Description)

image 既然有了通配符,为什么还要单独写这些包含在通配符中的域名? image 除了图中的 Twitch 有问题,其它很多网站都有类似不精简的问题。

📷 复现步骤(Steps to Reproduce)

  1. 使用 PAC 模式进行加速
  2. 查看该 PAC 的内容
  3. 发现问题

📄 日志信息(Log Information)

无需日志

🚑 基本信息(Basic Information)

  • 程序版本(Program Version): 2.8.4
  • 系统版本号(OS Version): Windows 10.19042
  • 是否为应用商店版本(Whether it is a Store version): 是(Yes)

🖼 截图(Screenshots)

描述

🧐 解决方案(Solution)

建议采用正则表达式一行解决所有同服务商下的规则。如: /^.*twitch\.tv$/ /^(.*\.|)steam((powered|-chat|static|community)\.com|.*-a.akamaihd.net)$/

我想这应该不是以牺牲体积来优化性能的设计吧😂

Mishasama avatar Sep 08 '22 19:09 Mishasama

这些多余的 在程序内是因为有多种处理方式。 这个Pac脚本只是简单的把所有的域名拼接了个PAC脚本。 可以看这里

倒是可以优化

Mossimos avatar Sep 08 '22 20:09 Mossimos