Skip to content

All checks / Technical

Back button hijacking spam policy

Google has added 'back button hijacking' as a named malicious practice in its spam policies.

Critical back-button-hijacking

In SEOCode's checks since 9 May 2026


Why this matters.

Google has added 'back button hijacking' as a named malicious practice in its spam policies. This deceptive practice intercepts or overrides the browser's back button behavior to trap users on a page or redirect them to an unintended destination. Pages that implement this behavior may be subject to manual action.

Runs on .html .jsx .tsx .vue .svelte · Critical checks fail the pull request status, so the change cannot merge until it is fixed.


How to resolve it.

Audit your JavaScript for any code that overrides history.pushState, history.replaceState, or the popstate event in ways that prevent users from navigating back normally. Remove any such manipulation.

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Spam Policies

developers.google.com

Using a framework? Next.js · SvelteKit · Nuxt



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card