These are for educational purposes only

Use Responsibly

Run Javascript in your Web Browser

Codes

Alert for hi:

Javascript: alert("hi");

Edit any website:

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

Change background color:

javascript:void(document.body.style.backgroundColor=prompt("Type a colour for the backround my dudes",""))

Make images move fast:

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.tan(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.sin(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

Moving Images:

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()',50); void(0);

Bouncy Images:

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*1+i*x2+x3)*x1+x2)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50); void(0);

Weird site editor:

javascript:alert('Welcome to ultimate webpage editor');void(document.body.style.fontFamily=prompt("Type a Font my dudes",""));void(pJ83EnR7=prompt('Color...',''));if(pJ83EnR7!=''){if(frames.length>0){for(xN3At2nF=0;xN3At2nF<frames.length;xN3At2nF++){void(frames[xN3At2nF].document.fgColor=pJ83EnR7)}}else{void(document.fgColor=pJ83EnR7)}}else{void(null)};void(document.body.style.backgroundColor=prompt("Type a colour for the backround my dudes",""));alert('Now I will open up a webpage editor to finish it off');function rotateit(x){x=parseInt(x);document.body.setAttribute('style',' -moz-transform: rotate('+x+'deg); -moz-transform-origin: 50% 50%; -webkit-transform: rotate('+x+'deg); -webkit-transform-origin: 50% 50%; -o-transform: rotate('+x+'deg); -o-transform-origin:50% 50%; -ms-transform: rotate('+x+'deg); -ms-transform-origin: 50% 50%; transform: rotate('+x+'deg); transform-origin: 50% 50%;');}for(i=0;i<=360;i++){setTimeout("rotateit("+i+")",i*40);}void(0);document.body.contentEditable='true';document.designMode='on';void 0

Credits:

Code Compiled from:

1. https://sites.google.com/view/awesomejavascripthacks/editing-hacks/edit-anything?authuser=0

2. https://groups.google.com/g/tpgit2010batch/c/_kAY_BSDjhU?pli=1

Need Something Custom?

Check out our YouTube Channel, various apps, or contact us using the form below to connect!