HighDots Forums  

something to destroy html

Javascript JavaScript language (comp.lang.javascript)


Discuss something to destroy html in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
steve
 
Posts: n/a

Default something to destroy html - 09-27-2003 , 08:41 PM






Hi all
is it possible and how
for example if I put some kind of JavaScript in my html file
and the script to destroy the html for example after 5 days.

Thanks



Reply With Quote
  #2  
Old   
Lasse Reichstein Nielsen
 
Posts: n/a

Default Re: something to destroy html - 09-27-2003 , 08:56 PM






"steve" <NOSPAMstoianstoian (AT) hotmail (DOT) com> writes:

Quote:
is it possible and how
for example if I put some kind of JavaScript in my html file
and the script to destroy the html for example after 5 days.
No, probably not.
Where would you want to destroy it?

On the server (no problem, do it manually) or in the client's cache
(set cache expiery date to five days in the future, and then remove
it from the server). But if the user saves the file to disk, it stays
there no matter what you do.

/L
--
Lasse Reichstein Nielsen - lrn (AT) hotpop (DOT) com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.