PennController for IBEX › Forums › Support › Restricting to desktop › Reply To: Restricting to desktop
July 13, 2020 at 4:55 pm
#5793
Jeremy
Keymaster
Alex Drummond wrote this in utils.js: var isIPhone = navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i);
And the code of DashedSentence contains a conditional on isIPhone to print the “Next” button. I guess the longer term idea was to expand the check to any mobile browser (remember that Alex started writing ibex in the early 2010s)
Jeremy