HTTrack Website Copier
Free software offline browser - FORUM
Subject: How to turn off a location.replace?
Author: Exciter
Date: 04/14/2013 18:31
 
I'm trying to download a site which includes the following script code:

----------

<script language=javascript>

if((navigator.userAgent.match(/iPhone/i)) ||
(navigator.userAgent.match(/iPod/i)))
{
location.replace("/mobile/index.html");
}

----------

No matter which user agent I chose in the program settings my copy always
includes nothing but the mobile version of the site.

The contents are mostly the same but the images are much smaller in the mobile
version.

Is there any chance to turn that replace off so that I'm able to download the
original site instead of the mobile one?
 
Reply


All articles

Subject Author Date
How to turn off a location.replace?

04/14/2013 18:31




7

Created with FORUM 2.0.11