Future Chrome Update Will Stop Websites Preventing You From Leaving

We’re sure that you’ve encountered some rogue websites in the past where when you try to press the back button, it doesn’t take you back to the previous page. Instead, it seems that run some kind of script that forces you to stay on its website, where the only way for you to leave is to close the browser.

This is quite scummy behavior and it seems that in the future, Chrome and other Chromium-based browsers such as Microsoft Edge will prevent that from happening. In a report from Naked Security, an upcoming change to Chromium will be introducing new behavior that is designed to stop websites from abusing the back button functionality.

In this change, it will introduce behavior so that when anything is added to the user’s browser history that did not require a user gesture, will be ignored in the future. This means that current methods of trapping a user from leaving will not work. “The new behavior of the browser’s back button will be to skip over pages that added history entries or redirected the user without ever getting a user gesture. Note that the intervention only impacts the browser back/forward button UI and not the history.back/forward APIs.”

The changes have already been approved for launch so hopefully, users of Chrome will be able to see it soon. It should also be applied to Chrome across multiple platforms including Windows, Mac, Linux, Chrome OS, and Android.

Future Chrome Update Will Stop Websites Preventing You From Leaving , original content from Ubergizmo. Read our Copyrights and terms of use.