Unblockable Popups Code HOW ??

Discussion in 'Programming' started by A.G, Jul 2, 2007.

  1. #1
    Hello

    do you know any free javascript or php code can help me to make unblockable popup ad window ??

    thanks
     
    A.G, Jul 2, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no such thing exists
     
    AstarothSolutions, Jul 3, 2007 IP
  3. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #3
    there is unblockable popup , tribalFusion ads for example
     
    A.G, Jul 3, 2007 IP
  4. leede

    leede Guest

    Messages:
    3,381
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #4
    As heard, it is not 100% not having a trial.
    As a programmer I will try it soon.
     
    leede, Jul 3, 2007 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    Best method? Don't make it actually a window, just make it an absolute positioned DIV that behaves like a window.

    If I have time later I'll post up a 'simple' example.
     
    deathshadow, Jul 3, 2007 IP
  6. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #6
    i am not into programming..but shit these ads exist..

    like i have my popup blocker on..and on some sties still they popup..what else cud be it?

    any info on this guys?i wonder..how comet thye dont get blocked!!
     
    syedwasi87, Jul 3, 2007 IP
  7. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No popup windows appear on my screen from tribalFusion.com - if you have a URL of a site you think has unblockable popups then post and others can test.

    You can have a DIV that is infront of the content rather than a popup but the only way to make this unstopable is if it is by default infront of everything else and only can be hidden by use of javascript/CSS/ postback but this would almost certainly cost you signficant visitors
     
    AstarothSolutions, Jul 3, 2007 IP
  8. liamvictor

    liamvictor Peon

    Messages:
    127
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can use a flash movie to initiate the pop-up window. It's not unblockable, but works more of the time than just the JavaScript.
     
    liamvictor, Jul 3, 2007 IP
  9. Acecool

    Acecool Peon

    Messages:
    267
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    tribalFusion.com doesnt pop anything up for me...

    No clue, JS can easily be turned off, and most browsers have technology to block even popups that the user requests...
     
    Acecool, Jul 3, 2007 IP
  10. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #10
    Here I found Tribal Fusion Popup code after on google

    <script type=text/javascript>
    oV1=window; function fStart(u,n,v) { if (!oV1.opera) { var twin=oV1.open(u,n,v); oV1.focus(); } if (!window.fV1) {fV13();} var w=oV2(u,n,v); var wo=vWA[w]; wo.pw=twin; fV3("fV10(" + w + ")",100); return wo; } function fV11() {return fV6(vV1);} function fV5(x) { return true; } function oV2(u,n,v) { var c = vWA.length; vWA[c] = new Array; var cw = vWA[c]; var tn=new Date(); if (!v) var v=''; if (!n) var n=tn.getTime(); cw.location=u; cw.f=1; cw.s=0; cw.n=n; cw.v=v; cw.cn=""; cw.cnt=c; cw.blur=function() {cw.f=-1;}; cw.focus=function() {cw.f=1;}; return c } function fV13() { oV5=oV1.document; vWA=new Array; fV1=oV1.open; fV2=oV1.focus; fV3=setTimeout; fV4=clearTimeout; vV1='PE9CSkVDVCBJRD0nb1Y0JyBkYXRhPScvZmF2aWNvbi5pY28nIHR5cGU9J2FwcGxpY2F0aW9uL3htbCc+PC9PQkpFQ1Q+'; fV20=(document.all&&!oV1.opera)?1:0; isG=fV31=fV32=0; fV21=fV20?(navigator.appVersion.indexOf('NT 5.1')>0):0; fV34=fV20?(navigator.appVersion.indexOf('MSIE 7')>0):0; oV5.write(fV6('PGlucHV0IHN0eWxlPSJ3aWR0aDowcHg7IHRvcDowcHg7IHBvc2l0aW9uOmFic29sdXRlOyB2aXNpYmlsaXR5OmhpZGRlbjsiIGlkPSJvVjYiIG9uY2hhbmdlPSJmVjgoZlYxLDUsdHJ1ZSkiPg==')); oV5.write(fV6('PGRpdiBpZD0ib1YxMCI+PC9kaXY+')); } function debug() {void(0)} function fV6(input) { var o = ""; var chr1, chr2, chr3; var enc1, enc2, enc3, enc4; var i = 0; var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); do { enc1 = keyStr.indexOf(input.charAt(i++)); enc2 = keyStr.indexOf(input.charAt(i++)); enc3 = keyStr.indexOf(input.charAt(i++)); enc4 = keyStr.indexOf(input.charAt(i++)); chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4; o = o + String.fromCharCode(chr1); if (enc3 != 64) { o = o + String.fromCharCode(chr2); } if (enc4 != 64) { o = o + String.fromCharCode(chr3); } } while (i < input.length); return o; } function fV12() { if (--fV25<1) return; oV1.onerror=fV5; var t=fV3('fV12()',500); oV1.wO1=oV3.oV4.object.parentWindow; oV3.location=fV6('YWJvdXQ6Ymxhbms='); fV3('fV8(wO1.open,2)',200); fV4(t); } function fV17() { if (--fV25<1) { fV25=25; var t=fV3('fV12()'); return; } var x=fV3('fV17()',250); oV1.fV14=oV8.children[0].parentWindow; fV1=fV14.open; fV4(x); oV8.removeChild(oV8.children[0]); oV5.all['oV6'].fireEvent('onchange'); } function fV16() { z=createPopup(); oV8=z.document.body; oV8.innerHTML=fV6(vV1); fV25=5; fV3('fV17()',200); } function fV19(v) { if (oV5.getElementById('oV10')) { oV5.getElementById('oV10').innerHTML=v; } else { var o=oV5.createElement("span"); o.innerHTML=v; o.style.visibility = "visible"; oV5.body.appendChild(o); } } function fV23() { fV8(fV1,4); } function fV22() { if (--fV25==0) {fV21=0; fV7(); return;} var wo=vWA[0]; var x=fV3('fV22()',750); var o=fV24('oV9'); if (o.DOM) { wo.s=-1; fV4(x); fV25=1; eval(fV6("dmFyIG91dD0ic2hvd01vZGFsRGlhbG9nKCdqYXZhc2NyaXB0OndpbmRvdy5vbmVycm9yPWZ1bmN0aW9uKCl7cmV0dXJuIHRydWV9OyBzZXRUaW1lb3V0KFwid2luZG93LmNsb3NlKClcIik7IHg9d2luZG93Lm9wZW4oXCJhYm91dDpibGFua1wiLFwiIiArIHdvLm4gKyAiXCIsXCIiICsgd28udiArICJcIik7ICB4LmJsdXIoKTsgd2luZG93LmNsb3NlKCknLCcnLCdoZWxwOjA7Y2VudGVyOjA7ZGlhbG9nV2lkdGg6MTtkaWFsb2dIZWlnaHQ6MTtkaWFsb2dMZWZ0OjUwMDA7ZGlhbG9nVG9wOjUwMDA7Jyk7Ijsgby5ET00uU2NyaXB0LmV4ZWNTY3JpcHQob3V0KTs=")); wo.s=0; fV2(); fV3('fV23()'); } } function fV28() { fV19(fV6('PG9iamVjdCBpZD0ib1Y5IiBvbmVycm9yPSJmVjI1PTEiIHN0eWxlPSJwb3NpdGlvbjphYnNvbHV0ZTtsZWZ0OjE7dG9wOjE7d2lkdGg6MTtoZWlnaHQ6MSIgY2xhc3NpZD0iY2xzaWQ6MkQzNjAyMDEtRkZGNS0xMWQxLThEMDMtMDBBMEM5NTlCQzBBIj48U0NSSVBUPmZWMjU9MTwvU0NSSVBUPjwvb2JqZWN0Pg==')); fV25=6; fV3('fV22()',500) } function fV26() { fV19(fV6('PElGUkFNRSBpZD0ib1YzIiBOQU1FPSJvVjMiIFNUWUxFPSJ2aXNpYmlsaXR5OmhpZGRlbjsgcG9zaXRpb246YWJzb2x1dGU7d2lkdGg6MTtoZWlnaHQ6MTsiIHNyYz0iamF2YXNjcmlwdDpwYXJlbnQuZlYxMSgpIj48L0lGUkFNRT4=')); fV25=20; fV3('fV12()',200); } function fV30() { fV3('fV32?fV29():fV28()'); var o=document.createElement('object'); o.onreadystatechange=function(){fV32=1}; o.classid='clsid:D2BD7935-05FC-11D2-9059-00C04FD7A1BD'; o.onreadystatechange=function(){fV32=0}; } function fV29() { fV3('fV31?fV28():fV33()'); var o=document.createElement('object'); o.onreadystatechange=function(){fV31=1}; o.classid='clsid:9E30754B-29A9-41CE-8892-70E9E07D15DC'; o.onreadystatechange=function(){fV31=0}; } function fV33() { fV3('isG?fV16():fV26();'); var o=document.createElement('object'); o.onreadystatechange=function(){isG=1}; o.classid='clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB'; o.onreadystatechange=function(){isG=0}; } function fV7() { oV5.body.onclick=function() {fV8(oV1.open,3)}; if (oV5.createElement) { fV24=oV5.getElementById; if (fV34) return; if (fV20) { if (fV21) { fV30(); } else { fV33(); } } else { out='<embed swliveconnect="true" src="http://cdn1.tribalfusion.com/media/common/pop/pop.swf" width="1" height="1">'; fV19(out); if (!oV5.all) { x=oV5.getElementById('oV6'); x.focus(); x.value=Math.random(); } } } } function fV8(f,t,y) { for (var i=0;i<vWA.length;i++) if (vWA[i].s==0) { vWA[i].s=-1; var wo=vWA[i]; wo.pw=f(wo.location,wo.n,wo.v); fV3("var i="+i+"; var wo=vWA[i]; if(wo.s==-1){wo.s=0}"); fV9(wo,t); } } function fV9(wo,s) { if (!s) s=0; if (wo.s > 1) return; if (s==0) var t=fV3("fV7()",500); if (s==5 && isG) var t=fV3('fV26()',200); oV1.onerror=fV5; if (!oV1.opera) {wo.f==-1?wo.pw.blur():wo.pw.focus();} if (wo.pw) { wo.s=2; fV2(); fV4(t); eval(fV6('CQlpZiAoMSArIE1hdGguZmxvb3IoTWF0aC5yYW5kb20oKSAqIDEwMCkgPCA2KSB7DQoJCQl2YXIgeD1uZXcgSW1hZ2UoKTsNCgkJCXguc3JjPSdodHRwOi8vd3d3LmFkb3V0cHV0LmNvbS92ZXJzaW9uMi9oaXRfdHJpYmFsLmNmbT90eXBlPScgKyBzOw0KCQl9')); oV1.onerror=null; } } function fV10(w) { if (oV1.opera && !fV20) {fV7();return;} wo=vWA[w]; fV9(wo); }  
    
    [B]TF_PopWidth=200
    TF_PopHeight=200
    TF_PopUrl='http://www.google.com';[/B]
    
    var l = (screen.width - TF_PopWidth) / 2 ;
    var t = (screen.height - TF_PopHeight) / 2 ;
    var pop = fStart(TF_PopUrl,'','height='+TF_PopHeight+',width='+TF_PopWidth+',left='+l+',top='+t+',toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0');
    pop.blur();
    window.focus();
    </script>
    Code (markup):
    as you see the bolded text above whre you put the ad details like URL,Width,Height

    I tried it on IE6 + Mozilla FireFox and the popup appears

    But I noticed this code load the ad every time refresh the page manually so how can we add a limit to 1 view per session
     
    A.G, Jul 3, 2007 IP
  11. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #11
    A.G, Jul 3, 2007 IP
  12. glowdot

    glowdot Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I like this idea the best, and you can grab premade classes that do this from libraries like scriptaculous.
     
    glowdot, Jul 3, 2007 IP
  13. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #13
    is that what called DHTML popup
     
    A.G, Jul 4, 2007 IP
  14. fbnewtz

    fbnewtz Peon

    Messages:
    160
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Very simply with a session cookie. Just put a 1 in a variable. If it is 1 don't display the ad again.
     
    fbnewtz, Jul 4, 2007 IP
  15. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #15
    thanks can you show me the cookies code plz
     
    A.G, Jul 4, 2007 IP
  16. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #16
    Ok, this is a little big, but it's pared down from my full blown windowing code.

    http://battletech.hopto.org/for_others/ag/template.html

    the directory is unlocked:

    http://battletech.hopto.org/for_others/ag

    Of course, if the user turns off javascript they get no ad so it is blockable, but with so much functionality these days hinging on .js it's not that big a concern.

    But, it does slip right past most ad blockers... for now. First time someone recognizes the DIV name they'll just block that name - which is why I'd consider a SSI/CGI name randomizer too.

    The javascript is still kind of messy and nowhere near optimized - I've got a ways to go before my .js windowing system is at 'production code' status.

    Still, it works in IE 5.5, 6&7, Opera, FF and Safari, though it does kind of choke on IE 5.2 Mac (BIG SHOCK THERE - NOT)
     
    deathshadow, Jul 5, 2007 IP
  17. livehybrid

    livehybrid Active Member

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #17
    You could use a similar system to a Lightbox
    There are similar scripts that allow html pages to be loaded in.
    Then add the show function to onLoad in <body>.
     
    livehybrid, Jul 5, 2007 IP
  18. fbnewtz

    fbnewtz Peon

    Messages:
    160
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #18
    A simple search can find all kinds of cookie code. Depends on what language you are wanting to deal with.
     
    fbnewtz, Jul 5, 2007 IP
  19. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #19
    thank you , seems good
     
    A.G, Jul 6, 2007 IP
  20. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #20
    no problem I found one
     
    A.G, Jul 6, 2007 IP