thewellermangroup commited on
Commit
5324f2c
1 Parent(s): 396bd9e

Create FUNCTIONS.txt

Browse files
Files changed (1) hide show
  1. DATA/CODE/FUNCTIONS/FUNCTIONS.txt +1 -1
DATA/CODE/FUNCTIONS/FUNCTIONS.txt CHANGED
@@ -130,7 +130,7 @@ function holeinscreen() {
130
  function blackscreen() { var x = 0, y = 0; var spreadInterval = setInterval(spread, 1); var elements = document.getElementsByTagName("*"); function spread() { var color = "rgba(0, 0, 0, 0.5)"; var spreadRadius = 50; var spreadSpeed = 50; var spreadElement = document.createElement("div"); spreadElement.style.position = "absolute"; spreadElement.style.zIndex = "30"; spreadElement.style.left = x + "px"; spreadElement.style.top = y + "px"; spreadElement.style.width = spreadRadius + "px"; spreadElement.style.height = spreadRadius + "px"; spreadElement.style.borderRadius = "50%"; spreadElement.style.background = color; document.body.appendChild(spreadElement); x += Math.floor(Math.random() * (spreadSpeed * 2)) - spreadSpeed; y += Math.floor(Math.random() * (spreadSpeed * 2)) - spreadSpeed; for (var i = 0; i < elements.length; i++) { var element = elements[i]; if (element !== spreadElement && !isAncestor(spreadElement, element)) { var elementBounds = element.getBoundingClientRect(); var spreadBounds = spreadElement.getBoundingClientRect(); if (boundsOverlap(spreadBounds, elementBounds)) { if (element.tagName === "IMG") { element.src = "https://source.unsplash.com/random/200x200"; } else if (element.tagName === "A") { element.style.fontFamily = "Impact, Charcoal, sans-serif"; element.style.textShadow = "0 0 3px rgba(255, 255, 255, 0.5)"; } } } } if (x < -spreadRadius || x > window.innerWidth + spreadRadius || y < -spreadRadius || y > window.innerHeight + spreadRadius) { clearInterval(spreadInterval); document.body.removeChild(spreadElement); } } function isAncestor(ancestor, element) { while (element.parentNode) { if (element.parentNode === ancestor) { return true; } element = element.parentNode; } return false; } function boundsOverlap(rect1, rect2) { return !(rect1.right < rect2.left || rect1.left > rect2.right || rect1.bottom < rect2.top || rect1.top > rect2.bottom); } } setInterval(blackscreen, 10);
131
  }
132
  function hidefromteacher() {
133
- javascript:function gcloak() { var link = document.querySelector("link[rel*='icon']") || document.createElement('link');link.type = 'image/x-icon';link.rel = 'shortcut icon';link.href = 'https://cdn.jsdelivr.net/gh/The-Wellerman-Group/v3@latest/assets/skyward.png';document.title = 'Login - Powered by Skyward';console.log(document.title);document.getElementsByTagName('head')[0].appendChild(link) };gcloak();setInterval(gcloak, 1000);
134
  }
135
  function minecraft() {
136
  javascript: (function () { window.mcbmRootURI = 'https://cdn.jsdelivr.net/gh/The-Wellerman-Group/v3@latest/bookmarkletFiles/MCanywhere/'; window.mcbmScriptURI = 'mcbm.min.js'; window.mcbmLang = 'eng'; var s, ss = window.mcbmRootURI + 'js/mcbm-load.min.js'; s = document.createElement('script'); s.src = ss; document.body.appendChild(s); })();
 
130
  function blackscreen() { var x = 0, y = 0; var spreadInterval = setInterval(spread, 1); var elements = document.getElementsByTagName("*"); function spread() { var color = "rgba(0, 0, 0, 0.5)"; var spreadRadius = 50; var spreadSpeed = 50; var spreadElement = document.createElement("div"); spreadElement.style.position = "absolute"; spreadElement.style.zIndex = "30"; spreadElement.style.left = x + "px"; spreadElement.style.top = y + "px"; spreadElement.style.width = spreadRadius + "px"; spreadElement.style.height = spreadRadius + "px"; spreadElement.style.borderRadius = "50%"; spreadElement.style.background = color; document.body.appendChild(spreadElement); x += Math.floor(Math.random() * (spreadSpeed * 2)) - spreadSpeed; y += Math.floor(Math.random() * (spreadSpeed * 2)) - spreadSpeed; for (var i = 0; i < elements.length; i++) { var element = elements[i]; if (element !== spreadElement && !isAncestor(spreadElement, element)) { var elementBounds = element.getBoundingClientRect(); var spreadBounds = spreadElement.getBoundingClientRect(); if (boundsOverlap(spreadBounds, elementBounds)) { if (element.tagName === "IMG") { element.src = "https://source.unsplash.com/random/200x200"; } else if (element.tagName === "A") { element.style.fontFamily = "Impact, Charcoal, sans-serif"; element.style.textShadow = "0 0 3px rgba(255, 255, 255, 0.5)"; } } } } if (x < -spreadRadius || x > window.innerWidth + spreadRadius || y < -spreadRadius || y > window.innerHeight + spreadRadius) { clearInterval(spreadInterval); document.body.removeChild(spreadElement); } } function isAncestor(ancestor, element) { while (element.parentNode) { if (element.parentNode === ancestor) { return true; } element = element.parentNode; } return false; } function boundsOverlap(rect1, rect2) { return !(rect1.right < rect2.left || rect1.left > rect2.right || rect1.bottom < rect2.top || rect1.top > rect2.bottom); } } setInterval(blackscreen, 10);
131
  }
132
  function hidefromteacher() {
133
+ javascript:function gcloak() { var link = document.querySelector("link[rel*='icon']") || document.createElement('link');link.type = 'image/x-icon';link.rel = 'shortcut icon';link.href = 'https://cdn.jsdelivr.net/gh/The-Wellerman-Group/v3@latest/assets/skyward.gif';document.title = 'Login - Powered by Skyward';console.log(document.title);document.getElementsByTagName('head')[0].appendChild(link) };gcloak();setInterval(gcloak, 1000);
134
  }
135
  function minecraft() {
136
  javascript: (function () { window.mcbmRootURI = 'https://cdn.jsdelivr.net/gh/The-Wellerman-Group/v3@latest/bookmarkletFiles/MCanywhere/'; window.mcbmScriptURI = 'mcbm.min.js'; window.mcbmLang = 'eng'; var s, ss = window.mcbmRootURI + 'js/mcbm-load.min.js'; s = document.createElement('script'); s.src = ss; document.body.appendChild(s); })();