|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>New Tab Page for Linux Users</title> |
| 7 | + <link rel="stylesheet" href="style.css" /> |
| 8 | +</head> |
| 9 | +<body> |
| 10 | + <header> |
| 11 | + <h1>New Tab Page for Linux Users</h1> |
| 12 | + <nav> |
| 13 | + <a href="https://www.linux.org" target="_blank">Linux.org</a> |
| 14 | + <a href="https://www.duckduckgo.com" target="_blank">DuckDuckGo</a> |
| 15 | + </nav> |
| 16 | + </header> |
| 17 | + |
| 18 | + <main> |
| 19 | + <section> |
| 20 | + <form action="https://www.duckduckgo.com/" method="GET" target="_blank" class="search-form"> |
| 21 | + <input type="text" name="q" placeholder="DuckDuckGo Search" required /> |
| 22 | + <button type="submit">Search</button> |
| 23 | + </form> |
| 24 | + <h2>Launchpad</h2> |
| 25 | + <h3>Productivity</h3> |
| 26 | + <button onclick="window.open('https://calendar.proton.me', '_blank')">Proton Calendar</button> |
| 27 | + <button onclick="window.open('https://mail.proton.me', '_blank')">Proton Mail</button> |
| 28 | + <button onclick="window.open('https://drive.proton.me', '_blank')">Proton Drive</button> |
| 29 | + <button onclick="window.open('https://www.canva.com', '_blank')">Canva</button> |
| 30 | + <button onclick="window.open('https://www.github.com', '_blank')">GitHub</button> |
| 31 | + <h3>Entertainment</h3> |
| 32 | + <button onclick="window.open('https://www.youtube.com', '_blank')">YouTube</button> |
| 33 | + <button onclick="window.open('https://www.peertube.tv', '_blank')">PeerTube.TV</button> |
| 34 | + <button onclick="window.open('https://www.netflix.com', '_blank')">Netflix</button> |
| 35 | + <h3>Microblogging</h3> |
| 36 | + <button onclick="window.open('https://www.x.com', '_blank')">Twitter/X</button> |
| 37 | + <button onclick="window.open('https://www.mastodon.social', '_blank')">Mastodon</button> |
| 38 | + <h3>News Platforms</h3> |
| 39 | + <button onclick="window.open('https://www.cnn.com', '_blank')">CNN</button> |
| 40 | + <button onclick="window.open('https://abcnews.go.com', '_blank')">ABC News</button> |
| 41 | + <button onclick="window.open('https://www.bbc.com', '_blank')">BBC</button> |
| 42 | + <h2>Browserfetch</h2> |
| 43 | + <script> |
| 44 | + function getBrowserInfo() { |
| 45 | + const info = { |
| 46 | + Browser: navigator.userAgent, |
| 47 | + Platform: navigator.platform, |
| 48 | + Language: navigator.language, |
| 49 | + Status: navigator.onLine ? "Online" : "Offline", |
| 50 | + Screen: `${screen.width}x${screen.height}`, |
| 51 | + ColorDepth: `${screen.colorDepth}-bit`, |
| 52 | + Timezone: Intl.DateTimeFormat().resolvedOptions().timeZone, |
| 53 | + Memory: navigator.deviceMemory ? `${navigator.deviceMemory} GB` : "Unknown", |
| 54 | + Timestamp: new Date().toLocaleString() |
| 55 | + }; |
| 56 | + |
| 57 | + const output = Object.entries(info) |
| 58 | + .map(([key, value]) => `${key}: ${value}`) |
| 59 | + .join('\n'); |
| 60 | + |
| 61 | + document.getElementById("neofetch").textContent = output; |
| 62 | + } |
| 63 | + |
| 64 | + window.onload = getBrowserInfo; |
| 65 | + </script> |
| 66 | + <pre id="neofetch">Loading system info...</pre> |
| 67 | + </section> |
| 68 | + </main> |
| 69 | + |
| 70 | + <footer> |
| 71 | + <p>🖥️ Talk is cheap. Show me the code. -Linus Torvalds</p> |
| 72 | + </footer> |
| 73 | +</body> |
| 74 | +</html> |
0 commit comments