ungoogled-software/ungoogled-chromium

Add Option to Disable “Sharing Tab to [site]” Banner in Tab Sharing

开放

#3,374 创建于 2025年7月3日

 (0 条评论) (1 个反应) (0 位负责人)Python (771 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (18,674 个星标)
PR 合并指标
 (平均合并 1天 11小时) (30 天内合并 9 个 PR)

描述

Description

Add Option to Disable “Sharing Tab to [site]” Banner in Tab Sharing

Who's implementing?

  • I'm willing to implement this feature myself

The problem

When using getDisplayMedia or tabCapture APIs to capture a specific browser tab for advanced applications (e.g. transcription services), a persistent banner appears at the top of the shared tab that reads:

“Sharing this tab to [destination domain]”

This UI element is unremovable, overlayed, and disruptive to the user experience

Image

Image

Possible solutions

Introduce a permission or flag (either via API or command line) to:

Disable the banner via dev tools or manifest permission

Suppress the banner for trusted domains or localhost (dev environments)

Allow capture sessions with a banner: false flag (similar to how camera/mic UI is sometimes hidden in fullscreen apps with explicit user permission)

Alternatives

No response

Additional context

No response

贡献者指南