Skip to content

[BUG] 浏览器扩展内运行脚本丢失 #1642

Open

Description

@xixihu24-cyber

在安卓手机edge浏览器上安装完scriptcat扩展数天后,之前默认后台运行的脚本不在运行列表里,且已安装的脚本页面一直无法加载

Activity

  1. changed the title [-]scriptcat浏览器扩展bug[/-] [+][BUG]scriptcat浏览器扩展bug[/+] on Aug 3, 2026
  2. changed the title [-][BUG]scriptcat浏览器扩展bug[/-] [+]scriptcat浏览器扩展运行脚本丢失[/+] on Aug 3, 2026
  3. changed the title [-]scriptcat浏览器扩展运行脚本丢失[/-] [+][BUG] 浏览器扩展内运行脚本丢失[/+] on Aug 3, 2026
  4. CodFrm commented on Aug 3, 2026

    @CodFrm
    Member

    这个比较难排查,你知道安卓edge浏览器连接电脑查看console信息么?或者方便跟随下面的步骤连接电脑edge,查看console信息么?

    1. 安卓开启“开发者选项 → USB 调试”,用数据线连接电脑并允许 USB 调试。
    2. 电脑 Edge 打开 edge://inspect。
    3. 手机上打开安卓 Edge → ScriptCat → 已安装脚本,停留在一直加载的页面。
    4. 电脑 edge://inspect 找到 chrome-extension://.../src/options.html,点击 inspect。
    5. DevTools Console 开启 Preserve log,清空后在手机上重新进入已安装脚本页,保存所有红色报错及完整堆栈。
    6. DevTools Network 开启 Preserve log,重新触发问题,保存异常请求截图或脱敏后的 HAR。
    7. 在 edge://inspect 中寻找 ScriptCat 的 Service Worker、offscreen.html、sandbox.html;如果存在,分别 inspect 并保存 Console 报错。如果不存在,请注明未显示这些目标。
    8. 手机上进入 ScriptCat“日志”,选择覆盖异常发生时间的范围,截图 Error/Warning;不要清空日志。
  5. cyfung1031 commented on Aug 3, 2026

    @cyfung1031
    Collaborator

    @xixihu24-cyber 参考一下这个 #1420 ,估计类似原因

    有一些清理工具强行清掉 浏览器扩展 使用的数据保存区域
    停用就没事

  6. cyfung1031 commented on Aug 19, 2026

    @cyfung1031
    Collaborator

    请根据上述内容尝试一下。如一星期内没回应,将关闭 issue

  7. Magiclyan commented on Aug 21, 2026

    @Magiclyan

    请根据上述内容尝试一下。如一星期内没回应,将关闭 issue

    最近几个版本EDGE浏览器确实经常出现莫名脚本列表问题
    即便是使用B测版本脚本猫也是如此

  8. cyfung1031 commented on Aug 21, 2026

    @cyfung1031
    Collaborator

    有機會是因為之前我的pr 帶來的調整
    但那個我測試了很多次

    如果沒有實際可行具體的重現方法很難處理

  9. CodFrm commented on Aug 21, 2026

    @CodFrm
    Member

    有機會是因為之前我的pr 帶來的調整 但那個我測試了很多次

    如果沒有實際可行具體的重現方法很難處理

    最近好像只发了v1.4,感觉还是edge的问题

  10. Magiclyan commented on Aug 23, 2026

    @Magiclyan

    有機會是因為之前我的pr 帶來的調整 但那個我測試了很多次

    如果沒有實際可行具體的重現方法很難處理

    最近好像只发了v1.4,感觉还是edge的问题

    如果条件允许可否告知一下在EDGE浏览器上脚本猫所用到的相关文件路径?
    我重点监控下文件变动看看是不是突然间被删除所致

  11. added
    more-information-neededWaiting for additional information from the issue author. Automatic closure for unanswered issues.
    on Oct 22, 2026
  12. cyfung1031 commented on Oct 22, 2026

    @cyfung1031
    Collaborator

    @xixihu24-cyber
    请根据上述内容提供进一步资讯。否则一星期内关掉此 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    more-information-neededWaiting for additional information from the issue author. Automatic closure for unanswered issues.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions