status-im / status-web

Packages for building web applications in the Status ecosystem.
https://status-components.vercel.app
Mozilla Public License 2.0
82 stars 36 forks source link

Research transparency of browser windows #380

Open felicio opened 1 year ago

felicio commented 1 year ago

What

Why

image

Where

felicio commented 1 year ago

No, it is not possible to set the transparency of the browser window itself using standard web technologies like HTML, CSS, and JavaScript. The transparency of the browser window is controlled by the operating system, and it is not exposed to web pages for security and privacy reasons.

However, some browsers may provide extensions or APIs that allow developers to modify the appearance and behavior of the browser window, including its transparency. These APIs are typically only available to trusted extensions and require special permissions to access. Additionally, modifying the browser window's appearance can have unintended consequences for the user experience, so it should be done with caution and user testing.

– source, ChatGPT

felicio commented 1 year ago

[https://github.com/ibitcy/react-native-hole-view] this is what they used. not sure if relevant for web – https://discord.com/channels/@me/1079757666747940965/1097468929028411462

prichodko commented 1 year ago

This is not possible.