test / index.html
Pnkj01's picture
Add 3 files
e1557e8 verified
Raw
History Blame Contribute Delete
19.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Free Fire MAX - Headshot Pro Panel</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.glow-effect {
box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}
.progress-bar {
height: 8px;
border-radius: 4px;
background-color: #1e293b;
}
.progress-fill {
height: 100%;
border-radius: 4px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
transition: width 0.3s ease;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 30px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #1e293b;
transition: .4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 22px;
width: 22px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #3b82f6;
}
input:checked + .slider:before {
transform: translateX(30px);
}
.headshot-target {
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); opacity: 0.8; }
50% { transform: scale(1.1); opacity: 1; }
100% { transform: scale(1); opacity: 0.8; }
}
</style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="flex justify-between items-center mb-8">
<div class="flex items-center">
<img src="https://via.placeholder.com/50" alt="Free Fire MAX Logo" class="w-12 h-12 rounded-full mr-3">
<div>
<h1 class="text-2xl font-bold bg-gradient-to-r from-blue-500 to-purple-600 bg-clip-text text-transparent">Headshot Pro Panel</h1>
<p class="text-gray-400 text-sm">Optimize your Free Fire MAX experience</p>
</div>
</div>
<div class="relative">
<div class="headshot-target bg-red-600 w-10 h-10 rounded-full flex items-center justify-center">
<i class="fas fa-crosshairs text-white"></i>
</div>
<div class="absolute -top-2 -right-2 bg-red-500 text-xs px-2 py-1 rounded-full">PRO</div>
</div>
</header>
<!-- Permission Request -->
<div id="permissionSection" class="bg-gray-800 rounded-xl p-6 mb-8 glow-effect">
<div class="flex items-start">
<div class="bg-blue-500/20 p-3 rounded-full mr-4">
<i class="fas fa-shield-alt text-blue-400 text-xl"></i>
</div>
<div class="flex-1">
<h2 class="text-lg font-semibold mb-2">Storage Permission Required</h2>
<p class="text-gray-300 mb-4">To optimize your Free Fire MAX settings for maximum headshot accuracy, we need storage access to save configuration files and apply optimizations.</p>
<button id="grantPermissionBtn" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg font-medium transition-all">
Grant Permission
</button>
</div>
</div>
</div>
<!-- Main Panel (hidden until permission granted) -->
<div id="mainPanel" class="hidden">
<!-- Sensitivity Controls -->
<div class="bg-gray-800 rounded-xl p-6 mb-6">
<div class="flex items-center mb-4">
<div class="bg-purple-500/20 p-2 rounded-full mr-3">
<i class="fas fa-bullseye text-purple-400"></i>
</div>
<h2 class="text-xl font-semibold">Sensitivity Optimization</h2>
</div>
<div class="space-y-5">
<!-- General Sensitivity -->
<div>
<div class="flex justify-between mb-1">
<span class="font-medium">General Sensitivity</span>
<span id="generalValue" class="font-mono">75%</span>
</div>
<div class="progress-bar">
<div id="generalFill" class="progress-fill" style="width: 75%"></div>
</div>
<input type="range" min="0" max="100" value="75" class="w-full mt-2 accent-blue-500" id="generalSensitivity">
</div>
<!-- ADS Sensitivity -->
<div>
<div class="flex justify-between mb-1">
<span class="font-medium">ADS Sensitivity</span>
<span id="adsValue" class="font-mono">68%</span>
</div>
<div class="progress-bar">
<div id="adsFill" class="progress-fill" style="width: 68%"></div>
</div>
<input type="range" min="0" max="100" value="68" class="w-full mt-2 accent-blue-500" id="adsSensitivity">
</div>
<!-- Scope Sensitivity -->
<div>
<div class="flex justify-between mb-1">
<span class="font-medium">Scope Sensitivity</span>
<span id="scopeValue" class="font-mono">72%</span>
</div>
<div class="progress-bar">
<div id="scopeFill" class="progress-fill" style="width: 72%"></div>
</div>
<input type="range" min="0" max="100" value="72" class="w-full mt-2 accent-blue-500" id="scopeSensitivity">
</div>
</div>
</div>
<!-- Headshot Aim Assist -->
<div class="bg-gray-800 rounded-xl p-6 mb-6">
<div class="flex items-center mb-4">
<div class="bg-red-500/20 p-2 rounded-full mr-3">
<i class="fas fa-skull text-red-400"></i>
</div>
<h2 class="text-xl font-semibold">Headshot Aim Assist</h2>
</div>
<div class="space-y-5">
<!-- Headshot Priority -->
<div class="flex items-center justify-between">
<div>
<h3 class="font-medium">Headshot Priority Mode</h3>
<p class="text-sm text-gray-400">Focus aim assist exclusively on head area</p>
</div>
<label class="switch">
<input type="checkbox" id="headshotPriority" checked>
<span class="slider"></span>
</label>
</div>
<!-- Aggressiveness -->
<div>
<div class="flex justify-between mb-1">
<span class="font-medium">Aim Aggressiveness</span>
<span id="aggressiveValue" class="font-mono">85%</span>
</div>
<div class="progress-bar">
<div id="aggressiveFill" class="progress-fill" style="width: 85%"></div>
</div>
<input type="range" min="0" max="100" value="85" class="w-full mt-2 accent-red-500" id="aggressiveSlider">
</div>
<!-- Auto Headshot -->
<div class="flex items-center justify-between">
<div>
<h3 class="font-medium">Auto Headshot Assist</h3>
<p class="text-sm text-gray-400">Automatically adjust crosshair when near head</p>
</div>
<label class="switch">
<input type="checkbox" id="autoHeadshot" checked>
<span class="slider"></span>
</label>
</div>
</div>
</div>
<!-- Advanced Settings -->
<div class="bg-gray-800 rounded-xl p-6 mb-6">
<div class="flex items-center mb-4">
<div class="bg-yellow-500/20 p-2 rounded-full mr-3">
<i class="fas fa-cog text-yellow-400"></i>
</div>
<h2 class="text-xl font-semibold">Advanced Settings</h2>
</div>
<div class="space-y-4">
<!-- Recoil Control -->
<div class="flex items-center justify-between">
<div>
<h3 class="font-medium">Enhanced Recoil Control</h3>
<p class="text-sm text-gray-400">Reduce weapon recoil for better headshot accuracy</p>
</div>
<label class="switch">
<input type="checkbox" id="recoilControl" checked>
<span class="slider"></span>
</label>
</div>
<!-- Quick Scope -->
<div class="flex items-center justify-between">
<div>
<h3 class="font-medium">Quick Scope Assist</h3>
<p class="text-sm text-gray-400">Faster scope-in for sniper headshots</p>
</div>
<label class="switch">
<input type="checkbox" id="quickScope" checked>
<span class="slider"></span>
</label>
</div>
<!-- Movement Prediction -->
<div class="flex items-center justify-between">
<div>
<h3 class="font-medium">Movement Prediction</h3>
<p class="text-sm text-gray-400">Predict enemy movement for headshots</p>
</div>
<label class="switch">
<input type="checkbox" id="movementPrediction">
<span class="slider"></span>
</label>
</div>
</div>
</div>
<!-- Apply Button -->
<div class="text-center">
<button id="applySettings" class="bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white px-8 py-3 rounded-full font-bold text-lg transition-all transform hover:scale-105 shadow-lg">
<i class="fas fa-bolt mr-2"></i> Apply Optimized Settings
</button>
<p class="text-gray-400 text-sm mt-2">Settings will be applied to Free Fire MAX configuration</p>
</div>
</div>
<!-- Status Message -->
<div id="statusMessage" class="hidden fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-green-600 text-white px-6 py-3 rounded-lg shadow-lg">
<i class="fas fa-check-circle mr-2"></i>
<span>Settings applied successfully!</span>
</div>
</div>
<script>
// DOM Elements
const permissionSection = document.getElementById('permissionSection');
const mainPanel = document.getElementById('mainPanel');
const grantPermissionBtn = document.getElementById('grantPermissionBtn');
const statusMessage = document.getElementById('statusMessage');
const applySettingsBtn = document.getElementById('applySettings');
// Slider elements
const generalSensitivity = document.getElementById('generalSensitivity');
const adsSensitivity = document.getElementById('adsSensitivity');
const scopeSensitivity = document.getElementById('scopeSensitivity');
const aggressiveSlider = document.getElementById('aggressiveSlider');
// Value displays
const generalValue = document.getElementById('generalValue');
const adsValue = document.getElementById('adsValue');
const scopeValue = document.getElementById('scopeValue');
const aggressiveValue = document.getElementById('aggressiveValue');
// Progress fills
const generalFill = document.getElementById('generalFill');
const adsFill = document.getElementById('adsFill');
const scopeFill = document.getElementById('scopeFill');
const aggressiveFill = document.getElementById('aggressiveFill');
// Toggle switches
const headshotPriority = document.getElementById('headshotPriority');
const autoHeadshot = document.getElementById('autoHeadshot');
const recoilControl = document.getElementById('recoilControl');
const quickScope = document.getElementById('quickScope');
const movementPrediction = document.getElementById('movementPrediction');
// Grant permission button click
grantPermissionBtn.addEventListener('click', function() {
// Simulate permission granted
permissionSection.classList.add('hidden');
mainPanel.classList.remove('hidden');
// Show brief loading effect
grantPermissionBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Processing...';
setTimeout(() => {
grantPermissionBtn.innerHTML = 'Permission Granted';
grantPermissionBtn.classList.remove('bg-blue-600', 'hover:bg-blue-700');
grantPermissionBtn.classList.add('bg-green-600', 'hover:bg-green-700');
}, 1500);
});
// Update slider values in real-time
generalSensitivity.addEventListener('input', function() {
generalValue.textContent = this.value + '%';
generalFill.style.width = this.value + '%';
});
adsSensitivity.addEventListener('input', function() {
adsValue.textContent = this.value + '%';
adsFill.style.width = this.value + '%';
});
scopeSensitivity.addEventListener('input', function() {
scopeValue.textContent = this.value + '%';
scopeFill.style.width = this.value + '%';
});
aggressiveSlider.addEventListener('input', function() {
aggressiveValue.textContent = this.value + '%';
aggressiveFill.style.width = this.value + '%';
});
// Apply settings button click
applySettingsBtn.addEventListener('click', function() {
// Show loading state
applySettingsBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Applying...';
applySettingsBtn.disabled = true;
// Simulate applying settings
setTimeout(() => {
// Show success message
statusMessage.classList.remove('hidden');
statusMessage.classList.add('flex', 'items-center');
// Reset button
applySettingsBtn.innerHTML = '<i class="fas fa-bolt mr-2"></i> Apply Optimized Settings';
applySettingsBtn.disabled = false;
// Hide message after 3 seconds
setTimeout(() => {
statusMessage.classList.add('hidden');
}, 3000);
// Log applied settings (for demo)
console.log('Settings Applied:');
console.log('General Sensitivity:', generalSensitivity.value);
console.log('ADS Sensitivity:', adsSensitivity.value);
console.log('Scope Sensitivity:', scopeSensitivity.value);
console.log('Aim Aggressiveness:', aggressiveSlider.value);
console.log('Headshot Priority:', headshotPriority.checked);
console.log('Auto Headshot:', autoHeadshot.checked);
console.log('Recoil Control:', recoilControl.checked);
console.log('Quick Scope:', quickScope.checked);
console.log('Movement Prediction:', movementPrediction.checked);
// Optimize for headshots (simulated)
if (headshotPriority.checked) {
console.log('Optimizing all settings for maximum headshot accuracy...');
// In a real app, this would modify game configuration files
}
}, 2000);
});
// Initialize tooltips for all info icons
document.querySelectorAll('.info-icon').forEach(icon => {
icon.addEventListener('mouseover', function() {
const tooltip = this.nextElementSibling;
tooltip.classList.remove('hidden');
});
icon.addEventListener('mouseout', function() {
const tooltip = this.nextElementSibling;
tooltip.classList.add('hidden');
});
});
</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-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Pnkj01/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>