'Google Chrome 126' stable version released, controller vibration function available for browser games



The latest stable version of the web browser ' Google Chrome ', version 126, has been released. It adds a mechanism for animation when moving between pages on the same site, and a function to vibrate the controller from games running on the browser.

New in Chrome 126 | Blog | Chrome for Developers

https://developer.chrome.com/blog/new-in-chrome-126

New in Chrome 126: Cross-document view transitions, CloseWatcher API re-enabled and more - YouTube


◆ Animations using the view transition API are now possible when moving between pages.
It is now possible to use the View Transition API to animate the transition between pages on the same origin.


Note that an 'origin' is a combination of the scheme, host name, and port number, and animation can only be performed when moving to a page where all of these match.



To enable the animation, simply set the '@view-transition' rule in the CSS for both the pre-transition and post-transition pages. Customization is possible in the same way as with the normal view transition API.



◆ CloseWatcher API is back
The CloseWatcher API was implemented in

Chrome 120 as a way for apps to properly handle when a user indicates their intention to close a modal or popup by, for example, pressing the Android back button. However, it was disabled due to unexpected interactions with dialog elements.

The CloseWatcher API has been reinstated in Chrome 126, and the API can now be used properly again. By using the CloseWatcher API, user actions are notified to the app as cancel events and close events as shown below.



◆ trigger-rumble function will be introduced to

the GamePad API
The Gamepad API, which is used to interact with controllers such as gamepads, has been updated with a new 'trigger-rumble' feature that vibrates the gamepad to provide haptic feedback, improving the web gaming experience for players using controllers with vibration capabilities.

◆Other updates
- A method has been added to output the device location information in JSON format to GeolocationPosition and GeolocationCoordinates .
- Tab mode for web apps is now supported on ChromeOS

◆ Developer Updates
- Storage buckets can now be viewed in the 'Application' panel of the developer tools
You can now view the contents of buckets created by the Storage Bucket API, which allows you to create and manage multiple storages on the same site, in the application panel of the developer tools.



It was announced thatGemini Nano would be built into Chrome 126 in May 2024, but at the time of writing, there was no mention of it in the patch notes for Chrome 126, and no related features were available in Chrome's flags section.



Google Chrome 126 also includes 21 security bug fixes .

The next stable version, 'Google Chrome 127', is scheduled to be released on July 23, 2024 local time.

in Software, Posted by log1d_ts