Sign In
Sign Up
English
Español
中文
Tiếng Việt
हिन्दी
العربية
Logout
English
Español
中文
Tiếng Việt
हिन्दी
العربية
Subscribe
@
Connections
⚠️
🔄
New Report
Saved Reports
Your Saved Reports
Clear All
Report Type*
-- Select Type --
🚨 Missing Person
🔍 Lost Item
🙏 Found Person
🔄 Found Item
🎉 Event
Title:
Description:
Location Details:
Show on Map
Use My Location
Your Contact:
Upload Images:
Choose files (max 5)
Submit Report
🔒
📸
Share This Report
Save Report
📜
👮
// Admin Panel - Only visible to app owner
⚙️ Admin
Admin Tools
📱 View Mobile Logs
🔍 Force Check Logs
🗑️ Clear Logs
Dashboard
// ============================================ // VIOLATION CHECK BEFORE SHARING // ============================================ function isReportViolating(report) { const prohibitedWords = ["đánh bom", "bomb", "khủng bố", "tài khoản ngân hàng", "bank account", "porn", "sex", "khiêu dâm"]; const textToCheck = (report.title + " " + report.description).toLowerCase(); for (const word of prohibitedWords) { if (textToCheck.includes(word.toLowerCase())) { return true; } } return false; } function showViolationAlert() { const lang = localStorage.getItem("userLanguage") || "en"; const messages = { en: "❌ Cannot share: This content violates our terms of service.", vi: "❌ Không thể chia sẻ: Nội dung này vi phạm điều khoản dịch vụ.", zh: "❌ 无法分享:此内容违反服务条款。", es: "❌ No se puede compartir: Este contenido viola nuestros términos de servicio.", hi: "❌ साझा नहीं कर सकते: यह सामग्री हमारी सेवा की शर्तों का उल्लंघन करती है।", ar: "❌ لا يمكن المشاركة: هذا المحتوى ينتهك شروط الخدمة الخاصة بنا." }; alert(messages[lang] || messages.en); } // ============================================ // AUTO CLEANUP ON PAGE LOAD // ============================================ (function autoCleanupLocalStorage() { console.log("🧹 Running localStorage auto-cleanup..."); const maxAge = 30 * 24 * 60 * 60 * 1000; // 30 days const now = Date.now(); let cleanedCount = 0; for (let i = 0; i < localStorage.length; i++) { const key = localStorage.key(i); if (key && (key.startsWith('img_') || key.startsWith('whatsapp_') || key.startsWith('imgpkg_'))) { try { const item = JSON.parse(localStorage.getItem(key)); if (item.timestamp && (now - item.timestamp) > maxAge) { localStorage.removeItem(key); cleanedCount++; } } catch (e) { // If can't parse, remove it (corrupted) localStorage.removeItem(key); cleanedCount++; } } } if (cleanedCount > 0) { console.log(`🧹 Cleaned up ${cleanedCount} old image backup(s)`); } else { console.log("✅ No old backups to clean"); } })();