EN FR
← Modules

jizy-browser

A simple JS browser compatibility library.

Overview

A browser compatibility layer for web projects. It combines JavaScript logic and stylesheets to detect unsupported browsers and show a friendly blocking overlay when needed.

Features

  • Register custom compatibility checkers
  • Block Internet Explorer and other unsupported browsers
  • Customisable callback for incompatible browsers
  • Optional integration with caniuse.com regexes
  • Prebuilt stylesheets for a modern compatibility warning overlay

Installation

npm install jizy-browser

Example

A full-screen overlay shown to unsupported browsers (gated on body.incompatible-browser). It covers the whole viewport, so its dismiss control lives on the overlay itself.

Use the Hide button in the overlay's top-right corner to dismiss it.

Your browser is not supported

This is a demo of the jizy-browser overlay. In production it appears only when feature detection flags an incompatible engine. Resize the window to watch the @container query reflow.

Critical features missing: Container Queries, Custom Properties.