webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
747 stars 67 forks source link

www.mainwald-ffm.de - "Back" button does not work #105390

Open webcompat-bot opened 2 years ago

webcompat-bot commented 2 years ago

URL: https://www.mainwald-ffm.de/?utm_source=google&utm_medium=cpc&utm_campaign=ON127375&gclid=EAIaIQobChMIjOelmLOW-AIVj5ftCh1fcA_LEAMYASAAEgLU8PD_BwE

Browser / Version: Firefox Mobile 101.0 Operating System: Android 9 Tested Another Browser: No

Problem type: Something else Description: can't return to previous google page Steps to Reproduce: Pressing on the back button does not lead you back to the previous page you came from

Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20220526203855
  • channel: release
  • hasTouchScreen: true
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

softvision-raul-bucata commented 2 years ago

We appreciate your report. I was able to reproduce the issue using Firefox Focus (Release and Nightly) and on the latest Firefox Fenix Nightly on an Android 11 device:

back button does not work

Tested with:

Browser / Version: Firefox Focus Release 101.1.1 (361470144-🦎101.0-20220526203855)/ Firefox Fenix Nightly 103.0a1 (2015884683-🦎103.0a1-20220605065813🦎)/ Firefox Focus Nightly 103.0a1 (361561708-🦎103.0a1-20220605065813🦎) Operating System: Samsung A51 (Android 11) -1080 × 2400 pixels 20:9 aspect ratio (~405 ppi density) Operating System: Google Pixel 3 (Android 12) -1080 x 2160 pixels, 18:9 ratio (~443 ppi density)

Notes:

  1. Reproducible regardless of the status of ETP.
  2. Reproducible on the latest build of Firefox Fenix Nightly.
  3. Works as expected using Chrome and on Android 12.

Moving this to NeedsDiagnosis for further investigations.

[qa_23/2022]

ksy36 commented 2 years ago

This is based on UA detection, the site is disabling back button action for all mobile browsers other than Chrome:

window.isMobile = (DeviceDetector.parse().type == 'Mobile');
window.isTablet = (DeviceDetector.parse().type == 'Tablet');
window.isChrome = (DeviceDetector.parse().browser == 'Chrome');
window.isDesktop = (!isMobile && !isTablet);
if (!isDesktop && !isChrome) {
  // disable back button
  history.pushState(null, null, location.href);
  history.back();
  history.forward();
  window.onpopstate = function () {
    history.go(1);
  };
}

Let's move to needscontact.

webcompat-bot commented 2 years ago

Generate outreach template