Skip to content

[Feature] 点击排除执行后iframe页面仍然执行脚本,在脚本猫能不能实现iframe和主页面的跨域通信以实现iframe和主页面同步开启/关闭脚本的功能? #937

Description

@KingsKim

Feature Description

Please clearly describe the feature you want:
点击排除执行后iframe页面仍然执行脚本,在脚本猫能不能实现iframe和主页面的跨域通信以实现iframe和主页面同步开启/关闭脚本的功能?

Use Case

In what situations is this feature needed? (e.g., when processing specific websites, improving operational efficiency, etc.)
例如我做了一个网页暗夜模式的脚本,脚本开启状态时,iframe和主页面都会同时开启,但当我点击在此域名排除执行时,主页面没有再执行脚本了,iframe页面却仍会执行(因为iframe和主页面不是同一个域名)。所以希望能实现不需要通过服务端也可以使iframe和主页面进行跨域通信,使iframe和主页面统一开启/关闭脚本,或者有其他办法达到效果也行。

Additional Information

(Optional) Supplementary screenshots, sample code, or other reference information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions