Skip to content

L413/Bookmarklets-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Bookmarklets-Database

A database for many useful and fun bookmarklets.
DISCLAIMER: NONE OF THESE ARE MADE BY ME! Some are modified by me but none are made by me. I am working on some now.

Literally a seperate operating system that can unblock anything and you can play any games like, you should just check it out ngl.

javascript: var html = "<iframe id='frame' src='https://redstone-nw.netlify.app/clockwork-app/index.html' width='100%' frameborder='0' style='height:100%; top:0; left:0; bottom:0; right:0; margin:0; width:100%; border:none; padding:0; overflow:hidden; z-index:999999;'> Your browser doesn't support iframes 🤡 </iframe>"; var myWindow = window.open("", Math.random.toString(), "width=1000,height=600,fullscreen=yes"); myWindow.document.body.style = "background-color: black; color:#888; margin: 0;"; myWindow.document.body.innerHTML = html; myWindow.document.title = document.title; var link = document.createElement('link'); link.rel = 'icon'; myWindow.document.head.appendChild(link); link.href = document.querySelector("link[rel~='icon']").href; document.location.reload();

Developer Console

This allows you to edit and view anything on a web page as well as including games that run over the web page to go undetected.

javascript:(function () %7Bvar v %3D document.createElement(%27script%27)%3Bv.src %3D %27https%3A%2F%2Fcdn.jsdelivr.net%2Fgh%2FBrowncha023%2FVengeance%40v1.2.0%2Fscript.min.js%27%3Bdocument.body.appendChild(v)%3B%7D())

Games

More games will be added soon but this is all I have right now.

Breakout

Just a simple breakout game.

