Download static/css/protection.css from QBANK/OFTQUEST: direct link, hf CLI and curl.
- Browser
- Download file 6.67 kB
-
https://huggingface.co/spaces/QBANK/OFTQUEST/resolve/main/static/css/protection.css
- Command line
-
hf download hf://spaces/QBANK/OFTQUEST/static/css/protection.css
-
curl -L -o protection.css https://huggingface.co/spaces/QBANK/OFTQUEST/resolve/main/static/css/protection.css
6.67 kB
| /* ===== DRM-LIKE PROTECTION STYLES ===== */ | |
| .protected-content { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } | |
| .protected-content img { -webkit-user-drag: none; user-drag: none; pointer-events: none; } | |
| @media print { html, body, * { display: none ; visibility: hidden ; opacity: 0 ; background: #000 ; color: #000 ; } } | |
| .content-blur { filter: blur(30px) ; transition: filter 0.3s ease; } | |
| .devtools-warning { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; color: #fff; display: none; align-items: center; justify-content: center; z-index: 99999; font-size: 24px; text-align: center; padding: 40px; } | |
| .devtools-warning.show { display: flex; } | |
| .devtools-warning .warning-content { max-width: 500px; } | |
| .devtools-warning h2 { color: #ea4335; margin-bottom: 16px; font-size: 28px; } | |
| .devtools-warning p { color: #aaa; line-height: 1.6; } | |
| /* ===== VIDEO PROTECTION ===== */ | |
| .video-wrapper { position: relative; overflow: hidden; } | |
| .video-wrapper > div:not(.video-protection-overlay):not(.video-controls-zone):not(.video-placeholder):not(.video-top-shield):not(.video-watermark) { display: none ; } | |
| #idm-aio-button, [id*="IDM"], [id*="idm"], [class*="IDM"], [class*="idm"], [class*="download-panel"], | |
| [id*="EagleGet"], [id*="eagleget"], [class*="eagleget"], [id*="xdm"], [class*="xdm"] { | |
| display: none ; visibility: hidden ; opacity: 0 ; pointer-events: none ; width: 0 ; height: 0 ; | |
| } | |
| .video-protection-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; cursor: pointer; background: transparent; } | |
| .video-protection-overlay.hidden { pointer-events: none; } | |
| .video-top-shield { position: absolute; top: 0; right: 0; width: 200px; height: 60px; z-index: 200; background: transparent; pointer-events: all; } | |
| .video-watermark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; overflow: hidden; } | |
| .video-placeholder { | |
| width: 100%; aspect-ratio: 16/9; | |
| background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); | |
| border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; | |
| } | |
| .video-placeholder:hover { background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%); transform: scale(1.01); } | |
| .video-placeholder .play-button { width: 80px; height: 80px; background: rgba(255,255,255,0.15); border: 3px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; margin-bottom: 16px; transition: all 0.3s ease; } | |
| .video-placeholder:hover .play-button { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); transform: scale(1.1); } | |
| .video-placeholder .play-text { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; } | |
| .watermark-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; opacity: 1; overflow: hidden; } | |
| .wm-text { position: fixed; font: 700 13px sans-serif; color: rgba(0,0,0,0.12); transform: rotate(-25deg); white-space: nowrap; pointer-events: none; z-index: 9998; user-select: none; -webkit-user-select: none; } | |
| .recording-detected .wm-text { color: rgba(0,0,0,0.35) ; } | |
| .screenshot-shield { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99997; pointer-events: none; background: #000; opacity: 0; transition: opacity 0.3s ease; } | |
| .screenshot-active .screenshot-shield { opacity: 1; background: #000 ; } | |
| .screenshot-active #app { opacity: 0 ; } | |
| .screenshot-active iframe { opacity: 0 ; } | |
| .screenshot-active .watermark-overlay { visibility: hidden ; } | |
| .screenshot-active .gabarito-video { visibility: hidden ; } | |
| .recording-detected .video-watermark { opacity: 0.6 ; } | |
| .recording-detected #watermark { opacity: 0.3 ; } | |
| .kicked-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 100000; } | |
| .kicked-overlay.show { display: flex; } | |
| .kicked-card { background: white; border-radius: 16px; padding: 48px; text-align: center; max-width: 400px; } | |
| .kicked-card h2 { color: var(--wrong); margin-bottom: 12px; } | |
| .kicked-card .kicked-message { color: var(--text-sec); margin-bottom: 24px; } | |
| /* ===== FORTRESS v2: Automation Warning ===== */ | |
| .automation-warning { | |
| position: fixed; top: 0; left: 0; right: 0; bottom: 0; | |
| background: rgba(0,0,0,0.97); display: none; align-items: center; justify-content: center; | |
| z-index: 999999; font-family: sans-serif; | |
| } | |
| .automation-warning.show { display: flex; } | |
| .automation-warning-content { | |
| text-align: center; max-width: 500px; padding: 40px; | |
| } | |
| .automation-warning-content h2 { | |
| color: #ff4444; font-size: 28px; margin-bottom: 16px; | |
| } | |
| .automation-warning-content p { | |
| color: #aaa; font-size: 16px; line-height: 1.6; | |
| } | |
| /* ===== FORTRESS v2: Fullscreen Watermark ===== */ | |
| .fullscreen-watermark { | |
| position: fixed ; top: 0 ; left: 0 ; | |
| width: 100vw ; height: 100vh ; | |
| pointer-events: none ; z-index: 2147483647 ; | |
| overflow: hidden ; opacity: 1 ; | |
| display: block ; visibility: visible ; | |
| } | |
| .fullscreen-watermark span { | |
| pointer-events: none ; user-select: none ; | |
| -webkit-user-select: none ; visibility: visible ; | |
| display: inline ; opacity: 1 ; | |
| } | |
| /* Prevent extensions from hiding fullscreen watermark */ | |
| *:-webkit-full-screen .fullscreen-watermark, | |
| *:fullscreen .fullscreen-watermark { | |
| display: block ; visibility: visible ; opacity: 1 ; | |
| } | |
| /* ===== FORTRESS v2: Enhanced Download Blocker Styles ===== */ | |
| [id*="savefrom"], [class*="savefrom"], [id*="vdh-"], [class*="vdh-"], | |
| [id*="tubedigger"], [class*="tubedigger"], [id*="keepvid"], [class*="keepvid"], | |
| [id*="video-download"], [class*="video-download"], [id*="ytdl"], [class*="ytdl"], | |
| [id*="grabber"], [class*="grabber"], [id*="snatcher"], [class*="snatcher"], | |
| [id*="ripper"], [class*="ripper"] { | |
| display: none ; visibility: hidden ; opacity: 0 ; | |
| pointer-events: none ; width: 0 ; height: 0 ; | |
| position: absolute ; left: -9999px ; | |
| } | |