News for hackers. Stuff that matters.
Re:Mobile Boilerplate: a best practice baseline for your mob... by jrnkntl on Monday March 28, 2011 @03:04PM (#2379585)
I am bit reticent in using the .htaccess in this package; how would you go about still offering the option to visit the standard website? This seems to directly redirect all mobile user agents to the mobile variant.
Re:Mobile Boilerplate: a best practice baseline for your mob... by paulirish on Monday March 28, 2011 @04:07PM (#2379842)
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/...

Re:Mobile Boilerplate: a best practice baseline for your mob... by shichuan on Monday March 28, 2011 @04:38PM (#2379980)
the boilerplate is always delete/add friendly, as Paul mentioned, we will hear more voices. thanks for bringing this up :)