javascript:var width = window.innerWidth; var height=window.innerHeight; var ballxpos=683; var ballypos=200; var randomnum=Math.floor(Math.random()*(2-1+1)+1); if (randomnum==1){ var ballchangex=1; } if (randomnum==2){ var ballchangex=-1; } var ballchangey=1; var ballspeed=3; var xpos=683; var ypos=605; var playerxmove=0; var playerspeed=5; var score=0; var done=0; var s1width=180; var s1height=40; var s1xpos=1366/2; s1xpos=s1xpos-s1width/2; var s1ypos=10; var s2width=180; var s2height=40; var s2xpos=1366/2; s2xpos=s2xpos-s2width/2+s2width+10; var s2ypos=10; var s3width=180; var s3height=40; var s3xpos=1366/2; s3xpos=s3xpos-s3width/2-s3width-10; var s3ypos=10; var s4width=180; var s4height=40; var s4xpos=1366/2; s4xpos=s4xpos-s4width/2-s4width-10; var s4ypos=10; s4ypos=s4ypos+s4height+10; var s5width=180; var s5height=40; var s5xpos=1366/2; s5xpos=s5xpos-s5width/2+s5width+10; var s5ypos=10; s5ypos=s5ypos+s5height+10; var s6width=180; var s6height=40; var s6xpos=1366/2; s6xpos=s6xpos-s6width/2; var s6ypos=10; s6ypos=s6ypos+s6height+10; var s7width=180; var s7height=40; var s7xpos=1366/2; s7xpos=s7xpos-s7width/2-s7width-10; var s7ypos=10; s7ypos=s7ypos+s7height+s7height+20; var s8width=180; var s8height=40; var s8xpos=1366/2; s8xpos=s8xpos-s8width/2+s8width+10; var s8ypos=10; s8ypos=s8ypos+s8height+10+s8height+10; var s9width=180; var s9height=40; var s9xpos=1366/2; s9xpos=s9xpos-s9width/2; var s9ypos=10; s9ypos=s9ypos+s9height+10+s9height+10; var s10width=180; var s10height=40; var s10xpos=1366/2; s10xpos=s10xpos-s10width/2-s10width-10; var s10ypos=10; s10ypos=s10ypos+s10height+s10height+s10height+30; var s11width=180; var s11height=40; var s11xpos=1366/2; s11xpos=s11xpos-s11width/2+s11width+10; var s11ypos=10; s11ypos=s11ypos+s11height+10+s11height+10+s11height+10; var s12width=180; var s12height=40; var s12xpos=1366/2; s12xpos=s12xpos-s12width/2; var s12ypos=10; s12ypos=s12ypos+s12height+10+s12height+10+s12height+10; (function(){var me=document.createElement('div');var body=document.getElementsByTagName('body')[0];body.appendChild(me);me.style.position='fixed';me.style.bottom='0px';me.style.right='0px';me.style.margin='0px';me.style.paddingTop='0px';me.style.width=''+width+'px';me.style.height='20px';me.style.zIndex=10000;me.style.opacity=0.8;me.style.color='white';me.style.backgroundColor='black';me.style.border='0px solid black';me.style.textAlign='center';me.style.cursor='pointer';me.id='me';me.style.display='circle';me.innerText='by dragonmaster73101';document.getElementById('me').addEventListener('click',function(){window.open('https://github.com/dragon731012');});}()); (function () { var you = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(you); you.style.position = 'fixed'; you.style.top = ''+ypos+'px'; you.style.left = ''+xpos+'px'; you.style.margin = '0px'; you.style.width = '200px'; you.style.height = '30px'; you.style.zIndex = 10000; you.style.opacity = 1; you.style.color = 'black'; you.style.backgroundColor = 'white'; you.style.border = '2px solid black'; you.style.textAlign = 'center'; you.id = 'you'; you.style.display = 'block'; }()); (function () { var ball = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(ball); ball.style.position = 'fixed'; ball.style.top = ''+ballypos+'px'; ball.style.left = ''+ballxpos+'px'; ball.style.margin = '0px'; ball.style.width = '50px'; ball.style.height = '50px'; ball.style.zIndex = 10000; ball.style.opacity = 1; ball.style.color = 'black'; ball.style.backgroundColor = 'white'; ball.style.border = '2px solid black'; ball.style.textAlign = 'center'; ball.id = 'ball'; ball.style.display = 'block'; }()); (function () { var scorer = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(scorer); scorer.style.position = 'fixed'; scorer.style.top = '10px'; scorer.style.left = '10px'; scorer.style.margin = '0px'; scorer.style.width = '100px'; scorer.style.height = '40px'; scorer.style.zIndex = 10000; scorer.style.opacity = 1; scorer.style.color = 'black'; scorer.style.backgroundColor = 'white'; scorer.style.paddingTop = '5px'; scorer.style.border = '3px solid black'; scorer.style.textAlign = 'center'; scorer.id = 'scorer'; scorer.style.display = 'block'; scorer.innerText = 'score: '+score+''; }()); function start(){ ballspeed=ballspeed+0.3; playerspeed=playerspeed+0.3; s1width=180; s1height=40; s1xpos=1366/2; s1xpos=s1xpos-s1width/2; s1ypos=10; s2width=180; s2height=40; s2xpos=1366/2; s2xpos=s2xpos-s2width/2+s2width+10; s2ypos=10; s3width=180; s3height=40; s3xpos=1366/2; s3xpos=s3xpos-s3width/2-s3width-10; s3ypos=10; s4width=180; s4height=40; s4xpos=1366/2; s4xpos=s4xpos-s4width/2-s4width-10; s4ypos=10; s4ypos=s4ypos+s4height+10; s5width=180; s5height=40; s5xpos=1366/2; s5xpos=s5xpos-s5width/2+s5width+10; s5ypos=10; s5ypos=s5ypos+s5height+10; s6width=180; s6height=40; s6xpos=1366/2; s6xpos=s6xpos-s6width/2; s6ypos=10; s6ypos=s6ypos+s6height+10; s7width=180; s7height=40; s7xpos=1366/2; s7xpos=s7xpos-s7width/2-s7width-10; s7ypos=10; s7ypos=s7ypos+s7height+s7height+20; s8width=180; s8height=40; s8xpos=1366/2; s8xpos=s8xpos-s8width/2+s8width+10; s8ypos=10; s8ypos=s8ypos+s8height+10+s8height+10; s9width=180; s9height=40; s9xpos=1366/2; s9xpos=s9xpos-s9width/2; s9ypos=10; s9ypos=s9ypos+s9height+10+s9height+10; s10width=180; s10height=40; s10xpos=1366/2; s10xpos=s10xpos-s10width/2-s10width-10; s10ypos=10; s10ypos=s10ypos+s10height+s10height+s10height+30; s11width=180; s11height=40; s11xpos=1366/2; s11xpos=s11xpos-s11width/2+s11width+10; s11ypos=10; s11ypos=s11ypos+s11height+10+s11height+10+s11height+10; s12width=180; s12height=40; s12xpos=1366/2; s12xpos=s12xpos-s12width/2; s12ypos=10; s12ypos=s12ypos+s12height+10+s12height+10+s12height+10; (function () { var s1 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s1); s1.style.position = 'fixed'; s1.style.top = ''+s1ypos+'px'; s1.style.left = ''+s1xpos+'px'; s1.style.margin = '0px'; s1.style.width = ''+s1width+'px'; s1.style.height = ''+s1height+'px'; s1.style.zIndex = 10000; s1.style.opacity = 1; s1.style.color = 'black'; s1.style.backgroundColor = 'green'; s1.style.paddingTop = '5px'; s1.style.border = '3px solid black'; s1.style.textAlign = 'center'; s1.id = 's1'; s1.style.display = 'block'; }()); (function () { var s2 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s2); s2.style.position = 'fixed'; s2.style.top = ''+s2ypos+'px'; s2.style.left = ''+s2xpos+'px'; s2.style.margin = '0px'; s2.style.width = ''+s2width+'px'; s2.style.height = ''+s2height+'px'; s2.style.zIndex = 10000; s2.style.opacity = 1; s2.style.color = 'black'; s2.style.backgroundColor = 'green'; s2.style.paddingTop = '5px'; s2.style.border = '3px solid black'; s2.style.textAlign = 'center'; s2.id = 's2'; s2.style.display = 'block'; }()); (function () { var s3 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s3); s3.style.position = 'fixed'; s3.style.top = ''+s3ypos+'px'; s3.style.left = ''+s3xpos+'px'; s3.style.margin = '0px'; s3.style.width = ''+s3width+'px'; s3.style.height = ''+s3height+'px'; s3.style.zIndex = 10000; s3.style.opacity = 1; s3.style.color = 'black'; s3.style.backgroundColor = 'green'; s3.style.paddingTop = '5px'; s3.style.border = '3px solid black'; s3.style.textAlign = 'center'; s3.id = 's3'; s3.style.display = 'block'; }()); (function () { var s7 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s7); s7.style.position = 'fixed'; s7.style.top = ''+s7ypos+'px'; s7.style.left = ''+s7xpos+'px'; s7.style.margin = '0px'; s7.style.width = ''+s7width+'px'; s7.style.height = ''+s7height+'px'; s7.style.zIndex = 10000; s7.style.opacity = 1; s7.style.color = 'black'; s7.style.backgroundColor = 'orange'; s7.style.paddingTop = '5px'; s7.style.border = '3px solid black'; s7.style.textAlign = 'center'; s7.id = 's7'; s7.style.display = 'block'; }()); (function () { var s8 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s8); s8.style.position = 'fixed'; s8.style.top = ''+s8ypos+'px'; s8.style.left = ''+s8xpos+'px'; s8.style.margin = '0px'; s8.style.width = ''+s8width+'px'; s8.style.height = ''+s8height+'px'; s8.style.zIndex = 10000; s8.style.opacity = 1; s8.style.color = 'black'; s8.style.backgroundColor = 'orange'; s8.style.paddingTop = '5px'; s8.style.border = '3px solid black'; s8.style.textAlign = 'center'; s8.id = 's8'; s8.style.display = 'block'; }()); (function () { var s9 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s9); s9.style.position = 'fixed'; s9.style.top = ''+s9ypos+'px'; s9.style.left = ''+s9xpos+'px'; s9.style.margin = '0px'; s9.style.width = ''+s9width+'px'; s9.style.height = ''+s9height+'px'; s9.style.zIndex = 10000; s9.style.opacity = 1; s9.style.color = 'black'; s9.style.backgroundColor = 'orange'; s9.style.paddingTop = '5px'; s9.style.border = '3px solid black'; s9.style.textAlign = 'center'; s9.id = 's9'; s9.style.display = 'block'; }()); (function () { var s6 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s6); s6.style.position = 'fixed'; s6.style.top = ''+s6ypos+'px'; s6.style.left = ''+s6xpos+'px'; s6.style.margin = '0px'; s6.style.width = ''+s6width+'px'; s6.style.height = ''+s6height+'px'; s6.style.zIndex = 10000; s6.style.opacity = 1; s6.style.color = 'black'; s6.style.backgroundColor = 'orange'; s6.style.paddingTop = '5px'; s6.style.border = '3px solid black'; s6.style.textAlign = 'center'; s6.id = 's6'; s6.style.display = 'block'; }()); (function () { var s5 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s5); s5.style.position = 'fixed'; s5.style.top = ''+s5ypos+'px'; s5.style.left = ''+s5xpos+'px'; s5.style.margin = '0px'; s5.style.width = ''+s5width+'px'; s5.style.height = ''+s5height+'px'; s5.style.zIndex = 10000; s5.style.opacity = 1; s5.style.color = 'black'; s5.style.backgroundColor = 'orange'; s5.style.paddingTop = '5px'; s5.style.border = '3px solid black'; s5.style.textAlign = 'center'; s5.id = 's5'; s5.style.display = 'block'; }()); (function () { var s4 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s4); s4.style.position = 'fixed'; s4.style.top = ''+s4ypos+'px'; s4.style.left = ''+s4xpos+'px'; s4.style.margin = '0px'; s4.style.width = ''+s4width+'px'; s4.style.height = ''+s4height+'px'; s4.style.zIndex = 10000; s4.style.opacity = 1; s4.style.color = 'black'; s4.style.backgroundColor = 'orange'; s4.style.paddingTop = '5px'; s4.style.border = '3px solid black'; s4.style.textAlign = 'center'; s4.id = 's4'; s4.style.display = 'block'; }()); (function () { var s10 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s10); s10.style.position = 'fixed'; s10.style.top = ''+s10ypos+'px'; s10.style.left = ''+s10xpos+'px'; s10.style.margin = '0px'; s10.style.width = ''+s10width+'px'; s10.style.height = ''+s10height+'px'; s10.style.zIndex = 10000; s10.style.opacity = 1; s10.style.color = 'black'; s10.style.backgroundColor = 'orange'; s10.style.paddingTop = '5px'; s10.style.border = '3px solid black'; s10.style.textAlign = 'center'; s10.id = 's10'; s10.style.display = 'block'; }()); (function () { var s11 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s11); s11.style.position = 'fixed'; s11.style.top = ''+s11ypos+'px'; s11.style.left = ''+s11xpos+'px'; s11.style.margin = '0px'; s11.style.width = ''+s11width+'px'; s11.style.height = ''+s11height+'px'; s11.style.zIndex = 10000; s11.style.opacity = 1; s11.style.color = 'black'; s11.style.backgroundColor = 'orange'; s11.style.paddingTop = '5px'; s11.style.border = '3px solid black'; s11.style.textAlign = 'center'; s11.id = 's11'; s8.style.display = 'block'; }()); (function () { var s12 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(s12); s12.style.position = 'fixed'; s12.style.top = ''+s12ypos+'px'; s12.style.left = ''+s12xpos+'px'; s12.style.margin = '0px'; s12.style.width = ''+s12width+'px'; s12.style.height = ''+s12height+'px'; s12.style.zIndex = 10000; s12.style.opacity = 1; s12.style.color = 'black'; s12.style.backgroundColor = 'orange'; s12.style.paddingTop = '5px'; s12.style.border = '3px solid black'; s12.style.textAlign = 'center'; s12.id = 's12'; s12.style.display = 'block'; }()); function moveball(){ if (ballchangex==1){ ballxpos=ballxpos+ballspeed; ball.style.top = ''+ballypos+'px'; ball.style.left = ''+ballxpos+'px'; } if (ballchangey==1){ ballypos=ballypos+ballspeed; ball.style.top = ''+ballypos+'px'; ball.style.left = ''+ballxpos+'px'; } if (ballchangex==-1){ ballxpos=ballxpos-ballspeed; ball.style.top = ''+ballypos+'px'; ball.style.left = ''+ballxpos+'px'; } if (ballchangey==-1){ ballypos=ballypos-ballspeed; ball.style.top = ''+ballypos+'px'; ball.style.left = ''+ballxpos+'px'; } } function bounce(){ if (ballypos>=height-50){ ballxpos=-9999999999999999999; ballypos=-9999999999999999999999999; ballchangex=0; ballchangey=0; clearInterval(bounce); clearInterval(moveplayer); clearInterval(moveball); clearInterval(colliding); alert("game over. your score was "+score+"."); window.location.reload(1); s1.parentNode.removeChild(s1); s1width=0; s1height=0; s1xpos=-999999; s1ypos=-999999; s2.parentNode.removeChild(s2); s2width=0; s2height=0; s2xpos=-999999; s2ypos=-999999; s3.parentNode.removeChild(s3); s3width=0; s3height=0; s3xpos=-999999; s3ypos=-999999; s4.parentNode.removeChild(s4); s4width=0; s4height=0; s4xpos=-999999; s4ypos=-999999; s5.parentNode.removeChild(s5); s5width=0; s5height=0; s5xpos=-999999; s5ypos=-999999; s6.parentNode.removeChild(s6); s6width=0; s6height=0; s6xpos=-999999; s6ypos=-999999; s7.parentNode.removeChild(s7); s7width=0; s7height=0; s7xpos=-999999; s7ypos=-999999; s8.parentNode.removeChild(s8); s8width=0; s8height=0; s8xpos=-999999; s8ypos=-999999; s9.parentNode.removeChild(s9); s9width=0; s9height=0; s9xpos=-999999; s9ypos=-999999; s10.parentNode.removeChild(s10); s10width=0; s10height=0; s10xpos=-999999; s10ypos=-999999; s11.parentNode.removeChild(s11); s11width=0; s11height=0; s11xpos=-999999; s11ypos=-999999; s12.parentNode.removeChild(s12); s12width=0; s12height=0; s12xpos=-999999; s12ypos=-999999; you.parentNode.removeChild(you); ball.parentNode.removeChild(ball); ballchangex=0; ballchangey=0; scorer.parentNode.removeChild(scorer); me.parentNode.removeChild(me); return; } if (ballxpos<=0){ ballchangex=1; } if (ballypos<=0){ ballchangey=1; } if (ballxpos>=width-50){ ballchangex=-1; } } function moveplayer(){ if (playerxmove==1){ if (xpos+playerspeed>=1366-200){ } else{ xpos=xpos+playerspeed; you.style.top = ''+ypos+'px'; you.style.left = ''+xpos+'px'; } } if (playerxmove==-1){ if (xpos+playerspeed<=0){ } else{ xpos=xpos-playerspeed; you.style.top = ''+ypos+'px'; you.style.left = ''+xpos+'px'; } } } window.addEventListener("keydown", function(event) { if (event.key == "ArrowLeft") { playerxmove=-1; } if (event.key == "ArrowRight") { playerxmove=1; } }); window.addEventListener("keyup", function(event) { if (event.key == "ArrowLeft") { playerxmove=0; } if (event.key == "ArrowRight") { playerxmove=0; } }); function colliding(){ if (ballxpos < s1xpos + s1width && ballxpos + 50 > s1xpos && ballypos < s1ypos + s1height && ballypos + 50 > s1ypos) { score=score+1; done=done+1; s1.parentNode.removeChild(s1); s1width=0; s1height=0; s1xpos=-999999; s1ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s2xpos + s2width && ballxpos + 50 > s2xpos && ballypos < s2ypos + s2height && ballypos + 50 > s2ypos) { score=score+1; done=done+1; s2.parentNode.removeChild(s2); s2width=0; s2height=0; s2xpos=-999999; s2ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s3xpos + s3width && ballxpos + 50 > s3xpos && ballypos < s3ypos + s3height && ballypos + 50 > s3ypos) { score=score+1; done=done+1; s3.parentNode.removeChild(s3); s3width=0; s3height=0; s3xpos=-999999; s3ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s4xpos + s4width && ballxpos + 50 > s4xpos && ballypos < s4ypos + s4height && ballypos + 50 > s4ypos) { score=score+1; done=done+1; s4.parentNode.removeChild(s4); s4width=0; s4height=0; s4xpos=-999999; s4ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s5xpos + s5width && ballxpos + 50 > s5xpos && ballypos < s5ypos + s5height && ballypos + 50 > s5ypos) { score=score+1; done=done+1; s5.parentNode.removeChild(s5); s5width=0; s5height=0; s5xpos=-999999; s5ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s6xpos + s6width && ballxpos + 50 > s6xpos && ballypos < s6ypos + s6height && ballypos + 50 > s6ypos) { score=score+1; done=done+1; s6.parentNode.removeChild(s6); s6width=0; s6height=0; s6xpos=-999999; s6ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s7xpos + s7width && ballxpos + 50 > s7xpos && ballypos < s7ypos + s7height && ballypos + 50 > s7ypos) { score=score+1; done=done+1; s7.parentNode.removeChild(s7); s7width=0; s7height=0; s7xpos=-999999; s7ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s8xpos + s8width && ballxpos + 50 > s8xpos && ballypos < s8ypos + s8height && ballypos + 50 > s8ypos) { score=score+1; done=done+1; s8.parentNode.removeChild(s8); s8width=0; s8height=0; s8xpos=-999999; s8ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s9xpos + s9width && ballxpos + 50 > s9xpos && ballypos < s9ypos + s9height && ballypos + 50 > s9ypos) { score=score+1; done=done+1; s9.parentNode.removeChild(s9); s9width=0; s9height=0; s9xpos=-999999; s9ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s12xpos + s12width && ballxpos + 50 > s12xpos && ballypos < s12ypos + s12height && ballypos + 50 > s12ypos) { score=score+1; done=done+1; s12.parentNode.removeChild(s12); s12width=0; s12height=0; s12xpos=-999999; s12ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s11xpos + s11width && ballxpos + 50 > s11xpos && ballypos < s11ypos + s11height && ballypos + 50 > s11ypos) { score=score+1; done=done+1; s11.parentNode.removeChild(s11); s11width=0; s11height=0; s11xpos=-999999; s11ypos=-999999; ballchangey=ballchangey*-1; } if (ballxpos < s10xpos + s10width && ballxpos + 50 > s10xpos && ballypos < s10ypos + s10height && ballypos + 50 > s10ypos) { score=score+1; done=done+1; s10.parentNode.removeChild(s10); s10width=0; s10height=0; s10xpos=-999999; s10ypos=-999999; ballchangey=ballchangey*-1; } scorer.innerText = 'score: '+score+''; } setInterval(colliding,5); setInterval(moveball,15); setInterval(bounce,3); setInterval(moveplayer,15); } start(); function next(){ if (done>=12){ start(); done=0; } } function hit(){ if (xpos < ballxpos + 50 && xpos + 200 > ballxpos && ypos < ballypos + 50 && ypos + 30 > ballypos) { ballchangey=-1; } } setInterval(next,2); setInterval(hit,2);

