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

BHCB Glitch?

Discussion in 'CPA' started by jbryant30, Jul 2, 2009.

  1. jbryant30

    jbryant30 Regular Member

    Joined:
    Jun 20, 2008
    Messages:
    240
    Likes Received:
    188
    Occupation:
    Internet Marketing Couch Potato
    Location:
    On LazYboy couches everywhere.
    Hey,

    So Installed BHCB on my site and i noticed a glitch. When you click the central mouse button down (the scrolling one) it allows you to go down the page and click links. Apparently the codebreaker window only blocks the content before you scroll. Please post back if you have experienced this problem and know a simple fix.

    Thanks,

    jbryant30
     
  2. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,884
    Likes Received:
    1,932
    This is in IE. Set autoscroll to top of page with javascript. It is a CSS issue where IE does not interperate absolute positioning.
     
    • Thanks Thanks x 1
  3. jbryant30

    jbryant30 Regular Member

    Joined:
    Jun 20, 2008
    Messages:
    240
    Likes Received:
    188
    Occupation:
    Internet Marketing Couch Potato
    Location:
    On LazYboy couches everywhere.
    Thanks a bunch dude! It was getting me worried that people could scroll and skip to the reward page
     
  4. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,884
    Likes Received:
    1,932
    I personally iframe offers inside the codebreaker script so I use a PHP file to direct the user to a second js file if the user agent is IE because it's just easier for me, not tested this on FF too but here is the code I use in IE:

    Add this to top of lock.js:
    Code:
    function pageScroll() {
              window.scrollBy(0,-50);
              scrolldelay = setTimeout('pageScroll()',5);
    }
    
    Now find this line of code:
    haze.style.zIndex = 1000000;

    And add this on a new line below it:
    Code:
    javascript:pageScroll();
    That will autoscroll to the top of the page so if anchor links are used and the IE user cannot see the lock because they are too far down they will get auto scrolled to top cosntantly, even if they try to scroll it will keep on scrolling back up.
     
  5. Rkelly

    Rkelly Junior Member

    Joined:
    Jun 28, 2008
    Messages:
    166
    Likes Received:
    6
    sweet thanks!
     
  6. Rkelly

    Rkelly Junior Member

    Joined:
    Jun 28, 2008
    Messages:
    166
    Likes Received:
    6
    I can't seem to find haze.style.zIndex = 1000000;
    I have tried everything to make it work and editing it but wont work. Any help?

    Thanks
     
  7. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,884
    Likes Received:
    1,932
    Zip your lock.js file and send me a download link and I'll add it in for you.
     
  8. Rkelly

    Rkelly Junior Member

    Joined:
    Jun 28, 2008
    Messages:
    166
    Likes Received:
    6
    Kk thank you. Sent you download link in PM.
     
  9. hwolfpack6

    hwolfpack6 BANNED BANNED

    Joined:
    Dec 11, 2008
    Messages:
    646
    Likes Received:
    175
    As a tip, when you join BHW, Control+F in most applications becomes your best friend.
    You've been here longer than me though, so I'm talking to new people in general.
     
  10. Rkelly

    Rkelly Junior Member

    Joined:
    Jun 28, 2008
    Messages:
    166
    Likes Received:
    6
    Ya im defiantly not that stupid and I did try that. Thanks but no thanks.
     
  11. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,884
    Likes Received:
    1,932
    You are using BHCB 2 which is encoded, I use BHCB V.1 but customized so that the user cannot see the source code anyway, this isn't encoded so it is a lot easier to edit.
     
  12. Rkelly

    Rkelly Junior Member

    Joined:
    Jun 28, 2008
    Messages:
    166
    Likes Received:
    6
    Ah ok thanks for trying though. I'll figure away to make it work.

    Edit:

    Kk i've got it now =]
     
    Last edited: Jul 3, 2009
  13. hwolfpack6

    hwolfpack6 BANNED BANNED

    Joined:
    Dec 11, 2008
    Messages:
    646
    Likes Received:
    175
    Oh yeah I forgot about that...I remember I was trying to edit it a few weeks ago to lay over a flash object, and it wasn't working, and that's when I found it was encoded...forgot about that though just now.