Open Bug 1958290 Opened 7 months ago Updated 2 months ago

www.autoinsurance.org - Unable to leave the site when pressing back button

Categories

(Web Compatibility :: Site Reports, defect, P3)

ARM
Android

Tracking

(Webcompat Priority:P3, Webcompat Score:2)

Webcompat Priority P3
Webcompat Score 2

People

(Reporter: railioaie, Unassigned, NeedInfo)

References

()

Details

(Keywords: webcompat:needs-diagnosis, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])

User Story

platform:android
impact:annoyance
configuration:general
affects:all
branch:release
diagnosis-team:dom
user-impact-score:20

Environment:
Operating system: Android 14
Firefox version: Firefox Mobile 136.0

Preconditions:
Clean profile

Steps to reproduce:

  1. Navigate to: https://www.autoinsurance.org/auto-insurance-companies-with-the-best-customer-service/
  2. Scroll down
  3. Tap Back button to leave the site

Expected Behavior:
The user is able to leave the site

Actual Behavior:
Unable to leave the site

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/150982

Webcompat Score: --- → 1

Not quite a backtrap, it's probably just using the History API wrong.

Severity: -- → S4
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: 1 → 3
Priority: -- → P3
Webcompat Score: 3 → 2

Called only on mobile: https://www.autoinsurance.org/wp-content/cache/min/1/wp-content/themes/phoenix/js/exit-intent-popup.js?ver=1752775365

if (is_mobile) {
  window.onload = function (evt) {
    if (typeof history.pushState === 'function') {
      history.pushState({
      }, '', null);
      window.onpopstate = function () {
        history.pushState({
        }, '', null);
        pop_it(evt)
      }
    }
  }

Per my observation Chrome just ignores them even though it does add the history entries. Maybe as part of their backtrap prevention? browser.navigation.requireUserInteraction=true is not enough. NI'ing Adam in case he has some idea.

Flags: needinfo?(avandolder)
You need to log in before you can comment on or make changes to this bug.