You are here: irt.org | FAQ | JavaScript | Print | Q1174 [ previous next ]
Try:
<script language="JavaScript"><!-- NowPrinting = false; if (document.layers && self.innerWidth==0 && self.innerHeight==0) NowPrinting=true; // Hack for printing if (!nowPrinting) { // do cookie stuff } //--></script>