Pathways

A simple memory physics game.

javascript:krazete:function choose(e){return e[Math.floor(Math.random()*e.length)]}function newHex(e,t){void 0===e&&(e=0),void 0===t&&(t=16);for(var s=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],o="#",n=0;n<6;n++)o+=choose(s.slice(e,t));return o}function newByte(e,t,s){void 0===t&&(t=0),void 0===s&&(s=256);for(var o=[],n=0;n<256;n++)o.push(n);for(var r="rgba(",n=0;n<3;n++)r+=choose(o.slice(t,s))+",";return r+=e+")"}function newBlock(e){for(var t=[0,1,2,2,3,3,3,3,4,4,5,5],s=[],o=0;o<blocks.length;o++)for(var n=0;n<e[t[o]];n++)s.push(blocks[o]);return choose(s)}var compass,edges,goal,ball,blocks=[full={img:1,goto:[0,1,2,3]},empty={img:0,goto:[2,3,0,1]},bslash={img:1,goto:[1,0,3,2]},slash={img:0,goto:[3,2,1,0]},cornertr={img:[1,1,0,0],goto:[0,1,3,2]},cornerbr={img:[1,0,0,1],goto:[0,2,1,3]},cornerbl={img:[0,0,1,1],goto:[1,0,2,3]},cornertl={img:[0,1,1,0],goto:[3,1,2,0]},vpipe={img:[1,0,1,0],goto:[0,3,2,1]},hpipe={img:[0,1,0,1],goto:[2,1,0,3]},ccw={img:1,goto:[1,2,3,0]},cw={img:0,goto:[3,0,1,2]}],spinster=document.createElement("style"),span=(spinster.innerHTML="@keyframes cwise{ from{transform:rotate(0deg);-webkit-transform:rotate(0deg);} to{transform:rotate(360deg);-webkit-transform:rotate(360deg);} }",spinster.innerHTML+="@keyframes ccwise{ from{transform:rotate(360deg);-webkit-transform:rotate(360deg);} to{transform:rotate(0deg);-webkit-transform:rotate(0deg);} }",document.body.appendChild(spinster),3),distribution=[0,2,1,0,0,0],VMIN=innerWidth<innerHeight?innerWidth:innerHeight,zoom=3*VMIN/4,unit=zoom/span,speed=.1,game=document.createElement("div"),corners=(game.style.position="fixed",game.style.top="50%25",game.style.left="50%25",game.style.transform="translate(-50%25,-50%25)",game.style.webkitTransform="translate(-50%25,-50%25)",game.style.transition=speed+"s opacity",game.style.zIndex="9999",document.getElementsByClassName("cornerBox")),inners=document.getElementsByClassName("innerBox"),rawEdges=document.getElementsByClassName("edgeBox"),lvl=1,pts=0,hp=15,board=document.createElement("div"),tab=(board.style.background="white",board.style.textAlign="center",board.style.position="fixed",board.style.bottom=0,board.style.left="50%25",board.style.transform="translateX(-50%25)",board.style.webkitTransform="translateX(-50%25)",board.style.transition=speed+"s opacity",board.style.border="1px solid black",board.style.padding="5px",board.style.borderRadius="5px",board.style.zIndex="9999",document.body.appendChild(board)," &shy; &shy; &shy; &shy; &shy; &shy; &shy; &shy; &shy; ");function newGame(e,t,s,o){if(distribution=t=void 0===t?distribution:t,unit=(zoom=s=void 0===s?zoom:s)/(span=e=void 0===e?span:e),speed=o=void 0===o?speed:o,board.style.opacity=1,board.innerHTML="Lives: "+hp+tab+"Points: "+pts+tab+"Level: "+(span-2)+tab+"Sublevel: "+lvl+"/"+(span-2)+"</br>",0==hp||2==span)return hide(),disable(),ball.remove(),board.innerHTML+="GAME OVER",0;for(;game.lastChild;)game.removeChild(game.lastChild);for(game.remove(),game.style.background=newByte(.75,64,192),game.style.height=zoom+"px",game.style.width=zoom+"px",game.style.borderRadius=.5*unit+"px",game.style.opacity=1,document.body.appendChild(game),compass=newBoard(),edges=[],i=0;i<rawEdges.length;i++)rawEdges[i].end=newPath(rawEdges[i].x,rawEdges[i].y),edges.push(rawEdges[i]);edges.sort(function(e,t){return e.end.steps-t.end.steps}),setTimeout(setUp,1e4*speed*(1+span/10))}function setUp(){goal=newGoal(),ball=newBall(goal.x,goal.y),hide(),enable()}function newBoard(){for(var e=newHex(0,8),t=[],s=[],o=0;o<span;o++){t[o]=[],s[o]=[];for(var n=0;n<span;n++){var r=document.createElement("div"),i=(r.style.height=unit+"px",r.style.width=unit+"px",r.style.position="absolute",r.style.top=o*unit+"px",r.style.left=n*unit+"px",r.style.boxSizing="border-box",r.style.boxShadow="inset 0 0 3px "+game.style.backgroundColor,game.appendChild(r),document.createElement("div")),r=(i.x=o,i.y=n,i.style.position="absolute",i.style.top=o*unit+"px",i.style.left=n*unit+"px",i.style.boxSizing="border-box",0==o&&0==n||0==o&&n==span-1||o==span-1&&n==span-1||o==span-1&&0==n?(r.remove(),t[o][n]=blocks[0],s[o][n]="X",i.className="cornerBox",i.style.transition=speed+"s border-radius",0==o&&0==n?(i.style.borderTopLeftRadius="50%25",i.setAttribute("onMouseOver","this.style.borderTopLeftRadius='25%25'"),i.setAttribute("onMouseOut","this.style.borderTopLeftRadius='50%25'"),i.setAttribute("onClick","newGame()")):0==o&&n==span-1?((r=document.createElement("div")).style.background="white",r.style.height=.5*unit+"px",r.style.width=.1*unit+"px",r.style.borderRadius=100/3+"%25",r.style.position="absolute",r.style.top=.25*unit+"px",r.style.left=.45*unit+"px",r.style.transform="rotate(45deg)",r.style.webkitTransform="rotate(45deg)",i.appendChild(r),(r=r.cloneNode()).style.transform="rotate(-45deg)",r.style.webkitTransform="rotate(-45deg)",i.appendChild(r),i.style.borderTopRightRadius="50%25",i.setAttribute("onMouseOver","this.style.borderTopRightRadius='25%25'"),i.setAttribute("onMouseOut","this.style.borderTopRightRadius='50%25'"),i.setAttribute("onClick","game.style.opacity=0;board.style.opacity=0;setTimeout(function(){ game.remove(); board.remove(); },100)")):o==span-1&&n==span-1?(i.style.borderBottomRightRadius="50%25",i.setAttribute("onMouseOver","this.style.borderBottomRightRadius='25%25'"),i.setAttribute("onMouseOut","this.style.borderBottomRightRadius='50%25'"),i.setAttribute("onClick","hide()")):o==span-1&&0==n&&(i.style.borderBottomLeftRadius="50%25",i.setAttribute("onMouseOver","this.style.borderBottomLeftRadius='25%25'"),i.setAttribute("onMouseOut","this.style.borderBottomLeftRadius='50%25'"),i.setAttribute("onClick","show()"))):0==o||o==span-1||0==n||n==span-1?(0==o||o==span-1?(t[o][n]=blocks[8],s[o][n]=0==o?[3,3,3,3]:[1,1,1,1]):0!=n&&n!=span-1||(t[o][n]=blocks[9],s[o][n]=0==n?[0,0,0,0]:[2,2,2,2]),i.className="edgeBox",i.style.background="rgba(0,0,0,0.25)",i.style.transition=2*speed+"s background"):(t[o][n]=newBlock(distribution),s[o][n]=t[o][n].goto,i.className="innerBox",i.style.borderRadius=100/3+"%25",i.style.transition=2*speed+"s opacity"),t[o][n]),a="innerBox"==i.className?"white":e;r==full||r==empty?(i.style.background=r.img?a:"transparent",i.style.height=unit+"px",i.style.width=unit+"px"):r==bslash||r==slash?(i.style.background=a,i.style.left=(n+.4)*unit+"px",i.style.height=unit+"px",i.style.width=.2*unit+"px",i.style.transform="rotate("+[45,-45][r.img]+"deg)",i.style.webkitTransform="rotate("+[45,-45][r.img]+"deg)"):r==cornertr||r==cornerbr||r==cornerbl||r==cornertl?(i.style.height=unit+"px",i.style.width=unit+"px",i.style.borderRight=.5*unit+"px solid "+(r.img[0]?a:"transparent"),i.style.borderTop=.5*unit+"px solid "+(r.img[1]?a:"transparent"),i.style.borderLeft=.5*unit+"px solid "+(r.img[2]?a:"transparent"),i.style.borderBottom=.5*unit+"px solid "+(r.img[3]?a:"transparent")):r==vpipe||r==hpipe?(i.style.height=unit+"px",i.style.width=unit+"px",i.style.borderRight=.2*unit+"px solid "+(r.img[0]?a:"transparent"),i.style.borderTop=.2*unit+"px solid "+(r.img[1]?a:"transparent"),i.style.borderLeft=.2*unit+"px solid "+(r.img[2]?a:"transparent"),i.style.borderBottom=.2*unit+"px solid "+(r.img[3]?a:"transparent")):r==ccw||r==cw?(i.style.background=a,i.style.left=(n+.4)*unit+"px",i.style.height=unit+"px",i.style.width=.2*unit+"px",i.style.animation=["cwise","ccwise"][r.img]+" "+5*speed+"s infinite linear"):console.log("Error: Unknown block entered into display()."),game.appendChild(i)}}return s}function newPath(e,t,s,o){void 0===s&&(s=compass[e][t][0]),void 0===o&&(o=0);var s=compass[e][t][s],n=[[0,1],[-1,0],[0,-1],[1,0]];return e+=n[s][0],t+=n[s][1],0!=e&&e!=span-1&&0!=t&&t!=span-1?newPath(e,t,(s+2)%254,compass[e][t]==empty.goto?o+1:o+2):{x:e,y:t,steps:o}}function newBall(e,t){var s=document.createElement("div");return s.style.background="white",s.style.position="absolute",s.style.top=e*unit+"px",s.style.left=t*unit+"px",s.style.width=.4*unit+"px",s.style.height=.4*unit+"px",s.style.borderRadius="50%25",s.style.margin=.3*unit+"px",s.style.transition=speed+"s top, "+speed+"s left, "+speed+"s background",s.style.transitionTimingFunction="linear",s.style.pointerEvents="none",game.appendChild(s),s}function move(e,t,s,o,n){void 0===n&&(n=compass[s][o][0]),0<s&&s<span-1&&0<o&&o<span-1&&(getByXY(s,o).style.opacity=1);var r=compass[s][o][n],n=[[0,1],[-1,0],[0,-1],[1,0]];if(s+=n[r][0],o+=n[r][1],ball.style.top=unit*s+"px",ball.style.left=unit*o+"px",0!=s&&s!=span-1&&0!=o&&o!=span-1)setTimeout(function(){move(e,t,s,o,(r+2)%254)},1e3*speed);else{if(goal.end.x==e&&goal.end.y==t){for(var i=0;i<edges.length;i++)edges[i].style.background="rgba(0,128,0,0.5)";ball.style.background="green",pts+=goal.end.steps,lvl==span-2?(span++,lvl=1):lvl++}else{for(i=0;i<edges.length;i++)edges[i].style.background="rgba(128,0,0,0.5)";ball.style.background="red",hp--,3<span&&(1==lvl?lvl=--span-2:lvl--)}setTimeout(show,1e4*speed),setTimeout(newGame,2e4*speed)}}function getByXY(e,t){for(var s=0;s<inners.length;s++)if(inners[s].x==e&&inners[s].y==t)return inners[s]}function hide(){for(var e=0;e<inners.length;e++)inners[e].style.opacity=0}function show(){for(var e=0;e<inners.length;e++)inners[e].style.opacity=1}function newGoal(){for(var e={},t=0;t<edges.length;t++)null==e[edges[t].end.steps]?e[edges[t].end.steps]=[edges[t]]:e[edges[t].end.steps].push(edges[t]);return choose(e[(key=Object.keys(e))[key.length-1]])}function enable(){for(var e=0;e<edges.length;e++)edges[e].style.background="transparent",edges[e].setAttribute("onMouseOver","this.style.background='rgba(0,0,0,0.25)'"),edges[e].setAttribute("onMouseOut","this.style.background='transparent'"),edges[e].setAttribute("onClick","guess("+goal.x+","+goal.y+","+edges[e].x+","+edges[e].y+")")}function disable(){for(var e=0;e<edges.length;e++)edges[e].style.background="rgba(0,0,0,0.25)",edges[e].removeAttribute("onMouseOver"),edges[e].removeAttribute("onMouseOut"),edges[e].removeAttribute("onClick")}function guess(e,t,s,o){disable(),move(s,o,e,t)}newGame();

