One of the most annoying things on the internet is websites that hijack your browser. Unfortunately, this isn't something exclusive to shady websites. You've probably run across a  legitimate website that doesn't let you go to the previous page when you click the Back button. This is a very aggravating practice and, thankfully, Google Chrome is doing something about it.

If you're lucky enough to have never experienced this issue, here's a simple example. You search for something on Google and select a result, but you realize it's not what you were looking for. When you click the Back button to leave the website it simply refreshes the page or refuses to go back. The only way to leave the page is to mash the Back button repeatedly or open your History and select the previous page.

The good news is Google has a solution on the way. According to a trio of Chromium commits, Google is combatting these "history manipulation" tactics. That's how these websites prevent you from leaving with the Back button. They manipulate your browsing history so going "Back" doesn't go where you expect.

Here's the description from commit 1344199

Entries that are added to the back/forward list without the user's intention are marked to be skipped on subsequent back button invocations. This CL only adds the bit and subsequent CLs will add metrics and the intervention logic based on this bit.

Chrome will begin silently flagging these websites and Google will review the metrics for analysis. The feature will be hidden behind a flag at first, which will be found at #enable-skip-redirecting-entries-on-back-forward-ui. When enabled, Chrome will detect false entries and skip those pages entirely. Look for this feature to be available in the coming weeks.


Via: 9to5Google