Browser support
The SDK requires browser support for:
- Mutation Observer, to record mutations of the DOM.
- ECMAScript modules, and dynamic import, as the SDK is bundled to ES modules, and lazy-loads code with dynamic imports.
- CSS custom properties for styling.
These requirements result in roughly 93% browser coverage as of May 2022. Not supported: Internet Explorer 11 and some mobile browsers like Opera Mobile.
When end-users using an unsupported browser access a page with the SDK on it, the default SDK trigger button is not added to the page. All custom buttons with the data-birdeatsbug="trigger"
attribute are hidden, window.birdeatsbug.isBrowserSupported
is false
, and the afterInit hook
receives an object with the isBrowserSupported
attribute set to false
.