Everything needed for launching a new nonprofit organization with extended education and support! Includes state incorporation and charity registration, federal EIN, 1023 or 1024 application,…
';
window.jsPDF = window.jspdf.jsPDF
// var sanitizedHtml = DOMPurify.sanitize(data);
const response = await fetch(url);
const htmlContent = await response.text();
var sanitizedHtml = DOMPurify.sanitize(htmlContent);
// var doc = new jsPDF();
// doc.html(sanitizedHtml, {
// callback: function(doc) {
// // Save the PDF file with a name
// doc.save('document.pdf');
// }
// });
}
});
});*/
});
// Function to prevent printing
function preventPrinting(event) {
// Check if Ctrl key is pressed and the 'p' key is pressed
if ((event.ctrlKey || event.metaKey) && event.key === 'p') {
// Prevent the default printing behavior
event.preventDefault();
// Run custom JavaScript code here
document.getElementsByClassName('dpbn-btn')[0].click();
}
}
// Add event listener to detect keydown events
document.addEventListener('keydown', preventPrinting);