The website I'm developing recently uses Bootstrap framework. There is no problem about responsiveness while directly visiting the site.
There is another domain name (domainB) and I'm using URL embed method and it loads the actual site.
While visiting the domainB on a mobile device, the responsiveness doesn't work, it loads the desktop site not the mobile-size one.
So, my question:
How to detect if the site is loaded inside an iframe on a mobile device?
I saw that question and by that method it can be understood if the webpage is being loaded inside an iframe but how to detect if the visitor is on a mobile device?
(I don't have any code control on domainB, the URL embed feature is served by domain name registrar company.)
(There could be some SEO issues about this, I know this.)