Web programming >> Leaving A paGe
Posted by kpyro on 14:29:00 06-27-2002
How can you tell (via JavaScript) when someone leaves your webpage? thanx in advance [addsig]
Posted by sacah on 17:14:00 06-27-2002
<body onunload="javascript:alert('hi');" onload="javascript:alert('hi');">

Had to edit, cause it took it as script
)-:

[ This Message was edited by: sacah on 2002-06-27 17:14 ]
Posted by MoX on 18:17:00 06-27-2002
Cool! Our board is JavaScriptable! [addsig]
Posted by fsvara on 21:57:00 06-27-2002
lol, that's not very cool actually /me imagines some leet epxplo1itz being posted as javascript...
Posted by dxprog on 02:48:00 06-28-2002
That's funny!
Hmmm... I wonder...
Okay, none of those worked.

_________________
If VB is fun, what's everything else?

[ This Message was edited by: dxprog on 2002-06-28 02:49 ]

[ This Message was edited by: dxprog on 2002-06-28 02:50 ]

[ This Message was edited by: dxprog on 2002-06-28 02:51 ]

[ This Message was edited by: dxprog on 2002-06-28 02:53 ]

[ This Message was edited by: dxprog on 2002-06-28 02:54 ]
Posted by fsvara on 02:54:00 06-28-2002
it would amaze me if you could actually inject php into the page through the board.. javascript should work, though.
Posted by MoX on 03:32:00 06-28-2002
JS should work, but you cant exploit much with it... [addsig]
Posted by dxprog on 11:55:00 06-28-2002
Nope. PHP doesn't work. I tried that. For example

<?php echo("This ain't gonna work"); ?>

I wonder if <i>this</i> might work though. >:-))

</table>

_________________
If VB is fun, what's everything else?

edit: (fsvara) i disabled html... he was messung up the page.

[ This Message was edited by: fsvara on 2002-06-28 22:06 ]
Posted by fsvara on 22:07:00 06-28-2002
please, don't do stuff like that... else we'll probably have to disable HTML by default, which would remove some ncie ways to post... so, please
Posted by MoX on 00:49:00 06-29-2002
Well, as the text is most probably displayed using echo, how can somebody expect that a inclusion of PHP script would work? [addsig]
Posted by dxprog on 03:43:00 06-29-2002
Sorry. I was just having fun. I figure (but I won't try it) if you put a <table> in the post any further posts would appear in that one. Maybe I <i>should</i> try it. j/k [addsig]
Posted by fsvara on 04:40:00 06-29-2002
moxx: the problem was the <table>, not the php... that didn't work of course... unless that's just what you wanted to say.. hmm
Posted by MoX on 04:46:00 06-29-2002
Exactly what I meant, fsvara! Thank you for summing my thoughts up! [addsig]