Level 54
Content Creator
Malware Hunter
Google engineers are planning to change how the Escape key works in the Chrome browser, and it's all being done as part of a security-focused change meant to make it harder for shady sites to open popups.
The feature is expected to ship with Chrome version 76, scheduled for release at the end of July 2019.
The general idea is that starting with Chrome 76, pressing the Escape key on your keyboard will not "activate" a page and prevent it from running JavaScript code -- like it did until now.
"Browsers prevent calls to abusable APIs (like popup, fullscreen, vibrate, etc.) unless the user activates the page through direct interactions," Google said earlier this month.
"Not all interactions trigger user activation. For example, clicking on a link or typing in a textbox does, but swiping fingers on a screen or hovering with the mouse cursor doesn't."
Google will now classify pressing the Escape key in the same category as the above-mentioned actions.
"Since users never intend to interact with the page through the ESC key, it should not trigger user activation," Google said.