Chrome browser to stop websites abusing the back button

Finally.
 By  Matthew Humphries  for PCMag  on 
Chrome browser to stop websites abusing the back button
Credit: Thomas Trutschel / Photothek via Getty Images

PCMag.com is a leading authority on technology, delivering Labs-based, independent reviews of the latest products and services. Our expert industry analysis and practical solutions help you make better buying decisions and get more from technology.

Regardless of the web browser you use, we all rely on the back button to return to the previously visited page. But some websites abuse the back button to stop you leaving. It's infuriating, but soon to be a thing of the past for Chromium-based browsers.

As Naked Security reports, the developers behind the Chromium open source browser, which Google Chrome (and the new Edge browser) are built around, are introducing new behavior to stop websites from breaking back button functionality.

There are two ways a website can currently break the back button. The first is by introducing redirects which sees a website first load another page that instantly redirects to the intended website. By doing that, clicking the back button simply loads the previous page which once again redirects back to the page you are attempting to leave.

The second method is called history manipulation. The back button relies on your pages visited history to know which previous page to load. It's possible to add multiple "pushState" commands to this history (thanks to HTML5) which stops the previous page from loading. These pushState commands can be stacked up so it doesn't matter how many times or how quickly you keep pressing the back button it will never leave the page you are on.

The new behavior being introduced to Chromium means anything added to the history that didn't require a "user gesture" will be ignored in future. So a redirect page or pushState commands won't work anymore much to the frustration of websites using this underhanded technique, but much to the relief of users who hate being trapped like this.

The behavior change will be available across all platforms including Windows, Mac, Linux, Chrome OS, Android, and Android WebView. It's already approved for launch so should appear in a future update for all major browsers using Chromium soon.

Topics Google

Mashable Potato

Recommended For You
Do you have one of these 17 browser extensions? They could be tracking your browsing history.
safari and chrome apps on phone

New iPhone Fold specs, button layout revealed, new leak claims
Apple logo on smartphone screen

Google Chrome unveils Gemini-powered auto-browsing feature
Chrome auto browse

3 new Google Chrome features to make your work day easier
Google Chrome update


More in Tech
The Shark FlexStyle is our favorite Dyson Airwrap dupe, and it's $160 off at Amazon right now
The Shark FlexStyle Air Styling & Drying System against a colorful background.

Amazon's sister site is having a one-day sale, and this Bissell TurboClean deal is too good to skip
A woman using the Bissell TurboClean Cordless Hard Floor Cleaner Mop and Lightweight Wet/Dry Vacuum.

The best smartwatch you've never heard of is on sale for less than $50
Nothing CMF Watch 3 Pro in light green with blue and green abstract background

Reddit r/all takes another step into the grave
Reddit logo on phone screen

Take back your screen from ads and trackers with this $16 tool
AdGuard Family Plan: Lifetime Subscription

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.


NYT Strands hints, answers for April 3, 2026
A game being played on a smartphone.
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!