How do i determine whether the page is opened using a tablet or a mobile phone, i get that you can check for iPhone, iPad, etc. but is there a more distinct identifier in determining whether the page was opened using mobile, or tablet?
I'm using this so i can get the width of the page, but if there is a more efficient way of getting the current width of the page, do let me know
thank you :)