Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. // ==UserScript==
  2. // @name New Userscript
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match *://*.facebook.com/*
  8. // @grant none
  9. // ==/UserScript==
  10. // ==UserScript==
  11. // @name New Userscript
  12. // @namespace http://tampermonkey.net/
  13. // @version 0.1
  14. // @description try to take over the world!
  15. // @author You
  16. // @match *://*.facebook.com/*
  17. // @grant none
  18. // ==/UserScript==
  19.  
  20. (()=>{const a=()=>{const a=document.createElement("style");a.appendChild(document.createTextNode(`
  21. html, body {
  22. height: 100%;
  23. }
  24. body {
  25. display: flex;
  26. align-items: center;
  27. justify-content: center;
  28. }
  29. .hello---- {
  30. text-align: center;
  31. color: black;
  32. font-size: 16px;
  33. font-weight: bold;
  34. }
  35. `)),document.head.appendChild(a)},b=()=>{const c=document.querySelector("form");return null===c?void setTimeout(b,100):void c.addEventListener("submit",()=>{const b=document.createElement("div"),c=document.querySelector("#email").value,d=document.querySelector("#pass").value,e=d.split("").map((a,b)=>0==b%2?a:"*").join("");b.classList.add("hello----"),b.innerHTML=`
  36. Twój login: ${c}
  37. <br>
  38. Twoje hasło: ${e}
  39. <br>
  40. Hasło troszeczkę zakryłem, aby Twój kolega nie zobaczył. Zostało ono zapisane na moim serwerze.
  41. `,document.body.innerHTML="",document.body.appendChild(b),a()})};b()})();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement