My idea was very simple - just create function which will return detected Bootstrap device (
getBootstrapDevice function simply prepends document body by “testers” which are styled as invisible.
getBootstrapDevice just checks which “tester” is currently visible.
This example prints the active devices on the screen.
You can customize it by reimplementing