I think the answer to this is almost certainly \"no\", because I\'ve done a little testing and searching around, but is there any trick to detect whether window.print(
window.print(
The beforeprint and afterprint events may help, but I'm not sure about browser support.
Edit: Webkit does not support them