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

my way of framing second pages...without GodCpa

Discussion in 'CPA' started by nikhil88, Nov 5, 2009.

  1. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    what u need-
    1. firefox
    2. measureit addon
    HTML:
    https://addons.mozilla.org/en-US/firefox/addon/539
    ok i'll be using this offer url for my example,
    HTML:
    http://www.consumersavingcenter.com/?config=1163&src=WC-147994aaaIN197070:206753:
    page 1 is shown in
    HTML:
    http://tinypic.com/r/15qrxxi/4
    page 2 is shown in
    HTML:
    http://tinypic.com/r/nf38k1/4
    STEP 1:
    iframe the first page normally using cakeslice (available on BHW)
    shown in
    HTML:
    http://tinypic.com/r/dzgy28/4
    STEP 2:
    in the generated cakeslice code add the following between after <iframe
    Code:
    name="i_frame" id="i_frame" onload="addload()"
    STEP 3:
    go to the second page of the offer
    use measureit tool and make note of the width and height of the portion that you want to display on the next page
    shown in
    HTML:
    http://tinypic.com/r/vikwpl/4
    STEP 4:
    again using measureit make note of the height and width from the top and left hand side of the page, to the portion you want to display
    shown in
    HTML:
    http://tinypic.com/r/35ba5bd/4
    and
    HTML:
    http://tinypic.com/r/2a6med1/4
    STEP 5:
    add the following code to the head of your page
    Code:
    <script type="text/javascript">
    var total_loads=0;
    function addload()
    {
    try
      {
     total_loads++;
     if (total_loads==2)
     {
     document.getElementById("i_div").style.width = "WIDHT_FROM_STEP_3";
     document.getElementById("i_div").style.height = "HEIGHT_FROM_STEP_3";
     document.getElementById("i_frame").style.left = "-WIDHT_FROM_STEP_4";
     document.getElementById("i_frame").style.top = "-HEIGHT_FROM_STEP_4";
     }
      }
    catch(err)
      {
     }
    }
    </script>
    change the widths and heights as per your offer
    NOTE: DO NOT REMOVE THE '-' SIGN IN THE LAST TWO LINES THAT YOU HAVE TO EDIT


    THATS IT!

    this method may seem crude to some, especially maybe after using GodCpa. but it works and is free ;)

    pls do ask if u need any help

    NOTE 1: this does not take care of blanking/faking referrer

    NOTE 2: if you use a blanking service like referer*.us change 'total_loads==2' to 'total_loads==3' in the script


    also i'd like to mention that the javascript idea is form a member here at BHW. i'm sorry i've forgotten who it is. many thanks to u.
     
    • Thanks Thanks x 10
  2. daryl

    daryl Newbie

    Joined:
    Oct 12, 2009
    Messages:
    21
    Likes Received:
    1
    Thanks for sharing mate, I was wondering how you can do this.
    Maybe one day I'll try it out :p
     
  3. PeeWeeDee

    PeeWeeDee Junior Member

    Joined:
    Nov 5, 2009
    Messages:
    126
    Likes Received:
    57
    Occupation:
    JOB !! Whats That
    Location:
    Cyber World
    Great info i was just asking a friend how can i do i does this.
     
  4. twmas52712

    twmas52712 Junior Member

    Joined:
    Jun 17, 2009
    Messages:
    130
    Likes Received:
    27
    Last edited: Nov 5, 2009
  5. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    ^ if you use a blanking service like referer*.us change 'total_loads==2' to 'total_loads==3' in the script
     
  6. Lukedell

    Lukedell Junior Member

    Joined:
    Oct 11, 2009
    Messages:
    132
    Likes Received:
    70
    If you frame the offer isn't that blanking the referrer?
    Posted via Mobile Device
     
  7. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    nope not at all.... infact the iframe will leak the referrer if not done right
     
    Last edited: Nov 6, 2009
  8. Forss

    Forss Newbie

    Joined:
    Sep 30, 2009
    Messages:
    11
    Likes Received:
    0
    Wow thats awesome thanks a lot for that code I haven't been able to get GODcpas 2nd page to work very well but this works really good, now a question.

    I am using this to frame a zip submit onto my landing page and then 2nd page too so I get second page leads for the advertiser (whitehat site, but this gets better conversions rather than having a link to the offer) .

    Anyway I need to do something after they submit on the 2nd page too so the advertiser doesn't lose them there either. Either a redirect of some sort or just another resize to fullscreen would be perfect,

    I probably could figure it out myself but that would take a while so Id appreciate some help, I guess its just a matter of adding another "if" function with the correct number of pageloads in after they submit on 2nd page.

    Thanks again for this method !
     
  9. adank92

    adank92 Registered Member

    Joined:
    Sep 28, 2009
    Messages:
    55
    Likes Received:
    7
    Really good one!, i coded my own gateway as well, i like it best to code stuff myself rather than buy codes
     
  10. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India

    yep u r right...just add another 'if' function and u're good to go. just keep in mind the number of loads
     
  11. Forss

    Forss Newbie

    Joined:
    Sep 30, 2009
    Messages:
    11
    Likes Received:
    0
    Okay I got it to resize to fullscreen after the 3rd load however the whole page can't be seen, how would I make it either redirect or possibly add scrollbars after the 3rd load?

    Thanks,
     
    Last edited: Nov 19, 2009
  12. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    use these properties in your 'if' loop
    Code:
    document.getElementById("i_frame").style.width = "100%";
      document.getElementById("i_frame").style.height = "100%";
      document.getElementById("i_div").style.width = "100%";
     document.getElementById("i_div").style.height = "100%";
     document.getElementById("i_frame").scrolling ="yes";
     
  13. Forss

    Forss Newbie

    Joined:
    Sep 30, 2009
    Messages:
    11
    Likes Received:
    0
    Awesome that is working, I had to add style.left and style.top , otherwise it was showing the window in a strange place. This way it looks perfect though !

    document.getElementById("i_frame").style.width = "100%";
    document.getElementById("i_frame").style.height = "100%";
    document.getElementById("i_div").style.width = "100%";
    document.getElementById("i_div").style.height = "100%";
    document.getElementById("i_frame").scrolling ="yes";
    document.getElementById("i_frame").style.left = "1";
    document.getElementById("i_frame").style.top = "1";


    Unfortunately I ran into another problem, I have been testing this code out in a blank html document and in that its doing exactly what I want. When I tried to add it to my landing page Its not. when using the piece of code I just posted set to go fullscreen after 2 loads (realized I dont need the 2nd page to be in my landing page so it can resize immediately). When I click the submit both iframe and div disappears, I have no idea what's causing it to do that but is there anything more I can add to the code so it goes above everything else? position:absolute or something like that?

    This is a little off topic but you seem like a nice guy so I thought I'd give it a shot,

    Thanks
     
    Last edited: Nov 19, 2009
  14. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    it disappears? that should not happen...if u dont mind PM me ur the link ur trying to promote, i'll take a look at it....difficult to tell u whats wrong without seeing the actual thing
     
  15. Forss

    Forss Newbie

    Joined:
    Sep 30, 2009
    Messages:
    11
    Likes Received:
    0
    Did you get the pm? my bwh is acting weird so I cant see sent messages
     
  16. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    yea...just checking it...will PM u back soon
     
  17. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    pm sent please check
     
  18. habs4life

    habs4life BANNED BANNED

    Joined:
    Dec 17, 2008
    Messages:
    93
    Likes Received:
    9
    godcpa still rocks and it's better then ever
     
  19. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    i dint say it wasn't good...all i'm saying is every1 cant afford it
     
  20. bindasj

    bindasj Junior Member

    Joined:
    Dec 28, 2008
    Messages:
    140
    Likes Received:
    27
    OK so my first frame contains a login name, password and email. If any of those are input wrong the frame will reload with a message like "invalid email" or something. It will also execute the script. Is there any solution here?