Browser capabilities detection

Like most websites and applications on the Internet, Adobe Commerce and Magento Open Source require that the visitor’s browser allow both cookies and JavaScript for full operations. However, occasionally a user’s browser is set to the highest privacy setting that prevents both cookies and JavaScript. Your store can be configured to test the capabilities of each visitor’s browser and display a notice if the settings need to be changed.

  • If the browser’s privacy settings disallow cookies, you can configure the system to automatically redirect them to the Enable Cookies page, which explains how to make the recommended settings with most browsers.
  • If the browser’s privacy settings disallow JavaScript, you can configure the system to display the following message above the header of every page.

For technical information, refer to Supported browsers in the Installation Guide.

Configure browser capabilities detection

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the panel on the left under General, choose Web.

  3. Expand Expansion selector the Browser Capabilities Detection section and do the following:

    • To display instructions that explain how to configure the browser to allow cookies, set Redirect to CMS-page if Cookies are Disabled to Yes.

    • To display a banner above the header when JavaScript is disabled in the user’s browser, set Show Notice if JavaScript is Disabled to Yes.

    • To display a banner above the header when Local Storage is disabled in the user’s browser, set Show Notice if Local Storage is Disabled to Yes.

    General configuration - web browser capabilities detection {width="600" modal="regular"}

  4. When complete, click Save Config.

recommendation-more-help
d3c62084-5181-43fb-bba6-1feb2fcc3ec1