1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

iFrame not working...

Discussion in 'General Scripting Chat' started by darklegion, Jul 2, 2009.

  1. darklegion

    darklegion Regular Member

    Nov 24, 2007
    Likes Received:
    I am iFraming an offer but it only works in FF and IE8. It does not work in Chrome, IE7, Safari or any other browser as far as I know.

    Could it be because I am using a double meta refresh? How would I go about faking the referrer, do you think that would solve the issue?

    Here is my code:

    <div style="overflow: hidden; width: 256px; height: 100px; position: relative;" id="i_div">
    <iframe name="i_frame" src="http://myDMRlink.com" style="border: 0pt none ; left: -557px; top: -310px; position: absolute; width: 1280px; height: 600px;" scrolling="no"></iframe></div>
  2. jamainia

    jamainia Registered Member

    Jun 27, 2009
    Likes Received:
    sry for the question, but iframing is when you insert the affiliate site directly in your landingpage, right?
  3. zone69

    zone69 Junior Member

    Nov 24, 2008
    Likes Received:
    DMR will not work in an iframe in many browsers, as you have found out. Faking the referrer WILL work for all browsers as long as they have JS enabled. If they don't it simply will not redirect to the offer so no harm done.

    You will need to set up a WH site(s) and to make it simple just use Brad's standalone cpa redirector. You can get it here:
    Create landing pages using the cpa redirector and change the url hxxp://myDMRlink.com to hxxp://myWHsite/offer.php?mn=1234.

    offer.php will be a page you create on a WH site with the offer you promote and mn=xxxx is something you set in the script. It will then show hxxp://myWHsite/offer.php as your referrer rather than the iframed page on your BH site.

    Hope that helps!