Spaces:
Running
Running
Add 2 files
Browse filesFiles changed (2)
- index.html+767-38
- prompts.txt+1
1234567891011121314151617181920212223242526272829303132333435363738394041<!DOCTYPE html><html><head><title>My app</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta charset="utf-8"><style>body {display: flex;justify-content: center;align-items: center;overflow: hidden;height: 100dvh;font-family: "Arial", sans-serif;text-align: center;}.arrow {position: absolute;bottom: 32px;left: 0px;width: 100px;transform: rotate(30deg);}h1 {font-size: 50px;}h1 span {color: #acacac;font-size: 32px;}</style></head><body><h1><span>I'm ready to work,</span><br />Ask me anything.</h1><img src="https://enzostvs-deepsite.hf.space/arrow.svg" class="arrow" /><script></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=simon4good/websitetest" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Cookie Data Visualizer</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>.cookie-card:hover {transform: translateY(-5px);box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);}.animate-pulse {animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;}@keyframes pulse {0%, 100% { opacity: 1; }50% { opacity: 0.5; }}.chart-container {height: 300px;position: relative;}.fade-in {animation: fadeIn 0.5s ease-in-out;}@keyframes fadeIn {from { opacity: 0; transform: translateY(20px); }to { opacity: 1; transform: translateY(0); }}</style></head><body class="bg-gray-50 min-h-screen"><div class="container mx-auto px-4 py-8"><!-- Header --><header class="mb-12 text-center"><h1 class="text-4xl font-bold text-indigo-700 mb-2">Cookie Data Explorer</h1><p class="text-gray-600 max-w-2xl mx-auto">Visualize and analyze all cookie data stored in your browser. Understand what information websites are tracking about you.</p></header><!-- Main Content --><div class="bg-white rounded-xl shadow-lg overflow-hidden mb-8"><!-- Control Panel --><div class="bg-indigo-700 text-white p-6"><div class="flex flex-col md:flex-row justify-between items-center"><div class="mb-4 md:mb-0"><h2 class="text-xl font-semibold">Cookie Data Dashboard</h2><p class="text-indigo-200">Click below to retrieve all available cookie data</p></div><button id="fetchCookiesBtn" class="bg-white text-indigo-700 hover:bg-indigo-50 font-medium py-3 px-6 rounded-lg flex items-center transition-all"><i class="fas fa-cookie-bite mr-2"></i> Get Cookie Data</button></div></div><!-- Loading State --><div id="loadingState" class="hidden p-8 text-center"><div class="animate-pulse flex flex-col items-center"><div class="w-16 h-16 bg-indigo-200 rounded-full mb-4 flex items-center justify-center"><i class="fas fa-spinner fa-spin text-indigo-600 text-2xl"></i></div><p class="text-gray-600 font-medium">Scanning for cookies...</p></div></div><!-- Empty State --><div id="emptyState" class="hidden p-8 text-center"><div class="flex flex-col items-center"><div class="w-16 h-16 bg-gray-200 rounded-full mb-4 flex items-center justify-center"><i class="fas fa-cookie text-gray-500 text-2xl"></i></div><h3 class="text-lg font-medium text-gray-700 mb-2">No Cookie Data Found</h3><p class="text-gray-500 max-w-md">Click the "Get Cookie Data" button to scan your browser for stored cookies.</p></div></div><!-- Data Visualization --><div id="dataVisualization" class="hidden"><!-- Summary Cards --><div class="grid grid-cols-1 md:grid-cols-3 gap-6 p-6 border-b"><div class="bg-indigo-50 rounded-lg p-6"><div class="flex items-center justify-between"><div><p class="text-sm font-medium text-indigo-600">Total Cookies</p><h3 id="totalCookies" class="text-2xl font-bold text-gray-800 mt-1">0</h3></div><div class="bg-indigo-100 p-3 rounded-full"><i class="fas fa-cookie text-indigo-600"></i></div></div></div><div class="bg-purple-50 rounded-lg p-6"><div class="flex items-center justify-between"><div><p class="text-sm font-medium text-purple-600">Domains</p><h3 id="totalDomains" class="text-2xl font-bold text-gray-800 mt-1">0</h3></div><div class="bg-purple-100 p-3 rounded-full"><i class="fas fa-globe text-purple-600"></i></div></div></div><div class="bg-green-50 rounded-lg p-6"><div class="flex items-center justify-between"><div><p class="text-sm font-medium text-green-600">Session Cookies</p><h3 id="sessionCookies" class="text-2xl font-bold text-gray-800 mt-1">0</h3></div><div class="bg-green-100 p-3 rounded-full"><i class="fas fa-clock text-green-600"></i></div></div></div></div><!-- Charts Section --><div class="grid grid-cols-1 lg:grid-cols-2 gap-6 p-6 border-b"><div class="bg-white rounded-lg border p-4"><h3 class="font-medium text-gray-800 mb-4">Cookies by Domain</h3><div class="chart-container"><canvas id="domainChart"></canvas></div></div><div class="bg-white rounded-lg border p-4"><h3 class="font-medium text-gray-800 mb-4">Cookie Types</h3><div class="chart-container"><canvas id="typeChart"></canvas></div></div></div><!-- Filters --><div class="p-6 border-b"><div class="flex flex-col md:flex-row justify-between items-start md:items-center gap-4"><div><h3 class="font-medium text-gray-800">Cookie Details</h3><p class="text-sm text-gray-500">All cookies found in your browser</p></div><div class="flex flex-col sm:flex-row gap-3 w-full md:w-auto"><div class="relative w-full md:w-48"><select id="domainFilter" class="block appearance-none w-full bg-gray-50 border border-gray-200 text-gray-700 py-2 px-4 pr-8 rounded-lg leading-tight focus:outline-none focus:bg-white focus:border-indigo-500"><option value="">All Domains</option></select><div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"><i class="fas fa-chevron-down"></i></div></div><div class="relative w-full md:w-48"><select id="typeFilter" class="block appearance-none w-full bg-gray-50 border border-gray-200 text-gray-700 py-2 px-4 pr-8 rounded-lg leading-tight focus:outline-none focus:bg-white focus:border-indigo-500"><option value="">All Types</option><option value="session">Session</option><option value="persistent">Persistent</option></select><div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"><i class="fas fa-chevron-down"></i></div></div></div></div></div><!-- Cookie Table --><div class="p-6"><div class="overflow-x-auto"><table class="min-w-full divide-y divide-gray-200"><thead class="bg-gray-50"><tr><th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer" onclick="sortTable('name')"><div class="flex items-center">Name<i class="fas fa-sort ml-1 text-gray-400"></i></div></th><th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer" onclick="sortTable('domain')"><div class="flex items-center">Domain<i class="fas fa-sort ml-1 text-gray-400"></i></div></th><th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer" onclick="sortTable('value')"><div class="flex items-center">Value<i class="fas fa-sort ml-1 text-gray-400"></i></div></th><th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer" onclick="sortTable('expires')"><div class="flex items-center">Expires<i class="fas fa-sort ml-1 text-gray-400"></i></div></th><th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Secure</th></tr></thead><tbody id="cookieTableBody" class="bg-white divide-y divide-gray-200"><!-- Cookie data will be inserted here --></tbody></table></div></div></div></div><!-- Cookie Details Modal --><div id="cookieModal" class="fixed inset-0 z-50 hidden overflow-y-auto"><div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div class="fixed inset-0 transition-opacity" aria-hidden="true"><div class="absolute inset-0 bg-gray-500 opacity-75"></div></div><span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span><div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl sm:w-full"><div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 sm:mx-0 sm:h-10 sm:w-10"><i class="fas fa-cookie-bite text-indigo-600"></i></div><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full"><h3 class="text-lg leading-6 font-medium text-gray-900" id="modalCookieName">Cookie Details</h3><div class="mt-4"><div class="bg-gray-50 p-4 rounded-lg"><div class="grid grid-cols-1 md:grid-cols-2 gap-4"><div><p class="text-sm font-medium text-gray-500">Domain:</p><p class="text-sm text-gray-900" id="modalCookieDomain"></p></div><div><p class="text-sm font-medium text-gray-500">Path:</p><p class="text-sm text-gray-900" id="modalCookiePath"></p></div><div><p class="text-sm font-medium text-gray-500">Secure:</p><p class="text-sm text-gray-900" id="modalCookieSecure"></p></div><div><p class="text-sm font-medium text-gray-500">HttpOnly:</p><p class="text-sm text-gray-900" id="modalCookieHttpOnly"></p></div><div><p class="text-sm font-medium text-gray-500">Expires:</p><p class="text-sm text-gray-900" id="modalCookieExpires"></p></div><div><p class="text-sm font-medium text-gray-500">SameSite:</p><p class="text-sm text-gray-900" id="modalCookieSameSite"></p></div></div><div class="mt-4"><p class="text-sm font-medium text-gray-500">Value:</p><div class="mt-1 relative rounded-md shadow-sm"><input type="text" id="modalCookieValue" class="block w-full pr-10 sm:text-sm border-gray-300 rounded-md bg-gray-100 p-2" readonly><div class="absolute inset-y-0 right-0 pr-3 flex items-center"><button id="copyCookieValue" class="text-indigo-600 hover:text-indigo-900"><i class="far fa-copy"></i></button></div></div></div></div></div></div></div></div><div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"><button type="button" id="closeModal" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:w-auto sm:text-sm">Close</button></div></div></div></div></div><script src="https://cdn.jsdelivr.net/npm/chart.js"></script><script>// Global variableslet allCookies = [];let domainChartInstance = null;let typeChartInstance = null;let currentSortColumn = 'name';let sortDirection = 1; // 1 for ascending, -1 for descending// DOM Elementsconst fetchCookiesBtn = document.getElementById('fetchCookiesBtn');const loadingState = document.getElementById('loadingState');const emptyState = document.getElementById('emptyState');const dataVisualization = document.getElementById('dataVisualization');const cookieTableBody = document.getElementById('cookieTableBody');const domainFilter = document.getElementById('domainFilter');const typeFilter = document.getElementById('typeFilter');const totalCookiesElement = document.getElementById('totalCookies');const totalDomainsElement = document.getElementById('totalDomains');const sessionCookiesElement = document.getElementById('sessionCookies');const cookieModal = document.getElementById('cookieModal');const closeModal = document.getElementById('closeModal');const copyCookieValue = document.getElementById('copyCookieValue');// Event ListenersfetchCookiesBtn.addEventListener('click', fetchAllCookies);domainFilter.addEventListener('change', filterCookies);typeFilter.addEventListener('change', filterCookies);closeModal.addEventListener('click', () => cookieModal.classList.add('hidden'));copyCookieValue.addEventListener('click', copyToClipboard);// Main function to fetch cookiesfunction fetchAllCookies() {loadingState.classList.remove('hidden');emptyState.classList.add('hidden');dataVisualization.classList.add('hidden');// Simulate fetching cookies (in a real app, you would use document.cookie or a backend API)setTimeout(() => {try {// Get cookies from current domainconst currentDomainCookies = getCookiesForCurrentDomain();// For demo purposes, we'll add some sample cookies from other domainsconst sampleCookies = [{name: "session_id",value: "abc123xyz456",domain: "example.com",path: "/",expires: new Date(Date.now() + 86400000).toUTCString(), // 1 day from nowsecure: true,httpOnly: false,sameSite: "Lax"},{name: "user_prefs",value: "theme=dark&lang=en",domain: "example.com",path: "/settings",expires: new Date(Date.now() + 2592000000).toUTCString(), // 30 days from nowsecure: false,httpOnly: false,sameSite: ""},{name: "ga_clientId",value: "123456789.123456789",domain: ".google-analytics.com",path: "/",expires: new Date(Date.now() + 63072000000).toUTCString(), // 2 years from nowsecure: true,httpOnly: false,sameSite: "None"},{name: "AWSALB",value: "xyz123abc456",domain: ".amazonaws.com",path: "/",expires: new Date(Date.now() + 604800000).toUTCString(), // 7 days from nowsecure: true,httpOnly: true,sameSite: ""},{name: "csrftoken",value: "abcdefghijklmnopqrstuvwxyz123456",domain: "django-site.com",path: "/",expires: "", // Session cookiesecure: true,httpOnly: false,sameSite: "Strict"}];allCookies = [...currentDomainCookies, ...sampleCookies];if (allCookies.length === 0) {loadingState.classList.add('hidden');emptyState.classList.remove('hidden');} else {loadingState.classList.add('hidden');dataVisualization.classList.remove('hidden');updateUIWithCookieData();}} catch (error) {console.error("Error fetching cookies:", error);loadingState.classList.add('hidden');emptyState.classList.remove('hidden');emptyState.querySelector('h3').textContent = "Error Loading Cookies";emptyState.querySelector('p').textContent = "There was an error while trying to fetch cookie data. Please try again.";}}, 1500);}// Helper function to get cookies for current domainfunction getCookiesForCurrentDomain() {const cookies = document.cookie.split(';').map(cookie => cookie.trim());const parsedCookies = [];cookies.forEach(cookie => {if (!cookie) return;const [nameValue, ...rest] = cookie.split(';');let [name, value] = nameValue.split('=');name = name.trim();value = value ? value.trim() : '';const cookieObj = {name: name,value: value,domain: window.location.hostname,path: "/",expires: "",secure: false,httpOnly: false,sameSite: ""};// Parse additional attributesrest.forEach(attr => {const [attrName, attrValue] = attr.split('=').map(a => a.trim());const lowerAttrName = attrName.toLowerCase();if (lowerAttrName === 'expires' && attrValue) {cookieObj.expires = attrValue;} else if (lowerAttrName === 'path' && attrValue) {cookieObj.path = attrValue;} else if (lowerAttrName === 'domain' && attrValue) {cookieObj.domain = attrValue;} else if (lowerAttrName === 'secure') {cookieObj.secure = true;} else if (lowerAttrName === 'httponly') {cookieObj.httpOnly = true;} else if (lowerAttrName === 'samesite' && attrValue) {cookieObj.sameSite = attrValue.charAt(0).toUpperCase() + attrValue.slice(1).toLowerCase();}});parsedCookies.push(cookieObj);});return parsedCookies;}// Update UI with cookie datafunction updateUIWithCookieData() {// Update summary cardstotalCookiesElement.textContent = allCookies.length;const uniqueDomains = [...new Set(allCookies.map(cookie => cookie.domain))];totalDomainsElement.textContent = uniqueDomains.length;const sessionCookiesCount = allCookies.filter(cookie => !cookie.expires).length;sessionCookiesElement.textContent = sessionCookiesCount;// Update domain filter dropdowndomainFilter.innerHTML = '<option value="">All Domains</option>';uniqueDomains.sort().forEach(domain => {const option = document.createElement('option');option.value = domain;option.textContent = domain;domainFilter.appendChild(option);});// Create chartscreateDomainChart();createTypeChart();// Populate tablepopulateCookieTable(allCookies);}// Create domain distribution chartfunction createDomainChart() {const domainCounts = {};allCookies.forEach(cookie => {const domain = cookie.domain || 'Unknown';domainCounts[domain] = (domainCounts[domain] || 0) + 1;});const labels = Object.keys(domainCounts);const data = Object.values(domainCounts);const colors = generateColors(labels.length);const ctx = document.getElementById('domainChart').getContext('2d');if (domainChartInstance) {domainChartInstance.destroy();}domainChartInstance = new Chart(ctx, {type: 'bar',data: {labels: labels,datasets: [{label: 'Cookies by Domain',data: data,backgroundColor: colors,borderColor: colors.map(c => c.replace('0.7', '1')),borderWidth: 1}]},options: {responsive: true,maintainAspectRatio: false,plugins: {legend: {display: false},tooltip: {callbacks: {label: function(context) {return `${context.parsed.y} cookies (${Math.round(context.parsed.y / allCookies.length * 100)}%)`;}}}},scales: {y: {beginAtZero: true,ticks: {precision: 0}}}}});}// Create cookie type chartfunction createTypeChart() {const sessionCount = allCookies.filter(cookie => !cookie.expires).length;const persistentCount = allCookies.length - sessionCount;const ctx = document.getElementById('typeChart').getContext('2d');if (typeChartInstance) {typeChartInstance.destroy();}typeChartInstance = new Chart(ctx, {type: 'doughnut',data: {labels: ['Session Cookies', 'Persistent Cookies'],datasets: [{data: [sessionCount, persistentCount],backgroundColor: ['#4f46e5', '#10b981'],borderColor: ['#4f46e5', '#10b981'],borderWidth: 1}]},options: {responsive: true,maintainAspectRatio: false,plugins: {legend: {position: 'right'},tooltip: {callbacks: {label: function(context) {const value = context.parsed;const total = context.dataset.data.reduce((a, b) => a + b, 0);const percentage = Math.round(value / total * 100);return `${context.label}: ${value} (${percentage}%)`;}}}}}});}// Populate cookie tablefunction populateCookieTable(cookies) {cookieTableBody.innerHTML = '';if (cookies.length === 0) {const row = document.createElement('tr');row.innerHTML = `<td colspan="5" class="px-6 py-4 text-center text-gray-500">No cookies match your filters</td>`;cookieTableBody.appendChild(row);return;}cookies.forEach((cookie, index) => {const row = document.createElement('tr');row.className = `hover:bg-gray-50 fade-in`;row.style.animationDelay = `${index * 0.05}s`;const isSession = !cookie.expires;const expiresText = isSession ? 'Session' : new Date(cookie.expires).toLocaleString();row.innerHTML = `<td class="px-6 py-4 whitespace-nowrap"><div class="flex items-center"><div class="flex-shrink-0 h-10 w-10 bg-indigo-100 rounded-full flex items-center justify-center"><i class="fas fa-cookie text-indigo-600"></i></div><div class="ml-4"><div class="text-sm font-medium text-gray-900">${cookie.name}</div><div class="text-sm text-gray-500">${cookie.path}</div></div></div></td><td class="px-6 py-4 whitespace-nowrap"><div class="text-sm text-gray-900">${cookie.domain || 'Current domain'}</div></td><td class="px-6 py-4 whitespace-nowrap"><div class="text-sm text-gray-900 truncate max-w-xs">${cookie.value}</div></td><td class="px-6 py-4 whitespace-nowrap"><span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full ${isSession ? 'bg-purple-100 text-purple-800' : 'bg-green-100 text-green-800'}">${expiresText}</span></td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">${cookie.secure ? '<i class="fas fa-lock text-green-500"></i>' : '<i class="fas fa-lock-open text-gray-400"></i>'}</td>`;row.addEventListener('click', () => showCookieDetails(cookie));cookieTableBody.appendChild(row);});}// Filter cookies based on selectionsfunction filterCookies() {const selectedDomain = domainFilter.value;const selectedType = typeFilter.value;let filteredCookies = [...allCookies];if (selectedDomain) {filteredCookies = filteredCookies.filter(cookie => cookie.domain === selectedDomain);}if (selectedType === 'session') {filteredCookies = filteredCookies.filter(cookie => !cookie.expires);} else if (selectedType === 'persistent') {filteredCookies = filteredCookies.filter(cookie => cookie.expires);}populateCookieTable(filteredCookies);}// Sort tablefunction sortTable(column) {if (column === currentSortColumn) {sortDirection *= -1; // Toggle direction} else {currentSortColumn = column;sortDirection = 1;}// Update sort indicatorsdocument.querySelectorAll('th').forEach(th => {const icon = th.querySelector('i');if (icon) {if (th.getAttribute('onclick').includes(column)) {icon.className = sortDirection === 1 ? 'fas fa-sort-up ml-1 text-gray-400' : 'fas fa-sort-down ml-1 text-gray-400';} else {icon.className = 'fas fa-sort ml-1 text-gray-400';}}});const sortedCookies = [...allCookies].sort((a, b) => {let valA, valB;switch (column) {case 'name':valA = a.name.toLowerCase();valB = b.name.toLowerCase();return valA.localeCompare(valB) * sortDirection;case 'domain':valA = a.domain || '';valB = b.domain || '';return valA.localeCompare(valB) * sortDirection;case 'value':valA = a.value.toLowerCase();valB = b.value.toLowerCase();return valA.localeCompare(valB) * sortDirection;case 'expires':valA = a.expires ? new Date(a.expires).getTime() : 0;valB = b.expires ? new Date(b.expires).getTime() : 0;return (valA - valB) * sortDirection;default:return 0;}});populateCookieTable(sortedCookies);}// Show cookie details in modalfunction showCookieDetails(cookie) {document.getElementById('modalCookieName').textContent = cookie.name;document.getElementById('modalCookieDomain').textContent = cookie.domain || 'Current domain';document.getElementById('modalCookiePath').textContent = cookie.path || '/';document.getElementById('modalCookieSecure').textContent = cookie.secure ? 'Yes' : 'No';document.getElementById('modalCookieHttpOnly').textContent = cookie.httpOnly ? 'Yes' : 'No';document.getElementById('modalCookieSameSite').textContent = cookie.sameSite || 'Not set';if (cookie.expires) {const expiresDate = new Date(cookie.expires);document.getElementById('modalCookieExpires').textContent =`${expiresDate.toLocaleString()} (${formatTimeRemaining(expiresDate)})`;} else {document.getElementById('modalCookieExpires').textContent = 'End of session';}document.getElementById('modalCookieValue').value = cookie.value;cookieModal.classList.remove('hidden');}// Copy to clipboardfunction copyToClipboard() {const valueInput = document.getElementById('modalCookieValue');valueInput.select();document.execCommand('copy');const copyBtn = document.getElementById('copyCookieValue');copyBtn.innerHTML = '<i class="fas fa-check"></i>';copyBtn.className = 'text-green-600 hover:text-green-900';setTimeout(() => {copyBtn.innerHTML = '<i class="far fa-copy"></i>';copyBtn.className = 'text-indigo-600 hover:text-indigo-900';}, 2000);}// Helper functionsfunction generateColors(count) {const colors = [];const hueStep = 360 / count;for (let i = 0; i < count; i++) {const hue = (i * hueStep) % 360;colors.push(`hsla(${hue}, 70%, 60%, 0.7)`);}return colors;}function formatTimeRemaining(expiryDate) {const now = new Date();const diffMs = expiryDate - now;if (diffMs <= 0) return 'Expired';const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24));const diffHrs = Math.floor((diffMs % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));if (diffDays > 0) {return `${diffDays} day${diffDays !== 1 ? 's' : ''} ${diffHrs} hour${diffHrs !== 1 ? 's' : ''} remaining`;} else if (diffHrs > 0) {return `${diffHrs} hour${diffHrs !== 1 ? 's' : ''} remaining`;} else {return 'Less than an hour remaining';}}// Initialize with empty stateemptyState.classList.remove('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=simon4good/websitetest" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
1create website which will visualize all data which was captured from cookies when someone will click on button get info, it will show all avalible data gathered from cookies
index.html+767-38
prompts.txt+1