Privacy Policy Generator
Thinking...
Privacy Policy Generator
Thinking...
Thinking...
📋
').appendTo(container);
copyIcon.click(function() {
var textToCopy = message.text();
navigator.clipboard.writeText(textToCopy).then(function() {
alert('Text copied to clipboard!');
}, function(err) {
console.error('Could not copy text: ', err);
});
});
var regenerateIcon = $('🔁
').appendTo(container);
regenerateIcon.click(function() {
$('#chatBody').html(''); // Clear the previous messages
generatePrivacyPolicy(); // Call generatePrivacyPolicy function to regenerate the policy
});
}
}
typeWriter();
}
function formatResponseText(text) {
text = text.replace(/(https?:\/\/[^\s]+)/g, '$1');
text = text.replace(/^##\s?(.+)/gm, '$1');
text = text.replace(/^(\s*(?:-|\*|\d+\.)\s+.+)$/gm, '$1'); return text; }
Thinking...
No comments:
Post a Comment