PHP-Script to analyse Google Javascripts to re-construct a IFRAME address

Closed Posted Feb 6, 2011 Paid on delivery
Closed Paid on delivery

Hello!

Google offers an advanced Adsense code for its users which build an iframe src tag to display an advertisement on the user's website within this iframe. What I now need is a PHP script which is able to analyse that implemented Javascript to re-construct that iframe address which is normally build by the javascript. But I need this address on server side before sending the website's source to the browser.

Here is the typical Javascript code:

[in head]

<script type='text/javascript' src='[url removed, login to view]'>

</script>

<script type='text/javascript'>

GS_googleAddAdSenseService("ca-pub-7672534854075673");

GS_googleEnableAllServices();

</script>

<script type='text/javascript'>

GA_googleAddSlot("ca-pub-7672534854075673", "the_name");

</script>

<script type='text/javascript'>

GA_googleFetchAds();

</script>

[ head ende ]

...

...

[in body]

<script type='text/javascript'>

GA_googleFillSlot("the_name");

</script>

That's it!

Thank you!

Marc

Engineering JavaScript PHP Project Management Software Architecture Software Testing Web Hosting Website Management Website Testing

Project ID: #3084194

About the project

1 proposal Remote project Active Feb 19, 2011

1 freelancer is bidding on average $128 for this job

matfizvw

See private message.

$127.5 USD in 3 days
(54 Reviews)
6.0