iphone - Stop iframe redirect/opening mobile safari in phonegap project -
currently have been loading page hidden iframe within phonegap project way of scraping data off mobile version of website use within app.
the problem 1 particular site has type of frame buster , sends redirect exits app , loads page in mobile safari.
is there way stop reload ? leaving ethics of scraping aside :-)
if you're using phonegap build, add config.xml
file:
<preference name="stay-in-webview" value="true" />
if you're not using build set in cordova.plist/phongap.plist
:
openallwhitelisturlsinwebview = 'yes'
Comments
Post a Comment