Download Adults.html from M-SPORT/Download: direct link, hf CLI and curl.
- Browser
- Download file 23.5 kB
-
https://huggingface.co/spaces/M-SPORT/Download/resolve/main/Adults.html
- Command line
-
hf download hf://spaces/M-SPORT/Download/Adults.html
-
curl -L -o Adults.html https://huggingface.co/spaces/M-SPORT/Download/resolve/main/Adults.html
23.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Adults Section</title> | |
| <!-- Bootstrap CSS (Optional) --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Arial', sans-serif; | |
| } | |
| body { | |
| background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); | |
| color: #fff; | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-radius: 20px; | |
| padding: 30px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .header { | |
| text-align: center; | |
| margin-bottom: 30px; | |
| padding-bottom: 20px; | |
| border-bottom: 2px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .header h1 { | |
| font-size: 2.5rem; | |
| color: #ff6b6b; | |
| margin-bottom: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 15px; | |
| } | |
| .header h1 i { | |
| font-size: 2.2rem; | |
| color: #ff4757; | |
| } | |
| .header p { | |
| color: #aaa; | |
| font-size: 1.1rem; | |
| } | |
| /* Main URL Box */ | |
| .url-box { | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: 15px; | |
| padding: 25px; | |
| margin-bottom: 30px; | |
| border: 2px solid #ff6b6b; | |
| } | |
| .url-box h2 { | |
| color: #ff6b6b; | |
| margin-bottom: 15px; | |
| font-size: 1.8rem; | |
| } | |
| .url-display { | |
| background: rgba(0, 0, 0, 0.5); | |
| padding: 15px; | |
| border-radius: 10px; | |
| margin-bottom: 20px; | |
| word-break: break-all; | |
| font-family: monospace; | |
| color: #4ecdc4; | |
| font-size: 1.1rem; | |
| border: 1px solid #4ecdc4; | |
| } | |
| /* Open Button */ | |
| .open-button { | |
| display: block; | |
| width: 100%; | |
| padding: 18px; | |
| background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%); | |
| color: white; | |
| border: none; | |
| border-radius: 12px; | |
| font-size: 1.3rem; | |
| font-weight: bold; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| margin-top: 20px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 12px; | |
| } | |
| .open-button:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4); | |
| background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%); | |
| } | |
| .open-button:active { | |
| transform: translateY(-1px); | |
| } | |
| /* About Section */ | |
| .about-section { | |
| background: rgba(255, 255, 255, 0.05); | |
| border-radius: 15px; | |
| padding: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .about-section h2 { | |
| color: #4ecdc4; | |
| margin-bottom: 15px; | |
| font-size: 1.8rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .about-section p { | |
| color: #ccc; | |
| line-height: 1.8; | |
| margin-bottom: 15px; | |
| font-size: 1.05rem; | |
| } | |
| .features { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 15px; | |
| margin-top: 20px; | |
| } | |
| .feature { | |
| background: rgba(255, 255, 255, 0.08); | |
| padding: 15px; | |
| border-radius: 10px; | |
| border-left: 4px solid #ff6b6b; | |
| } | |
| .feature h4 { | |
| color: #ffd166; | |
| margin-bottom: 8px; | |
| font-size: 1.1rem; | |
| } | |
| .feature p { | |
| color: #aaa; | |
| font-size: 0.95rem; | |
| margin: 0; | |
| } | |
| /* Info Box */ | |
| .info-box { | |
| background: rgba(255, 215, 102, 0.1); | |
| border-left: 5px solid #ffd166; | |
| padding: 20px; | |
| border-radius: 10px; | |
| margin: 20px 0; | |
| } | |
| .info-box h3 { | |
| color: #ffd166; | |
| margin-bottom: 10px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| /* Navigation Buttons */ | |
| .nav-buttons { | |
| display: flex; | |
| gap: 15px; | |
| margin-top: 30px; | |
| flex-wrap: wrap; | |
| } | |
| .nav-btn { | |
| flex: 1; | |
| min-width: 150px; | |
| padding: 15px; | |
| border-radius: 10px; | |
| border: none; | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| text-decoration: none; | |
| } | |
| .back-btn { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: white; | |
| border: 2px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .back-btn:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: translateY(-2px); | |
| } | |
| .home-btn { | |
| background: rgba(78, 205, 196, 0.2); | |
| color: #4ecdc4; | |
| border: 2px solid #4ecdc4; | |
| } | |
| .home-btn:hover { | |
| background: rgba(78, 205, 196, 0.3); | |
| transform: translateY(-2px); | |
| } | |
| /* Stats */ | |
| .stats { | |
| display: flex; | |
| justify-content: space-around; | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: 12px; | |
| padding: 20px; | |
| margin-top: 30px; | |
| text-align: center; | |
| } | |
| .stat-item h3 { | |
| color: #ff6b6b; | |
| font-size: 2rem; | |
| margin-bottom: 5px; | |
| } | |
| .stat-item p { | |
| color: #aaa; | |
| font-size: 0.9rem; | |
| } | |
| /* Footer */ | |
| .footer { | |
| text-align: center; | |
| margin-top: 40px; | |
| padding-top: 20px; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| color: #888; | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 20px; | |
| margin: 10px; | |
| } | |
| .header h1 { | |
| font-size: 2rem; | |
| } | |
| .nav-buttons { | |
| flex-direction: column; | |
| } | |
| .features { | |
| grid-template-columns: 1fr; | |
| } | |
| .url-display { | |
| font-size: 1rem; | |
| } | |
| } | |
| /* Animation */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.6s ease forwards; | |
| } | |
| /* Status Indicator */ | |
| .status { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 8px 15px; | |
| border-radius: 20px; | |
| font-size: 0.9rem; | |
| margin-left: 15px; | |
| } | |
| .status.online { | |
| background: rgba(78, 205, 196, 0.2); | |
| color: #4ecdc4; | |
| border: 1px solid #4ecdc4; | |
| } | |
| .status.offline { | |
| background: rgba(255, 107, 107, 0.2); | |
| color: #ff6b6b; | |
| border: 1px solid #ff6b6b; | |
| } | |
| /* Loading Animation */ | |
| .loader { | |
| display: none; | |
| text-align: center; | |
| margin: 20px 0; | |
| } | |
| .spinner { | |
| border: 4px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 50%; | |
| border-top: 4px solid #ff6b6b; | |
| width: 40px; | |
| height: 40px; | |
| animation: spin 1s linear infinite; | |
| margin: 0 auto 10px; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| </style> | |
| <!-- Complete & Best WebView Protection Script --> | |
| <script> | |
| (function() { | |
| 'use strict'; | |
| console.log('[WebView Guard] Protection Activated'); | |
| // ===== 1. COMPLETELY BLOCK window.open() ===== | |
| const originalWindowOpen = window.open; | |
| window.open = function(url, target, features) { | |
| console.warn('[Blocked] window.open() attempt to:', url); | |
| // မူရင်း URL ကို WebView အတွင်းမှာပဲ ပြန်တင်ပါ | |
| if (url && typeof url === 'string') { | |
| // 'tinyearn.net/LYwX' လင့်ကိုနှိပ်ရင် သီးသန့်ကိုင်တွယ်ပါ | |
| if (url.includes('ouo.io/V1vwqs2')) { | |
| console.log('[Handler] Redirecting to loadMainURL()'); | |
| setTimeout(() => loadMainURL(), 10); | |
| } | |
| // အခြား ပြင်ပ link များကို WebView ထဲမှာပဲဖွင့်ပါ | |
| else if (url.startsWith('http')) { | |
| window.location.href = url; | |
| } | |
| } | |
| // New window/tab ကို လုံးဝမဖွင့်ပါ | |
| return null; | |
| }; | |
| // ===== 2. INTERCEPT ALL LINK CLICKS ===== | |
| document.addEventListener('click', function(event) { | |
| let clickedElement = event.target; | |
| // နှိပ်လိုက်တဲ့ element က <a> tag (သို့မဟုတ်) ၎င်းရဲ့ မိဘ element ဟုတ်မဟုတ်ရှာပါ | |
| while (clickedElement && clickedElement.tagName !== 'A') { | |
| clickedElement = clickedElement.parentElement; | |
| } | |
| if (clickedElement && clickedElement.tagName === 'A' && clickedElement.href) { | |
| // မူရင်း ဖြစ်ရပ်ကို ရပ်တန့်ပါ | |
| event.preventDefault(); | |
| event.stopPropagation(); | |
| const href = clickedElement.href; | |
| console.log('[Intercepted] Link click:', href); | |
| // 'Adults.html' အတွင်းက မူရင်း Target URL ကိုနှိပ်ရင် | |
| if (href.includes('tinyearn.net/LYwX')) { | |
| loadMainURL(); | |
| } | |
| // အခြား internal HTML file များအတွက် | |
| else if (href.includes('.html')) { | |
| window.location.href = href; | |
| } | |
| // အခြား ဘယ် link ကိုမဆို WebView ထဲမှာပဲဖွင့်ပါ | |
| else { | |
| window.location.href = href; | |
| } | |
| return false; | |
| } | |
| }, true); // Capture phase မှာကြိုတင်ဖမ်းယူပါ | |
| // ===== 3. SECURE ALL EXISTING LINKS ON PAGE LOAD ===== | |
| function secureAllPageLinks() { | |
| const allLinks = document.querySelectorAll('a'); | |
| allLinks.forEach(link => { | |
| // _blank, _new, _parent စသည်တို့ကို _self အဖြစ်ပြောင်းပါ | |
| if (link.target && link.target !== '_self') { | |
| link.setAttribute('data-original-target', link.target); | |
| link.target = '_self'; | |
| } | |
| // onclick event များကို ဖယ်ရှားပါ | |
| link.onclick = null; | |
| link.removeAttribute('onclick'); | |
| }); | |
| console.log('[Secure] Secured', allLinks.length, 'links on page'); | |
| } | |
| // ===== 4. MAIN URL LOADER FUNCTION (အဓိကလုပ်ဆောင်ချက်) ===== | |
| window.loadMainURL = function() { | |
| console.log('[Action] loadMainURL() called'); | |
| const LOADER_ID = 'loader'; | |
| const OPEN_BTN_ID = 'openBtn'; | |
| const mainURL = 'https://ouo.io/V1vwqs2'; | |
| // Loading animation ပြပါ | |
| const loader = document.getElementById(LOADER_ID); | |
| const openButton = document.getElementById(OPEN_BTN_ID); | |
| if (loader) loader.style.display = 'block'; | |
| if (openButton) { | |
| openButton.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Opening...'; | |
| openButton.disabled = true; | |
| } | |
| // Android WebView အတွက် အကောင်းဆုံးနည်းလမ်း | |
| try { | |
| // နည်းလမ်း ၁: Android Interface ကနေတဆင့် (ရှိခဲ့ရင်) | |
| if (typeof Android !== 'undefined' && Android.loadUrl) { | |
| Android.loadUrl(mainURL); | |
| } | |
| // နည်းလမ်း ၂: ရိုးရိုး location.href အသုံးပြုခြင်း | |
| else { | |
| window.location.href = mainURL; | |
| } | |
| } catch (error) { | |
| console.error('[Error] Failed to load URL:', error); | |
| // နည်းလမ်း ၃: Fallback - iframe အသုံးပြုခြင်း | |
| const fallbackHTML = ` | |
| <iframe src="${mainURL}" | |
| style="width:100%; height:100vh; border:none;" | |
| sandbox="allow-same-origin allow-scripts allow-forms"> | |
| </iframe>`; | |
| document.body.innerHTML = fallbackHTML; | |
| } | |
| // Safety timeout - 3 စက္ကန့်ကြာပြီးတိုင်း loading ကိုဖျောက်ပါ | |
| setTimeout(() => { | |
| if (loader) loader.style.display = 'none'; | |
| if (openButton) { | |
| openButton.innerHTML = '<i class="fas fa-external-link-alt"></i> OPEN IN MY APK BROWSER'; | |
| openButton.disabled = false; | |
| } | |
| }, 3000); | |
| return false; // မူရင်း event ကိုဆက်မလုပ်ပါ | |
| }; | |
| // ===== 5. PAGE LOAD INITIALIZATION ===== | |
| document.addEventListener('DOMContentLoaded', function() { | |
| console.log('[Init] Adults.html DOM loaded'); | |
| // စာမျက်နှာပေါ်က link များအားလုံးကို လုံခြုံအောင်လုပ်ပါ | |
| secureAllPageLinks(); | |
| // စာမျက်နှာအသစ်တွေထပ်ထည့်ခြင်းကို စောင့်ကြည့်ပါ | |
| const pageObserver = new MutationObserver(function(mutations) { | |
| mutations.forEach(function(mutation) { | |
| if (mutation.addedNodes.length) { | |
| secureAllPageLinks(); | |
| } | |
| }); | |
| }); | |
| // body အတွင်းက ဘယ် element ထပ်ထည့်ခြင်းကိုမဆို စောင့်ကြည့်ပါ | |
| pageObserver.observe(document.body, { | |
| childList: true, | |
| subtree: true | |
| }); | |
| // Android interface ရှိမရှိစစ်ပါ | |
| if (typeof Android !== 'undefined') { | |
| console.log('[Android] Android interface is available'); | |
| } | |
| }); | |
| // ===== 6. ADDITIONAL PROTECTION LAYERS ===== | |
| // Right-click (context menu) ကို link များပေါ်တွင်တားပါ | |
| document.addEventListener('contextmenu', function(e) { | |
| if (e.target.closest('a')) { | |
| e.preventDefault(); | |
| return false; | |
| } | |
| }); | |
| // Browser console မှာပြမယ့် message ကိုပါထိန်းချုပ်ထားပါ (optional) | |
| console.log = (function(originalLog) { | |
| return function(...args) { | |
| // စိတ်ကြိုက် filter လုပ်နိုင်ပါတယ် | |
| originalLog.apply(console, args); | |
| }; | |
| })(console.log); | |
| })(); // IMMEDIATELY INVOKED FUNCTION EXPRESSION (IIFE) END | |
| </script> | |
| <body> | |
| <div class="container fade-in"> | |
| <!-- Header --> | |
| <div class="header"> | |
| <h1> | |
| <i class="fas fa-lock"></i> | |
| Adults Section | |
| <span id="connectionStatus" class="status online"> | |
| <i class="fas fa-wifi"></i> Connected | |
| </span> | |
| </h1> | |
| <p>Secure access to restricted content within your app</p> | |
| </div> | |
| <!-- Main URL Box --> | |
| <div class="url-box fade-in"> | |
| <h2><i class="fas fa-link"></i> Target URL</h2> | |
| <div class="url-display"> | |
| https://ouo.io/V1vwqs2 | |
| </div> | |
| <p>This URL will open securely within your app's WebView</p> | |
| <!-- Loading Animation --> | |
| <div class="loader" id="loader"> | |
| <div class="spinner"></div> | |
| <p>Opening in secure WebView...</p> | |
| </div> | |
| <!-- Open Button --> | |
| <button id="openBtn" class="open-button" onclick="loadMainURL()"> | |
| <i class="fas fa-external-link-alt"></i> | |
| OPEN IN MY APK BROWSER | |
| </button> | |
| </div> | |
| <!-- Info Box --> | |
| <div class="info-box fade-in"> | |
| <h3><i class="fas fa-info-circle"></i> Important Information</h3> | |
| <p>• This content opens ONLY within the app's secure WebView</p> | |
| <p>• External browser is completely blocked</p> | |
| <p>• All navigation stays inside the application</p> | |
| <p>• Your privacy and security are protected</p> | |
| </div> | |
| <!-- About Section --> | |
| <div class="about-section fade-in"> | |
| <h2><i class="fas fa-question-circle"></i> About This Section</h2> | |
| <p> | |
| This Adults section provides secure access to restricted content through | |
| your application's built-in WebView browser. The system is designed to | |
| prevent any external browser openings, ensuring all content remains | |
| within the app's protected environment. | |
| </p> | |
| <div class="features"> | |
| <div class="feature"> | |
| <h4><i class="fas fa-shield-alt"></i> Secure Browsing</h4> | |
| <p>All content loads in a secure, isolated WebView environment</p> | |
| </div> | |
| <div class="feature"> | |
| <h4><i class="fas fa-ban"></i> No External Links</h4> | |
| <p>External browser openings are completely blocked</p> | |
| </div> | |
| <div class="feature"> | |
| <h4><i class="fas fa-mobile-alt"></i> App Integrated</h4> | |
| <p>Seamlessly integrated with your APK's interface</p> | |
| </div> | |
| <div class="feature"> | |
| <h4><i class="fas fa-bolt"></i> Fast Loading</h4> | |
| <p>Optimized for quick loading within the app</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stats --> | |
| <div class="stats fade-in"> | |
| <div class="stat-item"> | |
| <h3>100%</h3> | |
| <p>Secure</p> | |
| </div> | |
| <div class="stat-item"> | |
| <h3>0</h3> | |
| <p>External Opens</p> | |
| </div> | |
| <div class="stat-item"> | |
| <h3>∞</h3> | |
| <p>In-App Access</p> | |
| </div> | |
| </div> | |
| <!-- Navigation Buttons --> | |
| <div class="nav-buttons fade-in"> | |
| <a href="index.html" class="nav-btn back-btn"> | |
| <i class="fas fa-arrow-left"></i> | |
| Back to Main | |
| </a> | |
| <a href="#" class="nav-btn home-btn" onclick="window.location.reload()"> | |
| <i class="fas fa-redo"></i> | |
| Refresh Page | |
| </a> | |
| </div> | |
| <!-- Footer --> | |
| <div class="footer fade-in"> | |
| <p>© <span id="currentYear">2024</span> My APK Browser. All rights reserved.</p> | |
| <p>Running in secure WebView mode | Version 1.0</p> | |
| </div> | |
| </div> | |
| <!-- Additional JavaScript --> | |
| <script> | |
| // Page-specific functions | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Add click effect to open button | |
| const openBtn = document.getElementById('openBtn'); | |
| if (openBtn) { | |
| openBtn.addEventListener('mousedown', function() { | |
| this.style.transform = 'translateY(0)'; | |
| }); | |
| openBtn.addEventListener('mouseup', function() { | |
| this.style.transform = 'translateY(-3px)'; | |
| }); | |
| } | |
| // Update stats with random data (for demo) | |
| setInterval(function() { | |
| const stats = document.querySelectorAll('.stat-item h3'); | |
| if (stats.length > 1) { | |
| // Simulate live updates | |
| const current = parseInt(stats[1].textContent); | |
| stats[1].textContent = current + 1; | |
| } | |
| }, 5000); | |
| }); | |
| // Handle back button | |
| window.addEventListener('popstate', function() { | |
| console.log('Back button pressed in WebView'); | |
| }); | |
| // Prevent right-click on sensitive areas | |
| document.addEventListener('contextmenu', function(e) { | |
| if (e.target.closest('.url-box') || e.target.closest('.open-button')) { | |
| e.preventDefault(); | |
| alert('Right-click is disabled in secure areas'); | |
| return false; | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |