Exploits/Bookmarklets

REFER TO THE HELP SECTION ON BOOKMARKLETS IF YOU HAVE NO IDEA WHAT YOU'RE LOOKING AT❗❗


Entertainment

Alert: Shows a fake alert

javascript:(function(){var walker=document.createTreeWalker(document.documentElement, NodeFilter.SHOW_TEXT, null, false); while (walker.nextNode()){walker.currentNode.nodeValue = "hax";}; alert("Page Haxxed!");}());


Black Hole: Self Explanatory

javascript:(function(){var x = document.getElementsByTagName("*"); for (i = 0; i < x.length; i++) {x[i].style.position = "absolute"; x[i].style.top = "50%"; x[i].style.left = "50%"; x[i].style.transition = "5s"; x[i].style.transform = "translate(-50%, -50%)"}}());


Tornado: Self Explanatory

javascript:(function(){document.documentElement.style.transitionDuration="60s";document.documentElement.style.transitionTimingFunction="ease-in";document.documentElement.style.transform="rotate(360000deg)";}());


No Mouse: Self Explanatory

javascript:(function(){var x = document.getElementsByTagName("*"); for (i = 0; i < x.length; i++) {x[i].style.cursor = "none"};}());


Mirror: Self Explanatory

javascript:(function(){var x = document.getElementsByTagName("body"); x[0].style.transform = "scaleX(-1)";}());


Mouse Loading: Self Explanatory

javascript:(function(){var x = document.body.getElementsByTagName("*"); for (i = 0; i < x.length; i++){x[i].style.cursor = "wait"; x[i].removeAttribute("href");}}());


Play Snake:

Description: This bookmarklet lets you play the classic snake game in your browser!


script: javascript:Q=64;m=b=Q*Q;a=[P=l=u=d=p=S=w=0];u=89;f=(h=j=t=(b+Q)/2)-1;(B=(D=document).body).appendChild(x=D.createElement("p"));(X=x.style).position="fixed";X.left=X.top=0;X.background="#FFF";x.innerHTML="<p></p><canvas>";v=(s=x.childNodes)[0];(s=s[1]).width=s.height=5*Q;c=s.getContext("2d"); onkeydown=onblur=F=function(e,g){g?a[f]?(w+=m,f=Math.random(l+=8)*(R=Q-2)*R|(u=0),F(f+=Q+1+2*(f/R|0),g)):F(f):0>e?(l?--l:(y=t,t=a[t]-2,F(y)),S+=(w*=0.8)/4,m=999/(u++ +10),a[h+=[-1,-Q,1,Q][d=p]]?B.removeChild(x,alert("Game Over")):(F(h),F(e,j=h),v.innerHTML=P?(setTimeout(F,50,e,0),S|0):"Press P")):-e?(y=(a[e]=e<Q|e>=Q*Q-Q|!(e%Q)|e%Q==Q-1|2*(e==h))+(e==f),e==h&&(a[j]=2+h),c.fillStyle="hsl("+99*!a[e]+","+2*m+"%,"+50*y+"%)",c.fillRect(e%Q*5,5*(e/Q|0),5,5)):isNaN(y=e.keyCode-37)|43==y?(P=y&&!P)&&F(-1): p=!P|y&-4|!(y^2^d)?p:y;return!1};for(;--b;F(b));void F(-1);


StopAtNothing:

Description: This is a fun game where you try stopping the stopwatch at 0. Very addicting and fun!


Script: javascript:((function()%7Bvar a,b,c;c="https://www.stopatnothinggame.com",b=document.createElement("iframe"),b.setAttribute("src",c),b.setAttribute("id","rusic-modal"),b.setAttribute("style","position: fixed; z-index: 999999; width: 400px; height: 400px; right: 1000px; top: 10px; border: 5px solid #8834af; overflow: hidden; background-color: #fff;"),a=document.getElementsByTagName("body")%5B0%5D,a.appendChild(b)%7D)).call(this)


Ants:

Description: This bookmarklet spawns ants on your screen and it will eat the letters on your screen!

Note: You must click the shield in your URL bar, and click "load unsafe scripts." in order for this script to work (after you click the bookmarklet the shield will apear)


Script: javascript:document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src','http://www.cs.huji.ac.il/~irush/scripts/antsbml.js');


FontBomb:

Description: Click to place a bomb which will destroy some letters on your screen.

Note: You must click the shield in your URL bar, and click "load unsafe scripts." in order for this script to work (after you click the bookmarklet the shield will apear)


script: javascript:(function () %7Bvar s %3D document.createElement(%27script%27)%3Bs.setAttribute(%27src%27, %27http://fontbomb.ilex.ca/js/main.js%27)%3Bdocument.body.appendChild(s)%3B%7D())%3B


Katamari:

Description: Put 2 fingers on the trackpad to control a ball on your screen. It will destroy all letters in its path!

Note: You must click the shield in your URL bar, and click "load unsafe scripts." in order for this script to work (after you click the bookmarklet the shield will apear)


script: javascript:var i,s,ss=['http://kathack.com/js/kh.js','http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'];for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);


Disorient Everything:

Description: Everything on your screen will rotate, creating a really trippy affect!


script: javascript:(function(){['', '-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)';});});}())


Color Your webpage:

Description: Drag and drop colors from the left toolbar, and color your webpage!


script: javascript:(function(){var el=document.createElement('script');el.type='text/javascript';el.src='https://rawgit.com/ApoorvSaxena/colordrop/master/dist/production.min.js';el.onerror=function(){alert("Looks like the Content Security Policy directive is blocking the use of bookmarklets\n\nYou can copy and paste the content of:\n\n\"https://rawgit.com/ApoorvSaxena/colordrop/master/dist/production.min.js\"\n\ninto your console instead\n\n(link is in console already)");console.log("https://rawgit.com/ApoorvSaxena/colordrop/master/dist/production.min.js");};document.getElementsByTagName('body')[0].appendChild(el);})();


Make your webpage, 3D!


Description: Make your webpage 3D, making the buttons have a cool pop out effect!

script: javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/tri.js"})();


KickA** Asteroids:

Description: Remember the classic Asteroids arcade games? With this javascript, it forms a little space ship that you can control with your arrow keys. Click space to shoot a bullet, destroying words or other elements that get in its way!


Script: javascript:var%20KICKASSVERSION='2.0';var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='//hi.kickassapp.com/kickass.js';void(0);


WebAsteroids:

Description: Pretty much the same thing as KickA** Asteroids, but this one works better, so I recommend it!


Script: javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://www.websiteasteroids.com/asteroids.min.js';void(0);


3D Webpage:

Description: It makes your webpage have a cool 3D effect.


Script: javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/tri.js"})();


ColorfulScreen effect:

Description: This bookmarklet makes everything colorful. Pretty cool effect.


Script: javascript:(function(){var all = document.getElementsByTagName("*"); for (var i=0, max=all.length; i < max; i++) {all[i].style.backgroundColor ='#'+Math.floor(Math.random()*16777215).toString(16);}})()


Pause Your Webpage:

Description: All it does is pause your webpage. It works with everything besides flash games.


Script: javascript:alert('Pause! Click OK to resume (Pause By Creb)');


SpazzyImage:

Description: Makes all of your images on your screen fly around and spaz out!


Script: javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0)


Developer

Inspect Element/Console

Description: Self Explanatory

javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();


Edit your page:

Description: This bookmarklet lets you edit any page you would like!


script: javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0

Utillity

Anti-Redirect

(Bypasses GoGuardian if injected fast enough. Also stops extensions from closing tabs)

javascript:(function () {window.onbeforeunload = function() { return 1; };})()


Dark Mode

javascript:(function(){function invert(o,t){var r=o.split("("),n=r[1].split(")")[0].split(",");return n.forEach(function(o,r){r<3&&(n[r]="color"==t&&255-parseInt(o)<50?120:255-parseInt(o))}),n=n.join(","),r[0]+"("+n+")"}document.querySelectorAll("*:not([invTouch])").forEach(function(o){var t=window.getComputedStyle(o);o.style.backgroundColor=invert(t.backgroundColor,"back"),o.style.color=invert(t.color,"color"),o.setAttribute("invTouch","true")});})();


Google Classroom: Shows an embed of google classroom (made by me)

