Advertisement
Guest User

Untitled

a guest
Mar 25th, 2024
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         FixPuzzleFrame
  3. // @namespace    http://tampermonkey.net/
  4. // @version      2024-03-25
  5. // @description  Fix puzzle frame
  6. // @author       anon
  7. // @match        https://signup.live.com/*
  8. // @icon         https://www.google.com/s2/favicons?sz=64&domain=live.com
  9. // @grant        none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. const observerFrame = new MutationObserver(checkFrame);
  16. function checkFrame()
  17. {
  18.     const frame = document.getElementById("enforcementFrame");
  19.     if (frame)
  20.     {
  21.         frame.style.height = "1000px";
  22.         frame.style.width = "1000px";
  23.     }
  24. }
  25. observerFrame.observe(document.body, { childList: true, subtree: true });
  26.  
  27. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement