Forum
Welcome, Guest
Please Login to access forum.
Unable to use "device emulator" (1 viewing) 
Go to bottom
TOPIC: Unable to use "device emulator"
#3805
Mehi
Fresh Boarder
Posts: 4
User Offline
Unable to use "device emulator" Karma: 0  
When i click on "device emulator" it will load for few sec then redirect to mobile site...
Please see the gif attached
Any help would be appreciated
 
Logged Logged  
  The administrator has disabled public write access.
#3806
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Unable to use "device emulator" Karma: 79  
Hi.

Even if you didn't post your website URL i was able to find it.

The device emulator is based on a IFrame to render and simulate various devices, the problem is that in your pages you have the following javascript script:

Code:

<script type="text/javascript"> if (top!==self) { top.location=location; } </script>
This script reload the IFrame location URL in the main parent window, thus redirecting to the mobile site. Remove it to use normally the emulator, normally it's added by the Anti Copy plugin.
 
Logged Logged  
  The administrator has disabled public write access.
#3807
Mehi
Fresh Boarder
Posts: 4
User Offline
Re:Unable to use "device emulator" Karma: 0  
Thank you so much, i've been dealing with this for so long in other modules and you got me answer in 10min! Awesome!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top