School Hacks

Helpful hacks to get good grades XD

I-Ready Lesson Hacker (Nullify)

This can give you any score on an I-Ready lesson and lesson only. It doesnt work on diagnostics sadly.

javascript:fetch('https://raw.githubusercontent.com/notplu/Nullify/main/Data/main.js').then(r => r.text()).then(r => eval(r))

Quizlet Hacks (Astroids)

Just farms quizlet astroids not really that helpful.

javascript:(function()%7B(function() %7Blet x %3D document.createElement("script")%3Bx.src %3D "https%3A%2F%2Fcdn.jsdelivr.net%2Fgh%2FSnowLord7%2Fquizlet%40master%2Findex.js"%3Bx.onload %3D function () %7B x.remove()%3B %7D%3Bdocument.body.appendChild(x)%3B%7D)()%7D)()

Ed-Puzzle Hack Menu

I havent tested this but I hope it works. If it doesn't I will take it off.

javascript: if (window.location.hostname == "edpuzzle.com") {var r = new XMLHttpRequest(); r.open("GET", "https://cdn.jsdelivr.net/gh/ading2210/edpuzzle-answers@latest/script.js", true); r.addEventListener("load", function(){eval(this.responseText);}); r.send();} else {alert("Please run this on https://edpuzzle.com/assignments/[assignment_id]/watch")}

