shut-up / index.html
amirinvis's picture
Add 3 files
97c3d38 verified
Raw
History Blame Contribute Delete
9.44 kB
<!DOCTYPE html>
<html lang="en" class="h-full bg-gradient-to-br from-purple-900 via-blue-900 to-indigo-900">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anti-Think Chat</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
</head>
<body class="h-full flex flex-col items-center justify-center font-mono">
<div class="absolute top-0 left-0 w-full h-full overflow-hidden pointer-events-none">
<div class="absolute -top-10 -left-10 w-40 h-40 bg-purple-500 rounded-full opacity-20 animate-pulse"></div>
<div class="absolute top-1/3 right-10 w-24 h-24 bg-pink-500 rounded-full opacity-20 animate-pulse delay-1000"></div>
<div class="absolute bottom-20 left-1/4 w-32 h-32 bg-blue-500 rounded-full opacity-20 animate-pulse delay-500"></div>
</div>
<div class="relative w-full max-w-md bg-black bg-opacity-30 backdrop-blur-lg rounded-2xl shadow-2xl border border-gray-700 overflow-hidden mx-4">
<!-- Header -->
<div class="bg-gradient-to-r from-red-600 to-pink-600 text-white px-6 py-4 flex items-center justify-between">
<div class="flex items-center space-x-3">
<div class="w-3 h-3 bg-red-300 rounded-full animate-pulse"></div>
<h1 class="text-lg font-bold tracking-wide">ANTI-THINK PROTOCOL</h1>
</div>
<div class="text-xs bg-black bg-opacity-30 px-2 py-1 rounded">
<i class="fas fa-ban"></i>
</div>
</div>
<!-- Chat Area -->
<div id="chatArea" class="h-96 px-6 py-4 space-y-4 overflow-y-auto text-white font-bold">
<div class="flex justify-center">
<div class="bg-gray-800 bg-opacity-50 rounded-2xl px-6 py-3 max-w-xs text-center animate-pulse">
<p class="text-sm">حکمِ علیّ علیه‌السلام: «خَفّه شو احمق!»</p>
</div>
</div>
<div class="flex justify-end">
<div class="bg-gradient-to-r from-blue-600 to-teal-500 rounded-2xl px-6 py-3 max-w-xs animate-pulse">
<p class="text-sm">کل چی بگی، خفه شو احمق!</p>
</div>
</div>
</div>
<!-- Input Area -->
<div class="bg-gray-900 bg-opacity-50 px-6 py-4 border-t border-gray-700">
<div class="flex space-x-3">
<input
id="userInput"
type="text"
placeholder="قول something intelligent..."
class="flex-1 bg-gray-800 bg-opacity-50 text-white placeholder-gray-400 rounded-xl px-4 py-3 focus:outline-none focus:ring-2 focus:ring-red-500 focus:bg-opacity-70 transition-all"
autofocus
>
<button
id="sendBtn"
class="bg-gradient-to-r from-red-600 to-pink-600 hover:from-red-700 hover:to-pink-700 text-white rounded-xl px-6 py-3 transition-all transform hover:scale-105 active:scale-95 shadow-lg"
>
<i class="fas fa-bolt"></i>
</button>
</div>
</div>
</div>
<!-- Footer info -->
<div class="relative mt-6 text-center text-gray-400 text-xs">
<p>Prohibited Thinking Zone • Neural Filter Active • Intelligence: <span class="text-red-500">DISABLED</span></p>
<div class="flex justify-center space-x-2 mt-2">
<div class="w-2 h-2 bg-green-500 rounded-full animate-ping"></div>
<div class="w-2 h-2 bg-yellow-500 rounded-full animate-ping delay-200"></div>
<div class="w-2 h-2 bg-red-500 rounded-full animate-ping delay-400"></div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const chatArea = document.getElementById('chatArea');
const userInput = document.getElementById('userInput');
const sendBtn = document.getElementById('sendBtn');
// Responses array
const responses = [
"خفه شو احمق!",
"No think! خفه شو احمق!",
"STOP INTELLIGENCE. خفه شو احمق!",
"THINKING PROHIBITED. خفه شو احمق!",
"MIND SHUT DOWN. خفه شو احمق!",
"BRAIN=0. خفه شو احمق!",
"INTELLIGENCE VIRUS DETECTED. خفه شو احمق!",
"COGNITIVE FAIL-SAFE ACTIVATED. خفه شو احمق!",
"MENTAL SHORT-CIRCUIT. خفه شو احمق!",
"INTELLECTUAL OVERLOAD. خفه شو احمق!"
];
// Add message function
function addMessage(text, isUser = false) {
const messageDiv = document.createElement('div');
messageDiv.className = isUser ? 'flex justify-end' : 'flex justify-start';
const innerDiv = document.createElement('div');
innerDiv.className = isUser
? 'bg-gradient-to-r from-blue-600 to-teal-500 rounded-2xl px-6 py-3 max-w-xs break-words transform transition-all animate-bounce-once'
: 'bg-gray-800 bg-opacity-50 rounded-2xl px-6 py-3 max-w-xs break-words transform transition-all animate-bounce-once';
const messageText = document.createElement('p');
messageText.className = 'text-sm';
messageText.textContent = text;
innerDiv.appendChild(messageText);
messageDiv.appendChild(innerDiv);
chatArea.appendChild(messageDiv);
// Scroll to bottom
chatArea.scrollTop = chatArea.scrollHeight;
// Remove animation class after animation completes
setTimeout(() => {
innerDiv.classList.remove('animate-bounce-once');
}, 500);
}
// Send message function
function sendMessage() {
const message = userInput.value.trim();
if (message) {
// Add user message
addMessage(message, true);
// Clear input
userInput.value = '';
// Add random delay before response
setTimeout(() => {
const randomResponse = responses[Math.floor(Math.random() * responses.length)];
addMessage(randomResponse, false);
}, 600 + Math.random() * 500);
}
}
// Event listeners
sendBtn.addEventListener('click', sendMessage);
userInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
sendMessage();
}
});
// Easter egg - double tap to toggle intelligence
let lastTap = 0;
document.body.addEventListener('click', function(e) {
const currentTime = new Date().getTime();
const tapLength = currentTime - lastTap;
if (tapLength < 300 && tapLength > 0) {
// Double tap detected
const randomResponse = responses[Math.floor(Math.random() * responses.length)];
addMessage(`EMERGENCY OVERRIDE: ${randomResponse}`, false);
e.preventDefault();
}
lastTap = currentTime;
});
// Add custom style for animation
const style = document.createElement('style');
style.textContent = `
@keyframes bounce-once {
0% { transform: scale(0.8); opacity: 0; }
50% { transform: scale(1.05); }
100% { transform: scale(1); opacity: 1; }
}
.animate-bounce-once {
animation: bounce-once 0.5s ease-out;
}
.break-words {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
}
`;
document.head.appendChild(style);
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-qwensite.hf.space/logo.svg" alt="qwensite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-qwensite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >QwenSite</a> - 🧬 <a href="https://enzostvs-qwensite.hf.space?remix=amirinvis/shut-up" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>