<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Privacy Policy Generator</title>
<style>
body {font-family: Arial, sans-serif; background:#f9f9f9; padding:20px;}
.container {max-width:800px; margin:auto; background:#fff; padding:20px; border-radius:10px; box-shadow:0 3px 10px rgba(0,0,0,0.1);}
h1 {text-align:center;}
label {display:block; margin-top:10px;}
input, textarea, select {width:100%; padding:8px; margin-top:5px; border:1px solid #ddd; border-radius:6px;}
button {margin-top:15px; padding:10px 15px; border:none; background:#007BFF; color:white; border-radius:6px; cursor:pointer;}
button:hover {background:#0056b3;}
#output {margin-top:20px; white-space:pre-wrap; background:#f1f1f1; padding:15px; border-radius:8px;}
</style>
</head>
<body>
<div class="container">
<h1>Privacy Policy Generator</h1>
<label>Blog/Website Name</label>
<input type="text" id="siteName" placeholder="My Blogger Site">
<label>Blog/Website URL</label>
<input type="text" id="siteURL" placeholder="https://example.blogspot.com">
<label>Contact Email</label>
<input type="email" id="contactEmail" placeholder="youremail@example.com">
<label>Effective Date</label>
<input type="text" id="effectiveDate" placeholder="e.g. September 27, 2025">
<button onclick="generatePolicy()">Generate Policy</button>
<h2>Your Privacy Policy:</h2>
<div id="output"></div>
</div>
<script>
function generatePolicy() {
const site = document.getElementById('siteName').value || "This website";
const url = document.getElementById('siteURL').value || "your blog URL";
const email = document.getElementById('contactEmail').value || "your email";
const date = document.getElementById('effectiveDate').value || new Date().toLocaleDateString();
const policy = `
Privacy Policy
Effective Date: ${date}
${site} (accessible at ${url}) respects your privacy and is committed to protecting it.
This Privacy Policy explains how we handle your information when you use our website.
Information We Collect
- We may collect basic personal information (such as name, email) when you contact us.
- We may use cookies to improve user experience and analyze traffic.
How We Use Your Information
- To provide and improve our services.
- To respond to your inquiries.
- To send updates if you subscribe.
Cookies
We may use cookies to personalize content and analyze traffic. You can disable cookies in your browser settings.
Third-Party Services
Our site may use services such as Google Analytics or AdSense that collect data as per their own privacy policies.
Your Rights
You can contact us at ${email} to request removal or correction of your information.
Changes to This Policy
We may update this Privacy Policy from time to time. Please check this page regularly.
Contact Us
If you have any questions about this Privacy Policy, please contact us at ${email}.
`;
document.getElementById('output').innerText = policy;
}
</script>
</body>
</html>
No comments:
Post a Comment