Closed givehug closed 6 years ago
What would be the recommended way to test if the plugin is active on the page? I guess !!navigator.userAgent.match(/HybridTvViewer/i) would be sufficient.
!!navigator.userAgent.match(/HybridTvViewer/i)
That should suffice – that's exactly how I check for its predecessor, FireHbbTV.
I do agree.
What would be the recommended way to test if the plugin is active on the page? I guess
!!navigator.userAgent.match(/HybridTvViewer/i)
would be sufficient.