---
title: "Back button hijacking: Google’s new FAQs and the test to run"
description: "Google’s new FAQs on back button hijacking: what changes for publishers and e-commerce sites, and the Chrome test to check if your site is at risk."
url: https://www.yourdigitalweb.com/en/back-button-hijacking-google-spam/
canonical: https://www.yourdigitalweb.com/en/back-button-hijacking-google-spam/
language: en
translation: https://www.yourdigitalweb.com/back-button-hijacking-google-spam/
translation_markdown: https://www.yourdigitalweb.com/back-button-hijacking-google-spam.md
publisher: YourDigitalWeb
publisher_url: https://www.yourdigitalweb.com/en/
author: Marco Maltraversi
date: 2026-11-27
updated: 2026-11-27
---

# Back button hijacking: Google’s new FAQs and the test to run

A reader lands on a local news article from Discover, reads two paragraphs and presses Back to return to the feed. Instead of the feed, a page of “articles you might like” appears. Back again, and another one shows up. On the third try the reader closes the tab. For the site owner, that sequence is worth a few extra page views; for Google, since June 15, 2026, it is spam.

On November 23, 2026, Google added an FAQ section to its **back button hijacking** policy, which became part of the spam policies for Google web search last spring. The answers settle three points many sites assumed were safe: third-party ad scripts are no excuse, Discover is covered, and what counts is behavior in the browser, not where the visitor came from.

Below we explain what the policy says, which technical patterns break it and the Chrome test we use to spot the problem in a few minutes, even when the script isn’t yours.

## What the policy says and what the November FAQs add

On April 13, 2026, Google announced on the Search Central blog that back button hijacking was being added to the “malicious practices” section of its spam policies, with enforcement starting on June 15, 2026. The official definition: it happens when a site interferes with user browser navigation by manipulating the browser history or other functionalities, preventing users from using their back button to immediately get back to the page they came from.

Google lists two possible consequences: **manual spam actions** or **automated demotions**, both of which can affect how a site performs in Search. In the April post Google also pointed out that inserting deceptive pages into a user’s browser history already went against Google Search Essentials: the change was making it an explicit violation, with a name and a definition.

The answers added on November 23, in short:

- **Ad platform code**: sites can keep using it; Google only acts on pages that exhibit the behavior.
- **Reports**: anyone can report a site through the official spam report form.
- **Discover**: it is part of Google Search, so the policy applies there too.
- **Visitors who don’t come from Google**: if the hijacking happens while the user is browsing in a browser, the policy applies even to visitors arriving from social media.
- **External apps**: opening an app and navigating inside it are outside the scope of the policy.

Read together, the second and fourth answers carry the most weight. A competitor or an annoyed reader can report the site, and the problem doesn’t have to show up when arriving from Google: it is enough that it happens in a browser.

## Three ways a site takes over the Back button

A tab’s history is changed through the browser’s History API, mainly history.pushState() and history.replaceState(), while going back is intercepted with the popstate event. These are legitimate, widely used tools found on virtually every modern website. The problem starts when they are used to trap the user.

### 1. The ghost history entry

As soon as the page loads, a script adds an entry to the history without the user doing anything. When the user presses Back, the browser “returns” to the ghost entry and the script shows something else: a list of articles, an offer, an ad. The bare-bones pattern fits in a few lines:

history.pushState(null, '', location.href); window.addEventListener('popstate', function () { location.href = '/todays-deals/'; });

Lines like these can hide in an exit-intent plugin, in a theme bought years ago or in a script loaded by a vendor. Site owners have often never seen them.

### 2. The exit page of content recommendation widgets

Some recommendation widgets and ad platforms offer features that show a page of content when the user tries to leave with Back. They are often switched on from the vendor’s dashboard, not in the site’s code, so nobody in the newsroom knows they are active. This is the case Google’s first FAQ addresses, and it is the trickiest one precisely because it is invisible to whoever works in the CMS.

### 3. The redirect loop

The user lands on a URL that immediately sends them to a second URL through JavaScript. If the first page stays in the history and fires the redirect again, every press of Back pushes the user forward. It can happen without bad intentions, for example after a migration done with client-side redirects instead of server-side ones. The policy looks at how the page behaves, not at intent, so it is worth fixing anyway.

## The Chrome test to run on every page template

You don’t need a paid tool. Chrome, a clean window and a few minutes per page template are enough: home page, article, product page, category page, campaign landing pages.

