GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   preventing the surfer from refreshing a document (https://gfy.com/showthread.php?t=421319)

Zester 01-24-2005 03:27 AM

preventing the surfer from refreshing a document
 
ok, I have a page I don't want surfers to refresh.

I was thinking checking body.unload if the refresh event happen and if so: block it somehow.

anyone here enough of a javascript expert to do this?

there is no document.refresh , is there?

Ask A Negro 01-24-2005 03:27 AM

http://perth.indymedia.org/storyuplo...9/nazipunk.jpg

L E E 01-24-2005 03:32 AM

pulling a "Vivid" are we? :1orglaugh

Zester 01-24-2005 03:32 AM

Quote:

Originally Posted by Ask A Negro

.....aahhhuuu....I tried that, it gave me a javascript error :1orglaugh :helpme

rowan 01-24-2005 09:34 AM

If it has to be javascript, then I guess you could check for a cookie being set... if it's not, then set it and show the content. If it is, then the page has been loaded before, so show a blank page or something like that.


All times are GMT -7. The time now is 09:37 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123