var widget = $('<div/>', {id: 'asterisk-popup', class: 'popup-box noprint', style: 'min-height: 180px;'}); There is such a window in the document. The script periodically shows it show() or hides fadeOut() .
In the styles written
@media print { .noprint { display: none; } } But in general, this bundle does not work. When printing, the window still climbs. I use hard coding to prevent the window from attaching to the DOM on certain pages, but can it be easier?