Closed Thread Icon

Preserved Topic: On close Pages that link to <a href="https://ozoneasylum.com/backlink?for=18571" title="Pages that link to Preserved Topic: On close" rel="nofollow" >Preserved Topic: On close\

 
Author Thread
Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 10-07-2001 23:51

Is it posible to stor the date and time when some one close your page, whitout add lines to every pages inn your site?

pleas late my know if i ask to much?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-07-2001 23:57

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-08-2001 05:26

The easiest way may be to just put this one line in the head of every page:

<script src="onunloadstuff.js" language="JavaScript"></script>

And then in a file called "onunloadstuff.js", put something like this:

function pageunloaded() {
statements;
thingstodo;
}
window.onunload = pageunloaded;

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 10-08-2001 19:19

Just don't forget that you can't do this silently, because you have to open new browser window and close it as soon as possible (actually it would be closed after the page/script loaded completely)...


« BackwardsOnwards »

Show Forum Drop Down Menu