Skip to main content
canisoon
Printing Events
88.15
HTML5
JS API
Window fires `beforeprint` and `afterprint` events so the printed document can be annotated.
Further reading:
Can I use page for: Printing Events
MDN Web Docs - Detecting print requests
Chrome support bug
Safari support bug