[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Afsluiten blokkeren
Pagina 1 van 1

Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 07:44
door tazman2586

Re: Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 09:33
door KillerSponge
Ik denk niet dat browsers dat toelaten, simpelweg omdat de gebruiker anders geen enkele manier heeft om het venster af te sluiten. En dat zou vragen om misbruik zijn.

Wat wel kan, is dat je bij het sluiten van het venster direct een nieuw venster opent. Al zullen popupblockers dit niet grappig vinden.

Re: Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 09:38
door tazman2586

Re: Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 11:03
door Derk

Re: Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 11:14
door Derk
[code="javascript"]<script>
<!--
// By Derk Vedelaar
function keyblock_DV(){
if (event.keyCode==62 OR event.keyCode==56 OR event.keyCode==100) {
alert ("Sluit dit venster SVP af met de daarvoor gemaakte knop en niet met alt+F4.\nWebmaster") } }
-->
</script>
<body onkeydown="keyblock_DV()">[/code]

bij mij werkt het niet maar dit is écht het enige dat had kunnen helpen, ja of idd zoals killer zegt direct een pop-up weer laten openen.
Hoe je dat moet doen? geeen idee, kan nog weleens zeer moeilijk worden.

Derk

Re: Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 18:06
door KillerSponge
Ik weet ook niet precies hoe dat gaat, maar er bestaat een onExit of onQuit oid event. Daar zou je iets mee kunnen doen.

Maar nogmaals, ik zou het niet proberen, is nogal bezoekersonvriendelijk :s

Re: Afsluiten blokkeren

BerichtGeplaatst: 23 aug 2006 18:20
door Derk
als je onexit gebruikt krijg je ene pop-up op het moment dat de pagina weg gaat om wat voor reden dan ook (minimaliseren niet meegeteld natuurlijk). Met andre woorden, als je op een link klikt krijg je een pop-up, als de bezoeker een nieuwe URL intikt krijg je een pop-up en als je de pagina afsluit krijg je een pop-up.
Dan moet je dus met een frameset gaan werken. En dan in je framesetpagina zetten dat als die geonload word je een pop-up krijgt. Zo'n pop-upscript kan je gewoon van anouksweb halen. En als je met die frameset werkt krijg je dus alleen bij het wegklikken een pop-up of als de gebruiker in de adresbalk een nieuwe URL intikt een pop-up.