WebGL builds insert compatibilitycheck automatically

Hello,

For WebGL Builds it would be nice to have the comparability check be able to be automatically inserted (Such as through a Plugin .jslib file) if detected. My use case is I would like to remove the unity canvas and replace it with other content (video, links, etc.) if on mobile. It is a pain to have to manually copy my function into every build, only adding to the build process / time.

You can try adding this to a custom template and then use that in your build.

See Unity - Manual: WebGL templates