Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Embed Vanilla fails with adsense-frame

edited November 2010 in Vanilla 2.0 - 2.8
on my site there is in the header a google adsense ad block.

in the content area i tried to embed vanilla. that works, but if i click any link in the embed vanilla it loads the requested vanilla page in my adsense frame!

Comments

  • MarkMark Vanilla Staff
    That's one we haven't encountered before! Embed should be targeting it's own frame by ID, so unless adsense is using our unique id, it shouldn't happen. Will have to look into this one a little deeper.
  • well of course the adsense iframe has not the vanilla's iframe id.

    if i click a link in embed vanilla, the url in browser changes to like for example "xxx#/messages/inbox" and then my inbox is loaded in the adsense iframe. The iframe of embed vanilla does not change at all!
  • problem found... i guess... not tested yet

    in local.js you refer to the vailla frame with:
    parent.window.frames[0]
    this is obviously the first frame in the wordpress template, which happens to be the adsense frame.
Sign In or Register to comment.