Samsung Internet Browser does not run javascript. Please help

Topic summary

A developer encountered JavaScript functionality issues with Samsung Internet Browser on their e-commerce site, while other browsers worked correctly. The problem specifically affected certain pages, including product configuration features.

Root Cause Identified:

  • The issue stemmed from using the let keyword to declare variables
  • Samsung Internet Browser’s version didn’t fully support let
  • Changing let to var resolved the problem

Additional Context:

  • Chrome DevTools flagged a non-passive event listener warning on scroll-blocking ‘touchstart’ events
  • The custom JavaScript contained ~2,500 lines of product configuration code

Helpful Resources Mentioned:

  • JSHint (jshint.com) - checks JavaScript code and highlights errors
  • CanIUse (caniuse.com) - verifies browser support for specific features

Another user confirmed experiencing similar browsing issues with Samsung Mobile, suggesting broader compatibility concerns with the browser’s JavaScript handling.

Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

I’ve found this in chrome dev tools:

Added non-passive event listener to a scroll-blocking ‘touchstart’ event. Consider marking event handler as ‘passive’ to make the page more responsive.