Skip to content

[BUG] 扩展图标显示数量问题 #989

Closed

Description

@Hunlongyu

问题描述

Image 进入百度网盘页面,一共2个脚本,其中一个脚本还未开启,但扩展图标显示4个使用中?

重现步骤

安装 linkswift 脚本
进入百度网盘

脚本猫版本

1.2.0-beta.5

操作系统以及浏览器信息

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

补充信息 (选填)

No response

Activity

  1. added theissue type on Nov 20, 2025
  2. CodFrm commented on Nov 20, 2025

    @CodFrm
    Member

    扩展图标上默认显示的是脚本运行次数,你的网页中可能是有 iframe,让脚本运行了多次

    Image
  3. changed the title [-][BUG][/-] [+][BUG] 扩展图标显示数量问题[/+] on Nov 20, 2025
  4. cyfung1031 commented on Nov 20, 2025

    @cyfung1031
    Collaborator

    扩展图标上默认显示的是脚本运行次数,你的网页中可能是有 iframe,让脚本运行了多次

    Image

    真的打算坚持预设运行次数吗? 新用户增加,之后应该每星期都有人开新 issue 问同一个问题
    这个数字不一定要跟TM
    每个网页 iframe 多少很微妙
    用户只是想看到有多少个执行脚本在这个页面跑

  5. CodFrm commented on Nov 20, 2025

    @CodFrm
    Member

    扩展图标上默认显示的是脚本运行次数,你的网页中可能是有 iframe,让脚本运行了多次
    Image

    真的打算坚持预设运行次数吗? 新用户增加,之后应该每星期都有人开新 issue 问同一个问题 这个数字不一定要跟TM 每个网页 iframe 多少很微妙 用户只是想看到有多少个执行脚本在这个页面跑

    唉,开始动摇了

  6. CodFrm commented on Nov 20, 2025

    @CodFrm
    Member

    扩展图标上默认显示的是脚本运行次数,你的网页中可能是有 iframe,让脚本运行了多次
    Image

    真的打算坚持预设运行次数吗? 新用户增加,之后应该每星期都有人开新 issue 问同一个问题 这个数字不一定要跟TM 每个网页 iframe 多少很微妙 用户只是想看到有多少个执行脚本在这个页面跑

    唉,改掉了,现在默认显示的是脚本数量

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

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions