bitcoin-vr icon indicating copy to clipboard operation
bitcoin-vr copied to clipboard

VR Headset Users: Desktop vs Mobile add extra detection for Firefox Nightly and encourage Users to use VR Headset

Open robinkwilson opened this issue 7 years ago • 1 comments

robinkwilson avatar Nov 30 '17 18:11 robinkwilson

See todo comments for actions on this ticket

// INSIDE CLIENT.JS } else { // TODO add to detect firefox nightly then mobile = true and add else if statement in reactvrinit.js console.log(navigator.userAgent || navigator.vendor || window.opera); window.mobile = false; } })(navigator.userAgent || navigator.vendor || window.opera);

// INSIDE reactvrinit.js

// remove warning ribbon if viewing on mobile if (document.mobile) { var ribbonWrapper = document.getElementById('ribbon-wrapper'); var ribbon = document.getElementById('ribbon'); ribbonWrapper.removeChild(ribbon); } // TODO Firefox Nightly change #ribbon content to "Browser is compatible to use VR headset. Best experience in VR headset."

robinkwilson avatar Nov 30 '17 18:11 robinkwilson