1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The Double Meta Refresh + Check in an iframe

Discussion in 'Cloaking and Content Generators' started by Siek, Sep 2, 2008.

  1. Siek

    Siek Regular Member

    Joined:
    Feb 4, 2008
    Messages:
    456
    Likes Received:
    294
    So the Double meta refresh + check
    -----------
    Page1
    <meta http-equiv="refresh" content="0;url=hxxp://Page2.com/"/>
    -----------
    Page2
    <?php
    $referer = $_SERVER['HTTP_REFERER'];
    if($referer == "")
    {
    echo "<meta http-equiv=\"refresh\" content=\"0;url=hxxp://www.youraffiliatelink.com\">";
    }
    ?>
    ---------

    We all know that this code will blank our referral from the affliates. But what if we had Page1 IFRAMED in a different page. It has been tested and the referrer does not pass even when Page1 is Iframed. However, for some odd reason this code does not work in the IE browser but does in Firefox.

    Does anyone have any idea why this happens or can provide a solution to this?

    its odd as i don't see why it shouldnt work. Thanks in advance
     
  2. PauloPT

    PauloPT Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2008
    Messages:
    344
    Likes Received:
    1,124
    Occupation:
    Rainbow hatter
    Location:
    Portugal
    This means the iframe will work on Firefox and that the referer will be blank on Firefox only. On IE it will pass it, so watchout if you're using this. I have no idea how to get IE to blank it. on the default settings.
     
  3. darkincome

    darkincome BANNED BANNED

    Joined:
    Aug 10, 2008
    Messages:
    69
    Likes Received:
    16
    ie will pass it but it wont pass the page the iframe is on as the referer, just the redirect file.
     
  4. Siek

    Siek Regular Member

    Joined:
    Feb 4, 2008
    Messages:
    456
    Likes Received:
    294
    Well i tested this on my own as well and i got the same result as what dark income stated. The Iframe reaches up to the first redirect..which has a meta refresh to the second redirect. So the referrer did not pass to the network - but rather just to the second redirect. The reason why i think this is b/c the second redirect is not opened within the IE browser - because they IE doesn't allow redirect in iframes then the referral will pass onto the second redirect and not to the offer. Therefore not allowing any passing of referrer to the network. lol

    hope that makes sense lol
     
  5. PauloPT

    PauloPT Jr. VIP Jr. VIP Premium Member

    Joined:
    May 22, 2008
    Messages:
    344
    Likes Received:
    1,124
    Occupation:
    Rainbow hatter
    Location:
    Portugal
  6. Siek

    Siek Regular Member

    Joined:
    Feb 4, 2008
    Messages:
    456
    Likes Received:
    294
    Oh well yeah that second page would be the redirect in what im testing (i think lol) I have

    Step1: PAGE1 (has Iframe of REDIRECT1)
    Step2: REDIRECT1 (has meta to REDIRECT2)
    Step3: REDIRECT2 (has check + meta to NETWORK)

    In IE's case it only reaches up to the second step. Redirect2 is not even even opened - so no referrer passed =) lol

    But we still have that problem which kinda sucks. lol Well on the positive side FF owns 45% of the market..and IE owns roughly 50%.

    Perhaps you can encourage a FF download using an info bar or something haha. Damn.
     
  7. mdd345

    mdd345 Regular Member

    Joined:
    Apr 2, 2008
    Messages:
    238
    Likes Received:
    241
    If you are using this the same way I do, you can do a browser check on page load, if it's not firefox, redirect them to a page that says they need it for "tracking purposes"
     
  8. finalanswer

    finalanswer Newbie

    Joined:
    Apr 4, 2008
    Messages:
    21
    Likes Received:
    6
    I haven't tested this in a while, but on your first meta refresh, you might want to make it a permanent (301) one instead of (302-found). And since browser's don't really differentiate between (307-temporary and 302-found), it's bet to stick with 302.

    final answer
     
  9. forgot

    forgot Jr. VIP Jr. VIP Premium Member

    Joined:
    May 3, 2008
    Messages:
    936
    Likes Received:
    706
    Location:
    BlackhatWorld
    It will not work in IE 8, we need to find some new thing


    Regards
     
  10. ortal

    ortal Junior Member

    Joined:
    May 27, 2008
    Messages:
    106
    Likes Received:
    10
    With which traffic sources do you have troubles - just emails when this is prohibited and BCT or even with myspace or youtube? What really gets you banned?
    And if the referer is not empty do you really give up the traffic? - well, you could send him back to URL1 for another cycle for example.
    btw also Opera seems to be problematic.