Post Info and Links
Get more out of this post by commenting and keeping track of it using these online tools.
| Posted on: | December 10, 2005 |
| Comments: | 2 Responses |
| Tags: | Code, Web/Net |
| Link using: |
|
SEO, PHP, Photography & Other Stuff
I’d also add to the cash payout to find anyone who can crack it. Would be great to be able to ‘adjust’ the Adsense code that is displayed.
The question is. How to you access that frame source via a javascript?
Obviously you can find all Iframes.
document.getElementsByTagName(”iframe”)
You can then find all iframes that have the name:
“google_ads_frame” (which is what Google calls them)
framevariable.name.indexOf(’google_ads_frame’)
You can then check the source and pull out the “format” variable that Google places in there to see if that specific frame is an Adlinks Iframe or not (in case you were only interested in the AdWords and not the AdLinks).
Ok, so now you have a reference to a specific Google Adsense but now what?
How do you access the same information using the DOM that you did by simply rightclicking the screen to “viewsource”?
I’d pay anyone who could figure that out (though some think you can’t because the Iframe source comes from a different domain as the original javascript). But firefox can obviously pull it. Maybe it is a limitation in javascript.