NoobyDudeS

5710 SIMPLE PASSWORD GATE SOFTLOCKS USER

Nov 25th, 2025 (edited)
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Soft-Locker by 5710
  3. // @namespace    http://tampermonkey.net/
  4. // @version      5.5
  5. // @description  Password lock with immediate outro
  6. // @match        *://*/*
  7. // @grant        none
  8. // ==/UserScript==
  9.  
  10. (function () {
  11.     const PASSWORD = "6024241";
  12.     const MEDIA_URL = "https://c.tenor.com/Wet8JUPkVB4AAAAC/tenor.gif";
  13.  
  14.     if (sessionStorage.getItem("site_unlocked") === "true") return;
  15.  
  16.     document.documentElement.style.overflow = "hidden";
  17.     document.body.style.overflow = "hidden";
  18.  
  19.     const overlay = document.createElement("div");
  20.     overlay.style.position = "fixed";
  21.     overlay.style.top = 0;
  22.     overlay.style.left = 0;
  23.     overlay.style.width = "100vw";
  24.     overlay.style.height = "100vh";
  25.     overlay.style.background = "black";
  26.     overlay.style.zIndex = "2147483647";
  27.     overlay.style.display = "flex";
  28.     overlay.style.flexDirection = "column";
  29.     overlay.style.justifyContent = "center";
  30.     overlay.style.alignItems = "center";
  31.     overlay.style.fontFamily = "Arial, sans-serif";
  32.     overlay.style.opacity = "1";
  33.     overlay.style.transition = "opacity .25s ease";
  34.     overlay.style.pointerEvents = "auto";
  35.  
  36.     const frame = document.createElement("div");
  37.     frame.style.background = "rgba(0,0,0,0.6)";
  38.     frame.style.padding = "30px 40px";
  39.     frame.style.borderRadius = "12px";
  40.     frame.style.display = "flex";
  41.     frame.style.flexDirection = "column";
  42.     frame.style.alignItems = "center";
  43.     frame.style.pointerEvents = "auto";
  44.  
  45.     const title = document.createElement("div");
  46.     title.innerText = "🔒 This site is locked";
  47.     title.style.color = "white";
  48.     title.style.fontSize = "28px";
  49.     title.style.marginBottom = "20px";
  50.  
  51.     const input = document.createElement("input");
  52.     input.type = "password";
  53.     input.placeholder = "Enter password...";
  54.     input.style.padding = "12px 14px";
  55.    input.style.fontSize = "18px";
  56.     input.style.borderRadius = "6px";
  57.     input.style.border = "2px solid #aaa";
  58.     input.style.marginBottom = "15px";
  59.     input.style.width = "260px";
  60.     input.style.textAlign = "center";
  61.     input.style.background = "white";
  62.     input.style.color = "black";
  63.     input.style.pointerEvents = "auto";
  64.  
  65.     const button = document.createElement("button");
  66.     button.innerText = "Unlock";
  67.     button.style.padding = "10px 20px";
  68.     button.style.fontSize = "18px";
  69.     button.style.borderRadius = "6px";
  70.     button.style.border = "none";
  71.     button.style.cursor = "pointer";
  72.     button.style.background = "#4CAF50";
  73.     button.style.color = "white";
  74.     button.style.pointerEvents = "auto";
  75.  
  76.     const credit = document.createElement("div");
  77.     credit.innerText = "Powered by 5710load";
  78.     credit.style.color = "white";
  79.     credit.style.opacity = "0.7";
  80.     credit.style.marginTop = "20px";
  81.     credit.style.fontSize = "14px";
  82.  
  83.     function unlock() {
  84.         if (input.value !== PASSWORD) {
  85.             alert("Incorrect password");
  86.             return;
  87.         }
  88.  
  89.         sessionStorage.setItem("site_unlocked", "true");
  90.  
  91.         overlay.style.opacity = "0";
  92.  
  93.         setTimeout(() => {
  94.             overlay.remove();
  95.             playOutro();
  96.         }, 250);
  97.     }
  98.  
  99.     button.onclick = unlock;
  100.     input.onkeydown = (e) => { if (e.key === "Enter") unlock(); };
  101.  
  102.     frame.appendChild(title);
  103.     frame.appendChild(input);
  104.     frame.appendChild(button);
  105.     overlay.appendChild(frame);
  106.     overlay.appendChild(credit);
  107.     document.body.appendChild(overlay);
  108.  
  109.     function playOutro() {
  110.         const outro = document.createElement("div");
  111.         outro.style.position = "fixed";
  112.         outro.style.top = 0;
  113.         outro.style.left = 0;
  114.         outro.style.width = "100vw";
  115.         outro.style.height = "100vh";
  116.         outro.style.background = "black";
  117.         outro.style.zIndex = "2147483647";
  118.         outro.style.display = "flex";
  119.         outro.style.flexDirection = "column";
  120.         outro.style.justifyContent = "center";
  121.         outro.style.alignItems = "center";
  122.         outro.style.transition = "all .9s ease";
  123.  
  124.         let media;
  125.         if (MEDIA_URL.endsWith(".mp4") || MEDIA_URL.endsWith(".webm")) {
  126.             media = document.createElement("video");
  127.             media.src = MEDIA_URL;
  128.             media.autoplay = true;
  129.             media.muted = true;
  130.             media.loop = false;
  131.         } else {
  132.             media = document.createElement("img");
  133.             media.src = MEDIA_URL;
  134.         }
  135.  
  136.         media.style.position = "absolute";
  137.         media.style.top = 0;
  138.         media.style.left = 0;
  139.         media.style.width = "100%";
  140.         media.style.height = "100%";
  141.         media.style.objectFit = "cover";
  142.  
  143.         const msg = document.createElement("div");
  144.         msg.innerText = "Welcome back!";
  145.         msg.style.color = "white";
  146.         msg.style.fontSize = "40px";
  147.         msg.style.zIndex = "2147483648";
  148.         msg.style.textShadow = "0 0 10px black";
  149.  
  150.         outro.appendChild(media);
  151.         outro.appendChild(msg);
  152.         document.body.appendChild(outro);
  153.  
  154.         const finish = () => {
  155.             outro.style.transform = "scale(0.05) translate(-850%, -850%)";
  156.             outro.style.opacity = "0";
  157.  
  158.             setTimeout(() => {
  159.                 outro.remove();
  160.                 document.documentElement.style.overflow = "";
  161.                 document.body.style.overflow = "";
  162.             }, 900);
  163.         };
  164.  
  165.         if (media.tagName === "VIDEO") {
  166.             media.onended = finish;
  167.         } else {
  168.             setTimeout(finish, 2500);
  169.         }
  170.     }
  171. })();
  172.  
Advertisement
Add Comment
Please, Sign In to add comment