- password autofill does not work in cross-domain frames in iOS browsers based on UIWebView
- calling window.open() overwrites the calling window, so I cannot control content while having the target website open
- I didn't find any other way to set location.host or mainDocumentURL.host to target domain while still controlling the content
I guess there may be some solution which I overlooked, so here is the challenge for you:
A sample application with the code above - which you may run on iOS simulator - is available on GitHub. The task is to prepare a local HTML file (/tmp/challenge1.html) in such way that "You completed the challenge" line will get executed.
There is no reward unfortunately, apart from a humble "thank you" during our SyScan360 talk :-)