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

貢獻者指南