1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Unblockable Pop-Up

Discussion in 'JavaScript' started by janjalani, Jan 29, 2006.

  1. #1
    Do anyone of you guys how to make an unblockable pop-up? Like the one Fastclick has?
     
    janjalani, Jan 29, 2006 IP
  2. Breckenridge

    Breckenridge Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I browse using Safari / OSX and it blocks all popups unless I clicked a link that points to a window.open or <a href='xyz' target='_val'. I did not see any popups except when I clicked!
     
    Breckenridge, Jan 31, 2006 IP
  3. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #3
    the_pm, Feb 7, 2006 IP
    WeedGrinch likes this.
  4. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #4
    SedNaX, Feb 10, 2006 IP
  5. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #5
    FWIW, I tested my popup method on it, and it did not block it.
     
    the_pm, Feb 10, 2006 IP
  6. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #6
    geez.. your popup is hard to disable.. with that method i managed to disable the fastclick popups...

    edit: dammit.. your popup is hard to disable... :) firefox doesn't recognize it as a popup.. even when i set dom.popup_maximum (max number of popups displayed) to 0 (zero), it still appears..
     
    SedNaX, Feb 10, 2006 IP
  7. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #7
    That's because it's not popping into a new window. It's being controlled through an otherwise very useful and harmless DOM implementation. It looks like a popup. It smells like a popup. It acts like a popup. But it isn't a popup!

    The only way around it is to disable JavaScript entirely. Wicked, eh? ;)
     
    the_pm, Feb 10, 2006 IP
  8. mcallen

    mcallen Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can easily create unblockable popups (such as post-it-note styles, float-ins, and exit popovers) with Instant PopOver. InstantPopOver.com

    It's fantastic for a quick and easy turn-key solution.

    Sure you could wade through code found on the Net and get it down eventually, but for instant changes and quick customized popups, Instant PopOver is the bomb (but I guess I'm a little biased since it's my product). :) By the way, it makes post-it notes too.

    Hope this helps!

    Matt
     
    mcallen, Feb 10, 2006 IP
  9. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #9
    lol :) smart guy ;)
     
    SedNaX, Feb 11, 2006 IP
  10. Shane73

    Shane73 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I love it and the size is perfect!!! I trust since you shared it I can play with the code and use it on my site? I am just learning HTML etc. and this is exactly what I was searching for and ran into this post. Thank YOU and Google! smiles

    P.S. It seems I best get posting ...thus had to remove live link in quote ...sorry such a good link to remove ... lol
     
    Shane73, Jul 26, 2006 IP
  11. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #11
    lol this thread is 177 days old (=dead) :) why did you resurrect it? it wants to sleep forever :D

    rip again
     
    SedNaX, Jul 26, 2006 IP
  12. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Before you go burying your thread, at another member's request, I'm creating a version of this popup that functions as a pop under.

    That's right, a DHTML, no-extra window, unblockable pop under! I'll update as soon as I have it ready ;)
     
    the_pm, Jul 27, 2006 IP
  13. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #13
    As requested, here's a little something that will allow you to simulate pop unders. It's actually kind of hobbled together, and it will require some fancy styling and oddly configured windows to fool your visitors. So, consider this to be a proof-of-concept, not a finished product :)

    http://www.paulhirsch.com/ex/popunder/

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    	<link rel="stylesheet" type="text/css" href="includes/style.css" />
    	<title>popunder</title>
    	<style type="text/css">
    		html, body, #wrap { height:100% ; margin:0 ; overflow:hidden ; padding:0 ; width:100% }
    		a img { border:none }
    		a { text-decoration:none }
    		p { margin:0 ; padding:.5em 0 }
    		#wrap { background:#FFF ; color:#000 ; overflow:auto }
    			#wrap2 { padding-top:21px }
    		#pop { background:#DEDEFF ; border:2px solid #039 ; color:#000 ; left:100px ; position:absolute ; top:100px ; visibility:hidden ; width:200px }
    			#pop div { font-weight:bold ; text-align:right }
    		#close { background:#FFF ; font-weight:bold ; position:absolute ; right:0 ; text-align:right ; width:100% }
    			#close a span, #pop div a span  { background:#C00 ; color:#FFF ; padding:0 .5em }
    	</style>
    	<script type="text/javascript">
    		function countdown() {
    			setTimeout('pop()',2000);
    		}
    		function pop() {
    			document.getElementById('pop').style.visibility = "visible";
    			setTimeout('popunder()',300);
    		}
    		function popunder() {
    			document.getElementById('pop').style.visibility = "hidden";
    		}
    		function toggle() {
    			document.getElementById('close').style.display = "none";
    			document.getElementById('wrap').style.display = "none";
    			document.getElementById('pop').style.visibility = "visible";
    		}
    	</script>
    </head>
    
    <body id="home" onload="countdown();">
    
    <div id="close"><a href="javascript:toggle();"><span>X</span><!-- <img src="close.gif" alt="Close this page" title="Close this page" /> --></a></div>
    
    <div id="pop">
    	<div><a href="javascript:history.go(-1);popunder();"><span>X</span><!-- <img src="close.gif" alt="Close this page" title="Close this page" /> --></a></div>
    	<p>Content</p>
    	<p>Content</p>
    	<p>Content</p>
    	<p>Content</p>
    </div>
    
    <div id="wrap">
    	<div id="wrap2">
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    		<p>Content</p>
    	</div>
    </div>
    
    </body>
    </html>
    Code (markup):
    Of course. The moment it gets posted, it belongs to the world :)
     
    the_pm, Jul 27, 2006 IP
  14. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #14
    okay can we bury it now??? :D ;)
     
    SedNaX, Jul 27, 2006 IP
  15. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Oh...I suppose :)

    Nighty-night, pop-up thread.
     
    the_pm, Jul 27, 2006 IP
  16. Shane73

    Shane73 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Ya put it back ... Grin back at ya!
    Got exactly what I was looking for ...
    Thanks! from this newby
    proof at PersonalDevelopmentSuccess.net
     
    Shane73, Jul 27, 2006 IP
  17. ADVERTNETWORK

    ADVERTNETWORK Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    hmmmm thanx for the great info
     
    ADVERTNETWORK, Jul 15, 2009 IP
  18. bobson

    bobson Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Old ass topic and everyone should have noscript by now.
     
    bobson, Jul 19, 2009 IP
  19. JosephineCarns

    JosephineCarns Peon

    Messages:
    76
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Yeah this one.. Its a good unblocker of the Javascript...
     
    JosephineCarns, Jul 19, 2009 IP
  20. johnfrey

    johnfrey Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    I tried every method but it unblocks the link :S
     
    johnfrey, Jul 26, 2009 IP