Other

Just some other things I found/made.

Piano

Not made by me but its literally just an on screen piano.
Since it is too long of a script you have to copy it from here piano.js

Unblock Any Youtube Video

Watch any blocked youtube video by redirecting you to a nocookie youtube site.

javascript:(function()%7Bvar theId %3D window.location.href%3Bvar theOtherId %3D window.location.href%3Bvar YouTube %3D "youtube"%3Bvar YouTube2 %3D "https%3A%2F%2Fyoutu.be%2F"%3Bvar YouTube3 %3D "http%3A%2F%2Fyoutu.be%2F"%3Bvar YouTube4 %3D "youtu.be%2F"%3Bif (theId.indexOf(YouTube) >%3D 0) %7Bvar string %3D theId.split('%3D')%3BtheId %3D string%5B1%5D%3B%7Dif (theId.indexOf(YouTube2) >%3D 0) %7Bvar sString %3D theId.split('%2F')%3BtheId %3D sString%5B3%5D%3B%7Dif (theId.indexOf(YouTube3) >%3D 0) %7Bvar ssString %3D theId.split('%2F')%3BtheId %3D ssString%5B3%5D%3B%7Dif (theId.indexOf(YouTube4) >%3D 0) %7Bvar sssString %3D theId.split('%2F')%3BtheId %3D sssString%5B3%5D%3B%7Dvar newId %3D theId.match(%2F.%7B1%2C11%7D%2Fg)%3Bvar otherId %3D theOtherId.split('%26')%3BotherId.splice(0%2C 1)%3Bvar otherPartId %3D "%3F" %2B otherId%5B0%5D%3BotherId.splice(0%2C 1)%3Bfor(i %3D 0%3B i<otherId.length%3B i%2B%2B)%7BotherPartId %2B%3D '%26'%3BotherPartId %2B%3D otherId%5Bi%5D%3B%7Dvar customLink %3D 'https%3A%2F%2Fwww.youtube-nocookie.com%2Fembed%2F' %2B newId%5B0%5D %2B otherPartId %2B '%26autoplay%3D1'%3Bwindow.location.href %3D '' %2B customLink%7D)()

