Emulators don't like XenForo

Dad.

Well-known member
Every time I try any kind of emulator with XenForo, such as http://ipad-emulator.org/, any site works but not a XenForo installation. I wonder if it has something to do with:

HTML:
<meta name="viewport" content="width=device-width, initial-scale=1">

Any thoughts anyone?
 
These sites aren't actually emulating anything at all, unfortunately.

All they are is iframes that are scaled to the size of the supposed "emulated" devices. And therein lies the real problem:
upload_2013-9-14_0-4-38.webp

Your best bet is to just resize your browser window.

In Chrome > F12 > Click the cog in the bottom right > Scroll down to Device metrics.

Set the screen resolution to 1024 x 768 and that should emulate a landscape iPad.
 
Thanks Chris, I wasn't sure if it was an actual emulator or just an iframe at 1024x768 (which I obviously have other tools for). I have a bug on iPad, and I don't own an iPad. So I don't know how to go about bug fixing that.
 
IIRC, isn't the frame error message that Chris posted due to Xf's click jacking prevention?

I seem to recall a similar issue using Xf as a frame in a Facebook app canvas.

Maybe I'm mistaken
 
Yes, its caused by a header, but iFrames aren't the best (and usually don't work) for responsive design. I find it best (and how I develop at work) to resize my browser.
 
AFAIK you're able to deactivate the click jacking protection.
just add following line to your config.php
PHP:
$config['enableClickjackingProtection'] = false;
 
Back
Top Bottom