This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
window_settings.rs:
//! Illustrates how to change window settings and shows how to affect
//! the mouse pointer in various ways.
use ;
/// This system toggles the vsync mode when pressing the button V.
/// You'll see fps increase displayed in the console.
/// This system switches the window level when pressing the T button
/// You'll notice it won't be covered by other windows, or will be covered by all the other
/// windows depending on the level.
///
/// This feature only works on some platforms. Please check the
/// [documentation](https://docs.rs/bevy/latest/bevy/prelude/struct.Window.html#structfield.window_level)
/// for more details.
/// This system toggles the window controls when pressing buttons 1, 2 and 3
///
/// This feature only works on some platforms. Please check the
/// [documentation](https://docs.rs/bevy/latest/bevy/prelude/struct.Window.html#structfield.enabled_buttons)
/// for more details.
/// This system will then change the title during execution
// This system will toggle the color theme used by the window
/// This system cycles the cursor's icon through a small set of icons when clicking