Google changes how the Escape key is handled in Chrome to fight popup ads

silversurfer

Level 85
Thread author
Verified
Honorary Member
Top Poster
Content Creator
Malware Hunter
Well-known
Aug 17, 2014
10,154
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.
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top