Allowing cross domain Access in StageWebView ( Actionscript)

My Actionscript 3 basing iOS app loads a remote website from my server via StageWebView and displays the rendered content. Within that website is an iframe which requests and displays content from an external domain. That iframe target is unknown because it is each time dynamically created by Google Adsense javascript code. I want to place a javascript in the content of the parent website to read the source of the iframe with

iframesource=[url removed, login to view]('iframe')[0].contentDocument;

But the cross domain policy prevents the JS from doing so.

So this mini project contains:

A simple project I can export via Flash Builder which only contains one StageWebView that requests a (test-)website from my server where an existing Javascript is able to read the content of the dynamically created iframe by an Adsense code. I will tell you the test-website when you ask me.

You get a 25 USD bonus if you can tell me how I can change the browser's user agent which the StageWebView is sending to the server when requesting a website. The default user agent is

"Mozilla/5.0 (iPhone; CPU iPhone OS 11_1 like Mac OS X) AppleWebKit/604.3.5 (KHTML, like Gecko) Mobile/15B93"

If you can bring the StageWebView to send the user agent "my new user agent" instead you got 25 USD more.

I am a novice in AS programming so may be the solution is extremly simple and coded by you within 10 minutes.

Best regards


Taidot: ActionScript, Adobe Flash

Näytä lisää: cross domain widget access, form cross domain across html, cross domain javascript tracking code, server side perl cross domain data, cross domain ajax xml, save cross domain script, ajax xml cross domain, googe website optimizer cross domain, cross domain img tag, ajax php cross domain php, cross domain form, html form post cross domain, cross domain ajax solution, cross domain ajax form post, cross domain script

Tietoa työnantajasta:
( 180 arvostelua ) London, United Kingdom

Projektin tunnus: #15602199

4 freelancers are bidding on average €136 for this job


A proposal has not yet been provided

166 € EUR 30 päivässä
(0 arvostelua)
155 € EUR 3 päivässä
(0 arvostelua)

Experienced Actionscript and Javascript developer here. I am sure I can complete this project sucessfully.

144 € EUR 10 päivässä
(0 arvostelua)

I have overall profficiency in programming and over 10 years of experience with Actionscript/Flash/Flex. The bid is for 2 days but I believe this can be done in one day if no unforseen problems arise :)

80 € EUR 2 päivässä
(0 arvostelua)