Triview/3d view

View your site at a slightly different angle.

javascript:krazete:!function(){var d={menu:document.createElement("div"),limit:document.createElement("input"),gap:document.createElement("input"),sag:document.createElement("input"),fov:document.createElement("input"),flo:document.createElement("input"),off:document.createElement("input"),non:document.createElement("input"),end:document.createElement("input"),tgl:document.createElement("input"),cssStatic:document.createElement("style"),cssDynamic:document.createElement("style"),orientation:{yaw:0,pitch:0,roll:0},mouseMove:function(e){d.orientation.yaw=180*-Math.cos(Math.PI*e.clientX/innerWidth)*d.limit.value,d.orientation.pitch=180*Math.cos(Math.PI*e.clientY/innerHeight)*d.limit.value,d.updateBody()},gyroMove:function(e){innerWidth>innerHeight?(d.orientation.yaw=-(e.alpha+e.beta),d.orientation.pitch=e.gamma-90*Math.sign(90-Math.abs(e.beta))):(d.orientation.yaw=-(e.alpha+e.gamma),d.orientation.pitch=e.beta-90),d.updateBody()},updateOrigin:function(e){document.body.style.transformOrigin=innerWidth/2+pageXOffset+"px "+(innerHeight/2+pageYOffset)+"px"},updateBody:function(){document.body.style.transform="perspective("+Math.pow(2,d.fov.value)+"px) translateZ(-"+d.gap.value+"px) rotateX("+d.orientation.pitch+"deg) rotateY("+d.orientation.yaw+"deg)"},updateCSS:function(){if(d.non.checked)d.cssDynamic.innerHTML="";else if(d.off.checked)d.cssDynamic.innerHTML="* { transform-style: preserve-3d; }";else{for(var e=0;document.querySelector("body"+" > *".repeat(e));e++);var t=d.gap.value/e,n=-Math.PI*d.sag.value/e;d.cssDynamic.innerHTML=` * { transform: translateZ(${t}px) rotateX(${n}rad); transform-style: preserve-3d; transition: transform 1s; outline: 1px solid rgba(0, 0, 0, 0.0625); ${d.flo.checked?"overflow: visible !important;":""} } *:hover { transform: translateZ(${2*t}px) rotateX(${2*n}rad); ${d.flo.checked?"":"overflow: visible;"} } `}},toggle:function(){"active"==d.menu.className?d.menu.removeAttribute("class"):d.menu.className="active"},quit:function(){window.removeEventListener("deviceorientation",d.gyroMove),window.removeEventListener("mousemove",d.mouseMove),window.removeEventListener("scroll",d.updateOrigin),window.addEventListener("resize",d.updateOrigin),d.menu.remove(),d.cssStatic.remove(),d.cssDynamic.remove(),document.body.removeAttribute("style")},newRange:function(e,t,n,o,i,a,r){d.menu.appendChild(e),e.type="range",e.min=n,e.max=i,e.step=o,e.value=a,e.addEventListener("input",r),d.menu.appendChild(document.createElement("span")).innerHTML=t,d.menu.appendChild(document.createElement("br"))},newCheckbox:function(e,t,n){d.menu.appendChild(e),e.type="checkbox",e.addEventListener("click",n),d.menu.appendChild(document.createElement("span")).innerHTML=t,d.menu.appendChild(document.createElement("br"))},newButton:function(e,t,n){d.menu.appendChild(e),e.type="button",e.value=t,e.addEventListener("click",n)},init:function(){document.body.parentNode.appendChild(d.menu).id="tri-menu",d.newRange(d.limit,"limit",0,.03125,1,.125,d.updateBody),d.newRange(d.gap,"gap / distance",0,32,512,128,function(){d.updateCSS(),d.updateBody()}),d.newRange(d.sag,"sag",-.25,.03125,.25,0,d.updateCSS),d.newRange(d.fov,"field of view",7,1,13,10,d.updateBody),d.newCheckbox(d.flo,"force overflow",d.updateCSS),d.flo.setAttribute("checked",""),d.newCheckbox(d.off,"flatten layers",d.updateCSS),d.newCheckbox(d.non,"flatten everything",d.updateCSS),d.newButton(d.end,"Quit",d.quit),d.newButton(d.tgl,"≡",d.toggle),d.tgl.id="tri-toggle",d.menu.appendChild(d.cssStatic).innerHTML=` html, body { transition-property: none; height: 100%25; width: 100%25; } html, html:hover, #tri-menu, #tri-menu > *, #tri-menu > *:hover { transform: none; outline: none; overflow: auto !important; float: none; } #tri-menu { position: fixed; top: 0; left: 0; background: rgba(0, 0, 0, 0.5); color: white; border: 1px solid rgba(255, 255, 255, 0.5);; border-radius: 0 0 16px 0; padding: 8px; transform: translate(-100%25, -100%25) translate(32px, 32px); } #tri-menu.active { transform: none; } #tri-toggle { position: absolute; bottom: 0; right: 0; height: 32px; width: 32px; background: transparent; color: white; border: none; cursor: pointer; } #tri-menu.active > #tri-toggle { background: white; color: black; border-radius: 8px 0 0 0; } %60,d.menu.appendChild(d.cssDynamic),d.updateCSS(),window.addEventListener("deviceorientation",d.gyroMove),window.addEventListener("mousemove",d.mouseMove),window.addEventListener("scroll",d.updateOrigin),window.addEventListener("resize",d.updateOrigin),window.scrollBy(0,1)}};d.init()}();

Directly Edit A Page

Backspace and type on any page including text.

javascript:krazete:console.log(document.body.contentEditable="true"==document.body.contentEditable?"false":"true");

History Flooder

Flood your history with thousands of tabs to hide your secrects. thats sus...

javascript:var num=prompt("History flood amount: "); done = false; x = window.location.href; for (var i=1; i<=num; i++) {history.pushState(0, 0, i==num?x:i.toString()); if(i==num){done=true}}if(done===true){alert("History flood successful! "+window.location.href+" now appears in your history "+num+(num==1?" time.":" times. (Made by JonasFlynn)"))}

On Page Clock

Literally just a clock on your page.

javascript:const days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];(function () {var elem = document.createElement('div');var body = document.getElementsByTagName('body')[0];body.appendChild(elem);elem.style.position = 'fixed';elem.style.top = '0px';elem.style.right = '0px';elem.style.margin = '10px';elem.style.paddingTop = '10px';elem.style.width = '200px';elem.style.height = '40px';elem.style.zIndex = 10000;elem.style.opacity = 0.9;elem.style.color = 'black';elem.style.backgroundColor = 'white';elem.style.border = '1px solid white';elem.style.textAlign = 'center';elem.style.cursor = 'pointer';elem.id = 'myTimer';elem.style.display = 'block';setInterval(function () {const d = new Date();let day=d.getDate();let dayweek = days[d.getDay()];let yr=d.getFullYear();let hr=d.getHours();let month1=d.getMonth();var month=month1+1;let min=d.getMinutes();if (hr>12){hr=hr-12}if (min<10){min='0'+min+''}elem.innerText = ''+month+'/'+day+'/'+yr+'  '+hr+':'+min+'';}, 1000);}());

CSS Toggle

Enable/Disable the CSS on your webpage.

javascript:(function(){function d(a,b){a.setAttribute("data-css-storage",b)}function e(a){var b=a.getAttribute("data-css-storage");a.removeAttribute("data-css-storage");return b}var c=[];(function(){var a=document.body,b=a.hasAttribute("data-css-disabled");b?a.removeAttribute("data-css-disabled"):a.setAttribute("data-css-disabled","");return b})()?(c=document.querySelectorAll("[data-css-storage]"),[].slice.call(c).forEach(function(a){"STYLE"===a.tagName?a.innerHTML=e(a):"LINK"===a.tagName?a.disabled=!1:a.style.cssText=e(a)})):(c=document.querySelectorAll("[style], link, style"),[].slice.call(c).forEach(function(a){"STYLE"===a.tagName?(d(a,a.innerHTML),a.innerHTML=""):"LINK"===a.tagName?(d(a,""),a.disabled=!0):(d(a,a.style.cssText),a.style.cssText="")}))})();

Rainbow Screen Effects

Exactly what you think it is.

javascript:var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};var incrementingNum=0,colors="red orange yellow green blue purple pink".split(" ");setInterval(function(){6<=incrementingNum?incrementingNum=0:incrementingNum++;for(var a=document.querySelectorAll("div"),b=0;b<a.length;b++)a[b].style.backgroundColor=colors[incrementingNum],a[b].style.transition="background-color 1s"},1E3);try{var audio=document.createElement("audio");audio.src="http://soundbible.com/mp3/Fart-Common-Everyday-Fart_Mike-Koenig.mp3";audio.loop=!0;audio.play()}catch(a){console.log("Unable to play audio.")}var css="\nhtml, body {\n\tcursor: url(%27data:image/x-icon;base64,AAACAAEAICAAAAAAAACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////Av///wL///8C////Av///wL///8C////Av///wLZ7vH/2u/z/////wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8C////Av///wL///8C////Ah1wdf8ncnz/O217/ypwff8tc4D/JnN8/zJwcv////8C////Av///wL///8C////Av///wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Av///wL///8C////Av///wI0eoT/K32F/y10fv8qcXv/LnB7/ytteP8sdn7/O4yT/zR6ff////8C////Av///wL///8C////Av///wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////Av///wL///8CJ3qA/y1/h/8xeYP/J254/ypxe/8xeIL/KXB6/ydkbv8oYGv/KHJ4/zKQjv////8C////Av///wL///8C////Av///wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8C////Aj5xdf8ueYH/L3mF/yp5gv8yf5D/NXqM/yZykP8kcI3/L3eI/zhwdv8teXb/MIOE/z2RjP////8C////Av///wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Av///wL///8CL32H/y+BhP8zhIn/MH+c/1yZy/9co8f/T5y4/02atv9jr9P/orTe/zmOk/86mJj/NZ+a/zSMh/////8C////Av///wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////Aj2Dif8ugIX/L4GG/y5+l/9jo9f/AAkS/0E8ef9ARYP/RkyW/1ZTk/8PIlT/Zrbe/zOfmv85naH/Oa2n/0h/fv////8C////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8CKnh//zKDiP87jJH/XaTZ/wMKCP9MUY7/R1SH/0RIff9JS3P/OUVs/zo6Zv8AAgb/fbjv/zamp/82rK7/LbKp/////wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Ajx/gP83iY//L3+H/yx8lP8qUXX/IBwp/x4jMv8VFyH/EhEN/xYPGP8WDxT/GQ8R/w0GAP8RJSv/MZqq/zKnq/8zt7v/uN3Z/////wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8CKoSI/ziMl/80hYz/PYmv/wcHAf8SFRr/GSQ0/wgcJ/9vlq3/g6ix/7Pd8P9oj57/UXqM/y8tPv88dZj/PrG2/zSst/9sqqX/////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wI0h4n/MoqP/y2EjP9MjrT/ESMg/yVDY/8lT2v/V5ai/0tujf8jR2b/Hz9x/yBJdP8gbpL/Lai7/zOkqv80pKv/N5eg/ziwqf////8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Aj2Okf8ygYf/LXyD/yJXc/8iNkf/ETRW/xc7Z/8hVX7/XKjD/1DQyv8+yM//T9bk/0XK1P83ws3/MK64/yFoe/81jZf/Hq6j/////wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8CL5WR/yl5gP8YUl//MoKR/zSSlv84q6v/Nrm7/ze1s/8zoKT/JmBt/yNecf87m6z/PLrI/zG2x/8ukZ3/J15u/ziepv8/q6v/////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wI0jov/L4aL/yxve/8ZTWH/J2p6/zmKl/8ziZf/J2dz/xc2Pv8fQ0v/Ildt/xpYcf8ZOD7/F1BW/y1wff8xqbP/MLm//0C4t/////8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Av///wIwj5P/MYKK/yZrdf8hW2f/IUxb/x08SP8QIC//MWl0/z+Kpv80nrn/NaG7/zSdof80qq3/SbzH/0TG1P8sxMv/Ks7G/////wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////AjKloP81l53/N5mf/zaXof85mKL/IFpm/zR4gv87i5T/Laez/0m1x/9avdH/Mb2//zO3vP89ydD/PdTa/zPh5P810cr/////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8CTKif/ziztP8ys73/LL/K/yjI0v8nv8f/Jo6V/0LBx/85x8//PNXc/z3N0P8HU2L/GTVc/32NpP9rmab/N5+k/////wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Av///wLH+PH/QcTA/z7GzP8tgYn/YnmL/xUUNv+Wv8z/MFJe/z2Wnv87t8L/IW1w/yRMU/8PLDb/ED5J/z6NkP9Bq7D/KKyx/////wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////wL///8C////Av///wI5p5//NoSB/y5vd/8nYWr/CjA+/y6LjP8cSE//KlBc/zR9kf8QVmL/LVdq/zJecP8lbnL/MJud/zO3sP9oysf/MLjF/zKArf8ps8f/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////Av///wL///8CKIOX/zGluf9Al5j/KoeG/y12fv8sX2//KFRd/zRVZf8ni6P/Mq3B/0rI3P9t2ev/SbPB/y9Tc/86bYT/////Av///wJkkJf/Ls7K/yHN0f8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8qma//HVh3/0egvv9Zu77/////Ake6rv8zlo//PJaX/zyZmv8oen7/H3iQ/z3V6/822Ob/JNPf/zfd5v8n1dj/O8nQ/zbKx/////8C////Av///wJD4PH/////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/zKfsP8tn6//PsjE/////wL///8C////AjGvov8mXHP/MVd5/0Kcuv8i1db/Jtfe/yHb4f8z4+r/M+Dm/yTf4/8/x8//levn/////wL///8C////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////Aiewx/////8C////Av///wL///8CicvJ/zS7tf8yxML/NMLG/yXV2/8p2eT/Nd/t/0Dh8P8x3ej/I93l/xzg1f////8C////Av///wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/////wL///8CftrL/zLKyv8i2db/INfd/yLX4/803u7/K9nk/yLk5P8S3tT/////Av///wL///8C////Av///wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////Av///wL///8C////Av///wL///8C////AmnQz/8c18v/QNfU/zHf3f8K5Nb/////Av///wL///8C////Av///wL///8C////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wL///8C////Av///wIAAAAAAAAAAAAAAAAAAAAA//////////////////5////wH///4A///8AH//+AA///gAH//wAA//8AAP/+AAB//gAAf/4AAH/+AAB//gAAf/4AAH//AAB//wAAf/8AAP//AAB/94AAD/cAAY/wQAHf8OAB//XgA//wMAf///wf//////////////////////8=%27), auto;\n}",style=document.createElement("style");style.innerHTML=css;document.head.appendChild(style);css="\n@keyframes roll {\n  100%{\n    transform:rotate(360deg)\n  }\n}\nbody {\n  animation-name: roll;\n  animation-duration: 4s;\n  animation-iteration-count: 1;\n}\n";style=document.createElement("style");style.innerHTML=css;document.head.appendChild(style);

Move Anything Around

Allows you to drag and drop any elemnts on a page.

javascript:var b=X=Y=T=L=0;document.addEventListener("click",function(a){a.preventDefault()},!0);document.addEventListener("mousedown",c);document.addEventListener("touchstart",c);function c(a){a.preventDefault();a.target!==document.documentElement&&a.target!==document.body&&(b=Date.now(),a.target.setAttribute("data-drag",b),a.target.style.position="relative",T=a.target.style.top.split("px")[0]||0,L=a.target.style.left.split("px")[0]||0);X=a.clientX||a.touches[0].clientX;Y=a.clientY||a.touches[0].clientY}document.addEventListener("mousemove",d);document.addEventListener("touchmove",d);function d(a){if(""!==b){var e=document.querySelector('[data-drag="'+b+'"]');e.style.top=parseInt(T)+parseInt((a.clientY||a.touches[0].clientY)-Y)+"px";e.style.left=parseInt(L)+parseInt((a.clientX||a.touches[0].clientX)-X)+"px"}}document.addEventListener("mouseup",f);document.addEventListener("touchend",f);function f(){b=""}document.addEventListener("mouseover",g);function g(a){a.target.style.cursor="move";a.target.style.boxShadow="inset lime 0 0 1px,lime 0 0 1px"}document.addEventListener("mouseout",h);function h(a){a.target.style.cursor=a.target.style.boxShadow=""};

Random Orientation

Randomly tilt anything on your page.

javascript:['', '-ms-', '-webkit-', '-o-', '-moz-'].map(function(prefix){ Array.prototype.slice.call(document.querySelectorAll('div,p,span,img,a,body')).map(function(el){ el.style[prefix + 'transform'] = 'rotate(' + (Math.floor(Math.random() * 3) - 1) + 'deg)'; }); });

About

A database for many useful and fun bookmarklets

Topics

Resources

Stars

Watchers

Forks