J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Unable to use "device emulator" (1 viewing) 
Go to bottom
TOPIC: Re:Unable to use "device emulator"
#3805
Mehi
Fresh Boarder
Posts: 4
User Offline
Unable to use "device emulator" 3 Years, 12 Months ago 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  
 
Last Edit: 2015/12/14 01:29 By mehdi.
  The administrator has disabled public write access.
#3806
John Dagelmore
Admin
Posts: 3521
User Offline
Re:Unable to use "device emulator" 3 Years, 12 Months ago Karma: 74  
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  
 
Last Edit: 2016/08/16 19:03 By @store$eco#mm!.
  The administrator has disabled public write access.
#3807
Mehi
Fresh Boarder
Posts: 4
User Offline
Re:Unable to use "device emulator" 3 Years, 12 Months ago 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