3 ms·
Right now that UA sniff to mobile redirect is a little undercommented. We'll address this. We just wanted to highlight one of the most robust detection sniffs
by paulirish 16y ago
Right now that UA sniff to mobile redirect is a little undercommented. We'll address this.
We just wanted to highlight one of the most robust detection sniffs available. It is left commented out by default. And it's up to you in case you want to hijack your mobile users to toss them to your mobile site. (And yes I agree we should allow them to go back)
I've filed this ticket so we can do a better job of explaining this code's presence: https://github.com/shichuan/mobile-html5-boilerplate/issues/15 https://github.com/shichuan/mobile-html5-boilerplate/issues/...