This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
//! This example illustrates how to override the window scale factor imposed by the //! operating system. use ; /// Set the title of the window to the current override /// This system toggles scale factor overrides when enter is pressed /// This system changes the scale factor override when up or down is pressed