html AeroGlass OS v4
AEROGLASS OS V4
Browser
Use code with caution. All Music Arcade Games YouTube Movies & Anime Google Login Calculator Settings 🎵 AeroMusic — All Streaming Apps & Local Player Built-In Lo-Fi Synth & Local MP3 Player▶ Play Synth Play Audio File from Device SSpotifyPlaylists & Podcasts YTYouTube MusicOfficial & Remixes Apple MusicLossless & Radio SCSoundCloudCloud & Indie Beats AMAmazon MusicPrime & HD Tracks TTidalHiFi Audio PPandoraCustom Stations DDeezerFlow & Mixes 🎮 AeroArcade (Playable Games) 🐍 Neon Snake 🏓 Cyber Pong ☄️ Meteor Dodge 🌐 Web Games Select a game above to play! Use Arrow Keys or Mouse to play 🌐 AeroBrowser ⌂ 🛡️ 142,850 Filters Google SearchWeb Search Google AccountPersonal Login YouTubeVideos CrunchyrollAnime Tubi TVFree Movies Poki GamesWeb Games 🎬 Movies & Anime Hub CrunchyrollAnime NetflixMovies & TV HuluShows & Anime TubiFree Movies Pluto TVLive & Movies MyAnimeListAnime Database ⚙️ System Settings 🎨 Wallpapers & GIFs 🛡️ AdBlock Lists 🌦️ Live Weather 🔐 Calc Password Upload Custom GIF / Image Paste GIF or Image URL Saved & Preset Wallpapers (Click to apply) Accent Color Glass Blur EasyList Core (74,200 rules) EasyPrivacy Trackers (41,900 rules) YouTube & Video Ad Rules (12,450 rules) Popup & Malware Domains (14,300 rules) Add Custom Block Domain Active Filter Rules: 142,850 Sync Real-Life WeatherSync GPS Weather Overlay Auto (Real-Life) Clear / Stars Rainstorm Snowfall Type this in Calculator and press = to unlock your secret vault. Secret Trigger 🧮 Calculator C ÷ × ⌫ 7 8 9 − 4 5 6 + 1 2 3 = 0 . 🔓 Vault Unlocked Lock 🔒 ⊞ 🌐 🎵 🎮 🎬 🧮 ⚙️ 🛡️ 142,850 Blocked ✨ --°F 12:00 PM /* BOOT */ const bTimeout = setTimeout(endBoot, 900); function endBoot() { clearTimeout(bTimeout); document.getElementById('boot').classList.add('off'); } /* WINDOWS */ let zTop = 20; function openWin(id) { const el = document.getElementById(id); el.classList.add('open'); el.style.zIndex = ++zTop; } function closeWin(id) { document.getElementById(id).classList.remove('open'); } function drag(e, id) { const el = document.getElementById(id); el.style.zIndex = ++zTop; let ox = e.clientX - el.offsetLeft, oy = e.clientY - el.offsetTop; document.onmousemove = ev => { el.style.left = (ev.clientX - ox) + 'px'; el.style.top = (ev.clientY - oy) + 'px'; }; document.onmouseup = () => document.onmousemove = null; } /* CUSTOM GIFS & WALLPAPERS */ function tab(el, id) { document.querySelectorAll('.s-tab,.s-pane').forEach(x => x.classList.remove('active')); el.classList.add('active'); document.getElementById(id).classList.add('active'); } function setVar(k, v) { document.documentElement.style.setProperty(k, v); } function setBg(u) { if (u) setVar('--bg', url('${u}')); } function addCustomBg(url) { if (!url) return; setBg(url); const thumb = document.createElement('div'); thumb.className = 'w-thumb'; thumb.style.backgroundImage = url('${url}'); thumb.onclick = () => setBg(url); document.getElementById('wall-gallery').prepend(thumb); } function uploadBg(input) { const file = input.files && input.files; if (!file) return; const reader = new FileReader(); reader.onload = e => addCustomBg(e.target.result); reader.readAsDataURL(file); } /* ADBLOCK COUNTER & IN-OS BROWSER */ let extraRules = 0; function updateFilterCount(add = 0) { extraRules += add; const base =; const chks = document.querySelectorAll('#p-shield input[type="checkbox"]'); let total = extraRules; chks.forEach((c, i) => { if (c.checked) total += base[i]; }); const fmt = total.toLocaleString(); document.getElementById('rule-count').textContent = fmt; document.getElementById('tb-rules').textContent = fmt; document.getElementById('b-rules').textContent = fmt; } function loadInApp(u) { openWin('win-browser'); document.getElementById('b-input').value = u; document.getElementById('b-home').style.display = 'none'; const fr = document.getElementById('b-frame'); fr.style.display = 'block'; fr.src = u; } function browserHome() { document.getElementById('b-frame').style.display = 'none'; document.getElementById('b-frame').src = 'about:blank'; document.getElementById('b-home').style.display = 'grid'; document.getElementById('b-input').value = ''; } function goBrowser() { let q = document.getElementById('b-input').value.trim(); if (!q) return; if (!q.startsWith('http')) q = q.includes('.') ? 'https://' + q : 'google.com' + encodeURIComponent(q); loadInApp(q); } /* MUSIC SYNTH & LOCAL AUDIO */ let audioCtx, synthInt, playingSynth = false; function toggleSynth() { const btn = document.getElementById('synth-btn'); if (playingSynth) { clearInterval(synthInt); playingSynth = false; btn.textContent = '▶ Play Synth'; return; } audioCtx = audioCtx || new (window.AudioContext || window.webkitAudioContext)(); const notes = [261.63, 329.63, 392.00, 493.88, 392.00, 329.63]; let step = 0; playingSynth = true; btn.textContent = '⏹ Stop Synth'; synthInt = setInterval(() => { const osc = audioCtx.createOscillator(), gain = audioCtx.createGain(); osc.type = 'triangle'; osc.frequency.value = notes[step++ % notes.length]; gain.gain.setValueAtTime(0.08, audioCtx.currentTime); gain.gain.exponentialRampToValueAtTime(0.001, audioCtx.currentTime + 0.35); osc.connect(gain); gain.connect(audioCtx.destination); osc.start(); osc.stop(audioCtx.currentTime + 0.36); }, 380); } function playLocalAudio(inp) { const f = inp.files && inp.files; if (!f) return; const au = document.getElementById('local-audio'); au.src = URL.createObjectURL(f); au.style.display = 'block'; au.play(); } /* ARCADE MINI-GAMES */ let gameLoop; const gCvs = document.getElementById('g-canvas'), gCtx = gCvs.getContext('2d'); function stopGames() { clearInterval(gameLoop); cancelAnimationFrame(gameLoop); } function startSnake() { stopGames(); let snake = [{x:10,y:10}], dir = {x:1,y:0}, food = {x:15,y:10}, score = 0; document.getElementById('g-hint').textContent = 'Use Arrow Keys to steer Snake'; window.onkeydown = e => { if (e.key==='ArrowUp' && dir.y===0) dir={x:0,y:-1}; if (e.key==='ArrowDown' && dir.y===0) dir={x:0,y:1}; if (e.key==='ArrowLeft' && dir.x===0) dir={x:-1,y:0}; if (e.key==='ArrowRight' && dir.x===0) dir={x:1,y:0}; }; gameLoop = setInterval(() => { const head = {x: (snake.x + dir.x + 19) % 19, y: (snake.y + dir.y + 15) % 15}; if (snake.some(s => s.x===head.x && s.y===head.y)) { snake=[{x:10,y:10}]; score=0; } else { snake.unshift(head); if (head.x===food.x && head.y===food.y) { score+=10; food={x:Math.floor(Math.random()19),y:Math.floor(Math.random()15)}; } else snake.pop(); } document.getElementById('g-score').textContent = '🐍 Snake Score: ' + score; gCtx.fillStyle = '#070b14'; gCtx.fillRect(0,0,380,300); gCtx.fillStyle = '#ff4757'; gCtx.fillRect(food.x20+2, food.y20+2, 16, 16); gCtx.fillStyle = '#00e5ff'; snake.forEach(s => gCtx.fillRect(s.x20+1, s.y20+1, 18, 18)); }, 110); } function startPong() { stopGames(); let py = 115, ay = 115, bx = 190, by = 150, vx = 3.5, vy = 2.8, score = 0; document.getElementById('g-hint').textContent = 'Move Mouse up/down inside game box'; gCvs.onmousemove = e => { const r = gCvs.getBoundingClientRect(); py = e.clientY - r.top - 35; }; function frame() { bx += vx; by += vy; if (by < 6 || by > 294) vy = -1; ay += (by - (ay + 35)) * 0.08; if (bx < 22 && by > py && by < py + 70) { vx = Math.abs(vx) + 0.2; score++; } if (bx > 358 && by > ay && by < ay + 70) vx = -Math.abs(vx); if (bx < 0 || bx > 380) { bx = 190; by = 150; vx = 3.5; score = 0; } document.getElementById('g-score').textContent = '🏓 Pong Rallies: ' + score; gCtx.fillStyle = '#070b14'; gCtx.fillRect(0,0,380,300); gCtx.fillStyle = '#00e5ff'; gCtx.fillRect(10, py, 10, 70); gCtx.fillRect(360, ay, 10, 70); gCtx.beginPath(); gCtx.arc(bx, by, 7, 0, Math.PI2); gCtx.fill(); gameLoop = requestAnimationFrame(frame); } frame(); } function startDodge() { stopGames(); let px = 175, meteors = [], score = 0; document.getElementById('g-hint').textContent = 'Move Mouse left/right to dodge meteors'; gCvs.onmousemove = e => { const r = gCvs.getBoundingClientRect(); px = e.clientX - r.left - 15; }; function frame() { if (Math.random() < 0.08) meteors.push({x: Math.random()*360, y: -15, s: 2.5 + Math.random()3}); gCtx.fillStyle = '#070b14'; gCtx.fillRect(0,0,380,300); gCtx.fillStyle = '#34d399'; gCtx.fillRect(px, 270, 30, 14); gCtx.fillStyle = '#f59e0b'; for (let i = meteors.length - 1; i >= 0; i--) { const m = meteors[i]; m.y += m.s; gCtx.beginPath(); gCtx.arc(m.x, m.y, 9, 0, Math.PI2); gCtx.fill(); if (m.y > 262 && m.y < 286 && m.x > px - 6 && m.x < px + 36) { meteors = []; score = 0; break; } if (m.y > 310) { meteors.splice(i, 1); score++; } } document.getElementById('g-score').textContent = '☄️ Dodged: ' + score; gameLoop = requestAnimationFrame(frame); } frame(); } /* CALCULATOR (2*7 = VAULT) / let secretCode = "27"; const disp = document.getElementById('c-disp'); document.getElementById('v-notes').value = localStorage.getItem('os_v4') || ""; function cAdd(v) { disp.value = (disp.value === '0' || disp.value === 'Error') ? v : disp.value + v; } function cClr() { disp.value = '0'; } function cDel() { disp.value = disp.value.length > 1 ? disp.value.slice(0, -1) : '0'; } function cEq() { if (disp.value.replace(/\s+/g, '') === secretCode) { document.getElementById('c-pad').style.display = 'none'; document.getElementById('vault').style.display = 'flex'; document.getElementById('c-title').textContent = '🔐 Secret Vault'; cClr(); return; } try { disp.value = Function('"use strict";return(' + disp.value + ')')(); } catch { disp.value = 'Error'; } } function lockVault() { document.getElementById('vault').style.display = 'none'; document.getElementById('c-pad').style.display = 'flex'; document.getElementById('c-title').textContent = '🧮 Calculator'; } /* CLOCK & LIVE WEATHER */ setInterval(() => { document.getElementById('clock').textContent = new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }); }, 1000); let wMode = 'auto', realW = 'clear'; function getWeather() { if (!navigator.geolocation) return; navigator.geolocation.getCurrentPosition(async p => { try { const