1. **Start from Google.** Open an incognito window, search for the site and click a result. That way the previous page in the history is the results page, just as it is for a real user.
2. **Don’t touch anything and press Back once.** You should land back on the results. If anything else appears, you have found the problem. Repeat after scrolling and after accepting the cookie banner: many ad scripts only load after consent.
3. **Count the history entries.** Open DevTools (F12), go to the Console tab and type history.length as soon as you land on the page. Wait a few seconds without clicking and type it again. If the number goes up on its own, something is adding entries to the history: each pushState call increases it by one.
4. **See who is listening to the Back button.** Still in the Console, type getEventListeners(window).popstate. This command only exists in the DevTools Console and won’t work inside page scripts. Each item in the list is a script reacting to Back; the file reference tells you which one.
5. **Search the loaded code.** With Ctrl+Shift+F (Cmd+Option+F on Mac) DevTools searches every file on the page, third-party ones included. Look for pushState, replaceState and popstate, then check which domain each file belongs to.
6. **Repeat on a smartphone.** Ad platforms can serve different setups on mobile. DevTools device emulation helps, but a real phone is still the most reliable check.

A note for sites built as single page applications (React, Vue, Angular, many headless e-commerce stores): you will certainly find pushState in the code, because that is how the router changes the URL. That is not a problem in itself. The real verdict always comes from the hands-on test in step 2.

## Ads and widgets: the script may not be yours, the risk is

The first FAQ sounds reassuring, because Google doesn’t ban code from ad platforms. But the key phrase is the other half: it acts on pages that exhibit the behavior. If a vendor’s script hijacks the Back button, the page at risk is yours.

Our advice, especially for publishers and ad-funded sites, is to treat this policy as a contract clause rather than a technical footnote. Ask every advertising and content recommendation vendor, in writing, whether they have features acting on the Back button or on page exit, and have them switched off. A few extra page views are not worth the risk of losing visibility on Discover, which for many publishers is a critical channel.

For e-commerce, the typical case is different: exit popups with discount codes installed by marketing apps or plugins. A popup that appears when the mouse leaves the window doesn’t touch the history; one that fires by intercepting Back does. For this policy, that is the whole difference, and it is worth checking how yours is set up.

## Changing the history isn’t banned: where the line is

The policy doesn’t say pushState is forbidden. It says users must be able to go straight back to the page they came from. Google hasn’t published a list of allowed uses, so the table below is our reading of the most common cases, based on the text of the policy and the FAQs.

| Situation | What happens when pressing Back | Our assessment |
| --- | --- | --- |
| E-commerce category filters that update the URL | Goes back to the previous filter, then to the referring page | Acceptable: users retrace steps they actually took |
| Gallery or tab that opens with its own URL | Closes the gallery and returns to the page | Acceptable, as long as no entries are added on every load |
| Entry added on load with no interaction | Shows a page the user never visited | Remove it: this is the pattern Google describes |
| “Recommended articles” page on exit | Leads to content nobody asked for | Remove it, even if the vendor switched it on |
| JavaScript redirect loop | Back pushes the user forward | Fix it with server-side redirects |
| Link that opens the site’s app | The user stays in the app | Out of scope, according to the FAQs |

## If a manual action shows up in Search Console

Manual actions appear in the Manual actions report in Search Console and are also sent to the message center. The path Google describes is straightforward: remove or disable the code responsible, make sure the behavior is gone on every page template, then submit a reconsideration request from the report. Automated demotions, on the other hand, come with no warning: you only notice them as a drop in performance. That is why the test should be done before, not after.

In a reconsideration request, precision pays off: which script, from which vendor, on which pages, what was switched off and when. Timing matters too. In December the [core update Google announced in advance](https://www.yourdigitalweb.com/en/december-2026-core-update/) is due: if traffic drops in those weeks, separating the causes will be much easier with a site that is already clean on this front.

If you are rebuilding your site, add the Back button test to pre-launch QA alongside the other technical checks; we cover this in our [website design](https://www.yourdigitalweb.com/en/website-design/) page. If you want an outside review of a live site, we can start with a [free analysis](https://www.yourdigitalweb.com/en/free-analysis/) or work on it as part of our [SEO consulting](https://www.yourdigitalweb.com/en/seo-consultant/).

## Technical references

- [Google Search Central: Spam policies for Google web search](https://developers.google.com/search/docs/essentials/spam-policies)
- [Google Search Central Blog: Introducing a new spam policy for “back button hijacking” (April 13, 2026)](https://developers.google.com/search/blog/2026/04/back-button-hijacking)
- [Google Search Central: Latest Google Search documentation updates](https://developers.google.com/search/updates)
- [Google Search Central: Report spam, phishing, or malware](https://developers.google.com/search/help/report-quality-issues)
- [Search Console Help: Manual actions report](https://support.google.com/webmasters/answer/9044175)
- [Chrome for Developers: Console Utilities API reference](https://developer.chrome.com/docs/devtools/console/utilities)
- [MDN Web Docs: History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API)

---

Source: [Back button hijacking: Google’s new FAQs and the test to run](https://www.yourdigitalweb.com/en/back-button-hijacking-google-spam/) · YourDigitalWeb, https://www.yourdigitalweb.com/en/