javascript:((function()%7Bvar a,b,c;c="https://www.classroom.google.com/",b=document.createElement("iframe"),b.setAttribute("src",c),b.setAttribute("id","rusic-modal"),b.setAttribute("style","position: fixed; z-index: 999999; width: 1333px; height: 768px; right: 10px; top: 10px; border: 5px solid #8834af;%20overflow:%20hidden;%20background-color:%20#fff;%22),a=document.getElementsByTagName(%22body%22)%5B0%5D,a.appendChild(b)%7D)).call(this)


Kahoot: Allows you to play kahoot on any webpage

javascript:((function()%7Bvar a,b,c;c="https://kahoot.it/",b=document.createElement("iframe"),b.setAttribute("src",c),b.setAttribute("id","rusic-modal"),b.setAttribute("style","position: fixed; z-index: 999999; width: 1333px; height: 768px; right: 10px; top: 10px; border: 5px solid #8834af; overflow: hidden; background-color: #fff;"),a=document.getElementsByTagName("body")%5B0%5D,a.appendChild(b)%7D)).call(this)


Piano:

Description: Literally just a piano.


Script: javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgita.com/Krazete/bookmarklets/master/piano.js"})();


Stopwatch (made by me)

Description: Just a stopwatch!


script: javascipt:(function(){%09var%20timerInterval%20=%20null;%09var%20iElapsed%20=%200;%09var%20iPrevious%20=%200;%09var%20bg;%09function%20createBG(){%09%09bg%20=%20document.createElement("div");%09%09bg.id%20=%20"crebTimer";%09%09bg.style.width="200px";%09%09bg.style.height="75px";%09%09bg.style.backgroundColor="white";%09%09bg.style.border="solid%203px%20black";%09%09bg.style.position="absolute";%09%09bg.style.left="0px";%09%09bg.style.top="0px";%09%09bg.style.zIndex="500";%09%09bg.style.textAlign="center";%09%09var%20bod%20=%20document.getElementsByTagName("body")[0];%09%09bod.appendChild(bg);%09}%09function%20createForm(){%09%09if(bg){%09%09%09var%20timer_display%20=%20document.createElement("div");%09%09%09timer_display.innerHTML%20=%20"00:00:00";%09%09%09bg.appendChild(timer_display);%09%09%09%09%09%09var%20start_stop%20=%20document.createElement("input");%09%09%09start_stop.type="button";%09%09%09start_stop.value%20=%20"START";%09%09%09document.onkeypress%20=%20function(event){if(event.keyCode==122){start_stop.onclick();}};%09%09%09start_stop.onclick%20=%20function(){%09%09%09%09if(start_stop.value=="START"){%09%09%09%09%09if(timerInterval!=null){%09%09%09%09%09%09alert('not%20null');%09%09%09%09%09%09return;%09%09%09%09%09}%09%09%09%09%09%09%09%09%09%09document.getElementById("clearButton").style.display="none";%09%09%09%09%09start_stop.value="STOP";%09%09%09%09%09%09%09%09%09%09timerInterval%20=%20setInterval(function(){%09%09%09%09%09%09iPrevious%20=%20(iPrevious==0)%20?%20new%20Date().getTime()%20:%20iPrevious;%09%09%09%09%09%09iElapsed%20=%20new%20Date().getTime();%09%09%09%09%09%09var%20curTime%20=%20iElapsed%20-%20iPrevious;%09%09%09%09%09%09var%20minutes%20=%200;%09%09%09%09%09%09var%20seconds%20=%200;%09%09%09%09%09%09var%20millis%20=%20curTime;%09%09%09%09%09%09if(millis%20>%201000){%09%09%09%09%09%09%09seconds%20=%20Math.floor(millis/1000);%09%09%09%09%09%09%09millis%20=%20(millis-(seconds*1000));%09%09%09%09%09%09%09if(seconds%20>=%2060){%09%09%09%09%09%09%09%09minutes%20=%20Math.floor(seconds/60);%09%09%09%09%09%09%09%09seconds%20=%20seconds%20-%20(minutes*60)%09%09%09%09%09%09%09}%09%09%09%09%09%09}%09%09%09%09%09%09if(minutes.toString().length==1){%09%09%09%09%09%09%09minutes%20=%20"0"+minutes.toString();%09%09%09%09%09%09}%09%09%09%09%09%09if(seconds.toString().length==1){%09%09%09%09%09%09%09seconds%20=%20"0"+seconds.toString();%09%09%09%09%09%09}%09%09%09%09%09%09%09%09%09%09%09%09if(millis.toString().length==1){%09%09%09%09%09%09%09millis%20=%20"0"+millis.toString();%09%09%09%09%09%09}%20else%20if(millis.toString().length==3){%09%09%09%09%09%09%09millis%20=%20millis.toString().substr(0,2);%09%09%09%09%09%09}%09%09%09%09%09%09timer_display.innerHTML%20=%20minutes.toString()+":"+seconds.toString()+":"+millis.toString();%09%09%09%09%09},10);%09%09%09%09}else{%09%09%09%09%09start_stop.value="START";%09%09%09%09%09clearInterval(timerInterval);%09%09%09%09%09timerInterval%20=%20null;%09%09%09%09%09document.getElementById("clearButton").style.display="inline-block";%09%09%09%09}%09%09%09};%09%09%09bg.appendChild(start_stop);%09%09%09%09%09%09var%20clear%20=%20document.createElement("input");%09%09%09clear.type="button";%09%09%09clear.id%20=%20"clearButton";%09%09%09clear.value="CLEAR";%09%09%09clear.onclick%20=%20function(){%09%09%09%09iElapsed%20=%200;%09%09%09%09iPrevious%20=%200;%09%09%09%09timer_display.innerHTML%20=%20"00:00:00";%09%09%09};%09%09%09bg.appendChild(clear);%09%09}%09}%09if(document.getElementById("crebTimer")==null){%09%09createBG();%09%09createForm();%09}})();


Flashlight

Description: Creates a cool flashlight effect on your screen! It makes everything black until you shine your flashlight (controlled by your mouse) onto it.


Script: javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/mouselight.js"})();








Google Drive Disguise:

Description: Ever had to close a tab or pin it because when a teacher walks by they will be suspicious of the tab? Fear no longer! This bookmarklet with disguise it as google drive so teachers will think its a 100% normal website.


Script: 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://ssl.gstatic.com/docs/doclist/images/infinite_arrow_favicon_5.ico';document.title = 'My Drive - Google Drive';console.log(document.title);document.getElementsByTagName('head')[0].appendChild(link) };gcloak();setInterval(gcloak, 1000);




WhatFont

Description: Ever wanted to know what the font to a webpage is? Click on this bookmarklet, highlight the text which you want to know what the font is, and bam! A popup will apear telling you what the font is.


Script: javascript:(function(){var d=document,s=d.createElement('scr'+'ipt'),b=d.body,l=d.location;s.setAttribute('src','http://chengyinliu.com/wf.js?o='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(s)})();


Calculator

Description: It's a calculator, but it doesn't show up in your history if you are a bad boy and cheat.


Script: javascript:eval('function calc(){_o=prompt(_t,_z);if(_o!=\'\'&&_o!=null&&_o.toUpperCase()==_o.toLowerCase())_z=eval(_o);}');_t='JAVASCRIPTER.NET Calculator - Input the expression to be calculated:';_z='';calc();while(_o!=''&&_o!=null&&_o.toUpperCase()==_o.toLowerCase())calc()


Autoclicker:

Description: Click where you want, and it will click automaticly. it clicks 100 times every second.


Script: javascript:var DELAY = 1;var autoClickerStyleElement = document.createElement("style");autoClickerStyleElement.innerHTML="*{cursor: crosshair !important;}";document.body.appendChild(autoClickerStyleElement);function addClicker(e) {if(!e.isTrusted) {return;}if(e.target.classList.contains("auto-clicker-target")) {e.target.classList.remove("auto-clicker-target");} else {e.target.classList.add("auto-clicker-target");}document.body.removeChild(autoClickerStyleElement);document.body.removeEventListener("click", addClicker);e.preventDefault();autoClick(e.target);}function autoClick(element) {if(element.classList.contains("auto-clicker-target")) {element.click();setTimeout(function(){ autoClick(element); }, DELAY);}}document.body.addEventListener("click", addClicker, 0);