├── .github
└── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── Assets
├── css
│ └── main.css
├── fonts
│ ├── devicon.ttf
│ ├── devicon.woff
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ └── fontawesome-webfont.woff2
└── js
│ ├── main.js
│ ├── particles.js
│ └── sweet-scroll.js
├── CODE_OF_CONDUCT.md
├── Games
├── Breakout.js
├── BuildAWall.js
├── CoinClicker.js
├── DodgySquare.js
├── GuessTheNumber.js
├── JumpySquare.js
├── MinecraftAnywhere.js
├── PingPong.js
├── RockPaperSiccors.js
├── SimonSays.js
├── SnakeGameAnywhere.js
└── SusCraft.js
├── Hacks
├── BlooketChestEsp.js
├── BlooketRich.js
├── BlooketSetGold.js
├── BookletModMenu.js
├── EDpuzzleModMenu.js
├── KahootNameBypasser.js
└── ProdigyModMenu.js
├── Img
├── GamesPagePreview.png
├── HacksPagePreview.png
├── MainPagePreview.png
├── PrimaryBanner.png
├── ScreenPagePreview.png
└── ToolsPagePreview.png
├── LICENSE
├── README.md
├── Screen
├── 3Dwebpage.js
├── AmongUs.js
├── Astoids.js
├── Blur.js
├── BubbleText.js
├── ColorDrop.js
├── Colorful.js
├── Corrupt.js
├── CustomMatrix.js
├── DOMII.js
├── FakeChromeUpdate.js
├── Flashlight.js
├── Freeze.js
├── Glitch.js
├── Gold.js
├── Grayscale.js
├── HarlemShake.js
├── HighContrastMode.js
├── HighPitchedNoisePlayer.js
├── ImageFlip.js
├── ImageFly.js
├── Insanity.js
├── Jellify.js
├── LetItSnow.js
├── Matrix.js
├── MetalPipe.js
├── MouseSword.js
├── MouseTrail.js
├── NoClick.js
├── PrintEveryKey.js
├── RainbowDrugs.js
├── RandomTilt.js
├── Shrek.js
├── ShrekV2.js
├── SimpleDarkMode.js
├── Sniper.js
├── StarWarsIntro.js
├── TabSpinner.js
├── TimeDisplay.js
├── UwU.js
└── Virus.js
├── Tools
├── AdBlocker.js
├── AdvancedScriptInjector.js
├── AutoClicker.js
├── AutoScroll.js
├── AverageNumberFinder.js
├── CSSstats.js
├── CTRL.js
├── Calculator.js
├── ClearCookies.js
├── ClearLocalStorage.js
├── CloseIframes.js
├── CookieNotes.js
├── CustomCursor.js
├── DNSLookup.js
├── DevConsole.js
├── ElementOutliner.js
├── ElementSizeViewer.js
├── EpochConverter.js
├── FireBugLite.js
├── FontFinder.js
├── FpsStats.js
├── GoogleAnywhere.js
├── HistoryFlooder.js
├── InstantFullscreen.js
├── InstantTabHider.js
├── IpLookup.js
├── LocalStorageNotes.js
├── Lumi.js
├── LumiV2.js
├── MessageEncrypter.js
├── MicrosoftBingAnywhere.js
├── Notes.js
├── PageEditor.js
├── PageSpeedInsights.js
├── PageTimer.js
├── Piano.js
├── RandomNumberGenerator.js
├── ScreenWidthFinder.js
├── ScriptInjector.js
├── ShowPassword.js
├── SimpleScriptInjector.js
├── SlopeCalculator.js
├── TabCloaker.js
├── TextByteFinder.js
├── TextFinder.js
├── TextToQrCode.js
├── Timer.js
├── TinyUrl.js
├── TrollVirus.js
├── Unblocker.js
├── UserAgentStats.js
├── WebpageMultitool.js
├── WebpageStats.js
└── WebpageTitleEditor.js
└── index.html
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/Assets/fonts/devicon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Assets/fonts/devicon.ttf
--------------------------------------------------------------------------------
/Assets/fonts/devicon.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Assets/fonts/devicon.woff
--------------------------------------------------------------------------------
/Assets/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Assets/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/Assets/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Assets/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/Assets/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Assets/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/Assets/js/main.js:
--------------------------------------------------------------------------------
1 | document.addEventListener("DOMContentLoaded",function(){new SweetScroll({}),particlesJS("particles-js",{particles:{number:{value:30,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"polygon",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:19.18081918081918,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#ffffff",opacity:.4,width:1},move:{enable:!0,speed:4,direction:"none",random:!0,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}},nb:80},interactivity:{detect_on:"canvas",events:{onhover:{enable:!1,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:400,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0})},!1);
--------------------------------------------------------------------------------
/Assets/js/particles.js:
--------------------------------------------------------------------------------
1 | function hexToRgb(e){var a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(a,function(e,a,t,i){return a+a+t+t+i+i});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function clamp(e,a,t){return Math.min(Math.max(e,a),t)}function isInArray(e,a){return a.indexOf(e)>-1}var pJS=function(e,a){var t=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:t,w:t.offsetWidth,h:t.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;a&&Object.deepExtend(i,a),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()})},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,a,t){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=t?t.x:Math.random()*i.canvas.w,this.y=t?t.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,t),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var s=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(s)}else void 0!=e.value.r&&void 0!=e.value.g&&void 0!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),void 0!=e.value.h&&void 0!=e.value.s&&void 0!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var n={};switch(i.particles.move.direction){case"top":n={x:0,y:-1};break;case"top-right":n={x:.5,y:-.5};break;case"right":n={x:1,y:-0};break;case"bottom-right":n={x:.5,y:.5};break;case"bottom":n={x:0,y:1};break;case"bottom-left":n={x:-.5,y:1};break;case"left":n={x:-1,y:0};break;case"top-left":n={x:-.5,y:-.5};break;default:n={x:0,y:0}}i.particles.move.straight?(this.vx=n.x,this.vy=n.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=n.x+Math.random()-.5,this.vy=n.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var r=i.particles.shape.type;if("object"==typeof r){if(r instanceof Array){var c=r[Math.floor(Math.random()*r.length)];this.shape=c}}else this.shape=r;if("image"==this.shape){var o=i.particles.shape;this.img={src:o.image.src,ratio:o.image.width/o.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&void 0!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){function e(){i.canvas.ctx.drawImage(r,a.x-t,a.y-t,2*t,2*t/a.img.ratio)}var a=this;if(void 0!=a.radius_bubble)var t=a.radius_bubble;else var t=a.radius;if(void 0!=a.opacity_bubble)var s=a.opacity_bubble;else var s=a.opacity;if(a.color.rgb)var n="rgba("+a.color.rgb.r+","+a.color.rgb.g+","+a.color.rgb.b+","+s+")";else var n="hsla("+a.color.hsl.h+","+a.color.hsl.s+"%,"+a.color.hsl.l+"%,"+s+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),a.shape){case"circle":i.canvas.ctx.arc(a.x,a.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(a.x-t,a.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t,a.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t/(i.particles.shape.polygon.nb_sides/3.5),a.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,a.x-2*t/(i.particles.shape.polygon.nb_sides/4),a.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var r=a.img.obj;else var r=i.tmp.img_obj;r&&e()}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e=i.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=i.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),i.particles.size.anim.enable&&(1==a.size_status?(a.radius>=i.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=i.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==i.particles.move.out_mode)var s={x_left:a.radius,x_right:i.canvas.w,y_top:a.radius,y_bottom:i.canvas.h};else var s={x_left:-a.radius,x_right:i.canvas.w+a.radius,y_top:-a.radius,y_bottom:i.canvas.h+a.radius};switch(a.x-a.radius>i.canvas.w?(a.x=s.x_left,a.y=Math.random()*i.canvas.h):a.x+a.radius<0&&(a.x=s.x_right,a.y=Math.random()*i.canvas.h),a.y-a.radius>i.canvas.h?(a.y=s.y_top,a.x=Math.random()*i.canvas.w):a.y+a.radius<0&&(a.y=s.y_bottom,a.x=Math.random()*i.canvas.w),i.particles.move.out_mode){case"bounce":a.x+a.radius>i.canvas.w?a.vx=-a.vx:a.x-a.radius<0&&(a.vx=-a.vx),a.y+a.radius>i.canvas.h?a.vy=-a.vy:a.y-a.radius<0&&(a.vy=-a.vy)}if(isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(a),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(a),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(a),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var n=e+1;n0){var c=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+c.r+","+c.g+","+c.b+","+r+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(a.x,a.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,s=e.y-a.y,n=Math.sqrt(t*t+s*s);if(n<=i.particles.line_linked.distance){var r=t/(1e3*i.particles.move.attract.rotateX),c=s/(1e3*i.particles.move.attract.rotateY);e.vx-=r,e.vy-=c,a.vx+=r,a.vy+=c}},i.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y,s=Math.sqrt(t*t+i*i),n=e.radius+a.radius;n>=s&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},i.fn.modes.pushParticles=function(e,a){i.tmp.pushing=!0;for(var t=0;e>t;t++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:a?a.pos_x:Math.random()*i.canvas.w,y:a?a.pos_y:Math.random()*i.canvas.h})),t==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){function a(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}function t(a,t,s,n,c){if(a!=t)if(i.tmp.bubble_duration_end){if(void 0!=s){var o=n-p*(n-a)/i.interactivity.modes.bubble.duration,l=a-o;d=a+l,"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else if(r<=i.interactivity.modes.bubble.distance){if(void 0!=s)var v=s;else var v=n;if(v!=a){var d=n-p*(n-a)/i.interactivity.modes.bubble.duration;"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else"size"==c&&(e.radius_bubble=void 0),"opacity"==c&&(e.opacity_bubble=void 0)}if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var s=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=Math.sqrt(s*s+n*n),c=1-r/i.interactivity.modes.bubble.distance;if(r<=i.interactivity.modes.bubble.distance){if(c>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){var o=e.radius+i.interactivity.modes.bubble.size*c;o>=0&&(e.radius_bubble=o)}else{var l=e.radius-i.interactivity.modes.bubble.size,o=e.radius-l*c;o>0?e.radius_bubble=o:e.radius_bubble=0}if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value){var v=i.interactivity.modes.bubble.opacity*c;v>e.opacity&&v<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}else{var v=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*c;v=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}}}else a();"mouseleave"==i.interactivity.status&&a()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){var s=e.x-i.interactivity.mouse.click_pos_x,n=e.y-i.interactivity.mouse.click_pos_y,r=Math.sqrt(s*s+n*n),p=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;p>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),p>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}i.tmp.bubble_clicking&&(t(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),t(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){function a(){var a=Math.atan2(d,p);if(e.vx=u*Math.cos(a),e.vy=u*Math.sin(a),"bounce"==i.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};t.x+e.radius>i.canvas.w?e.vx=-e.vx:t.x-e.radius<0&&(e.vx=-e.vx),t.y+e.radius>i.canvas.h?e.vy=-e.vy:t.y-e.radius<0&&(e.vy=-e.vy)}}if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,s=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+s*s),r={x:t/n,y:s/n},c=i.interactivity.modes.repulse.distance,o=100,l=clamp(1/c*(-1*Math.pow(n/c,2)+1)*c*o,0,50),v={x:e.x+r.x*l,y:e.y+r.y*l};"bounce"==i.particles.move.out_mode?(v.x-e.radius>0&&v.x+e.radius0&&v.y+e.radius=m&&a()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,s=Math.sqrt(a*a+t*t);if(s<=i.interactivity.modes.grab.distance){var n=i.interactivity.modes.grab.line_linked.opacity-s/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(n>0){var r=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+n+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",function(e){if(i.interactivity.el==window)var a=e.clientX,t=e.clientY;else var a=e.offsetX||e.clientX,t=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=a,i.interactivity.mouse.pos_y=t,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"}),i.interactivity.el.addEventListener("mouseleave",function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"})),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout(function(){i.tmp.repulse_clicking=!1},1e3*i.interactivity.modes.repulse.duration)}})},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var a=e*i.particles.number.value/i.particles.number.density.value_area,t=i.particles.array.length-a;0>t?i.fn.modes.pushParticles(Math.abs(t)):i.fn.modes.removeParticles(t)}},i.fn.vendors.checkOverlap=function(e,a){for(var t=0;tv;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var a=new XMLHttpRequest;a.open("GET",i.particles.shape.image.src),a.onreadystatechange=function(e){4==a.readyState&&(200==a.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},a.send()}else{var t=new Image;t.addEventListener("load",function(){i.tmp.img_obj=t,i.fn.vendors.checkBeforeDraw()}),t.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):void 0!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&void 0==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),window.cancelRequestAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout}(),window.pJSDom=[],window.particlesJS=function(e,a){"string"!=typeof e&&(a=e,e="particles-js"),e||(e="particles-js");var t=document.getElementById(e),i="particles-js-canvas-el",s=t.getElementsByClassName(i);if(s.length)for(;s.length>0;)t.removeChild(s[0]);var n=document.createElement("canvas");n.className=i,n.style.width="100%",n.style.height="100%";var r=document.getElementById(e).appendChild(n);null!=r&&pJSDom.push(new pJS(e,a))},window.particlesJS.load=function(e,a,t){var i=new XMLHttpRequest;i.open("GET",a),i.onreadystatechange=function(a){if(4==i.readyState)if(200==i.status){var s=JSON.parse(a.currentTarget.response);window.particlesJS(e,s),t&&t()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()};
--------------------------------------------------------------------------------
/Assets/js/sweet-scroll.js:
--------------------------------------------------------------------------------
1 | !function(t, n) { "object" == typeof exports && "undefined" != typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define(n) : t.SweetScroll = n() }(this, function() { "use strict"; function t(t) { return null == t ? "" : "object" === ("undefined" == typeof t ? "undefined" : St(t)) || "function" == typeof t ? wt[Object.prototype.toString.call(t)] || "object" : "undefined" == typeof t ? "undefined" : St(t) } function n(n) { return "number" === t(n) } function e(n) { return "string" === t(n) } function i(n) { return "function" === t(n) } function o(t) { return Array.isArray(t) } function r(t) { var e = null == t ? null : t.length; return n(e) && e >= 0 && e <= bt } function l(t) { return !o(t) && t - parseFloat(t) + 1 >= 0 } function u(n) { return !o(n) && "object" === t(n) } function a(t, n) { return t && t.hasOwnProperty(n) } function s(t, n, e) { if (null == t) return t; var i = e || t; if (u(t)) { for (var o in t) if (a(t, o) && n.call(i, t[o], o) === !1) break } else if (r(t)) for (var l = 0; l < t.length && n.call(i, t[l], l) !== !1; l++); return t } function c(t) { for (var n = arguments.length, e = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)e[i - 1] = arguments[i]; return s(e, function(n) { s(n, function(n, e) { t[e] = n }) }), t } function h(t) { return t.replace(/\s*/g, "") || "" } function f(t) { "undefined" != typeof console && "function" == typeof console.error && console.error(t); try { throw new Error(t) } catch (t) { } } function p(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null; if (t) return (null == n ? xt : n).querySelector(t) } function d(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null; if (t) return (null == n ? xt : n).querySelectorAll(t) } function v(t, n) { for (var e = (t.document || t.ownerDocument).querySelectorAll(n), i = e.length; --i >= 0 && e.item(i) !== t;); return i > -1 } function g(t) { return t === xt.documentElement || t === xt.body } function y() { var t = _t.outerWidth, n = _t.innerWidth; return t ? t / n : 1 } function S(t) { for (var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "y", e = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2], i = Lt[n], o = t instanceof Element ? [t] : d(t), r = [], l = xt.createElement("div"), u = 0; u < o.length; u++) { var a = o[u]; if (a[i] > 0 ? r.push(a) : (l.style.width = a.clientWidth + 1 + "px", l.style.height = a.clientHeight + 1 + "px", a.appendChild(l), a[i] = 1.5 / y(), a[i] > 0 && r.push(a), a[i] = 0, a.removeChild(l)), !e && r.length > 0) break } return r } function m(t, n) { var e = S(t, n, !1); return e.length >= 1 ? e[0] : null } function k(t) { return null != t && t === t.window ? t : 9 === t.nodeType && t.defaultView } function b(t) { return vt(t.scrollHeight, t.clientHeight, t.offsetHeight) } function C(t) { return vt(t.scrollWidth, t.clientWidth, t.offsetWidth) } function w(t) { return { width: C(t), height: b(t) } } function O() { return { width: vt(C(xt.body), C(xt.documentElement)), height: vt(b(xt.body), b(xt.documentElement)) } } function I(t) { return g(t) ? { viewport: { width: gt(_t.innerWidth, xt.documentElement.clientWidth), height: _t.innerHeight }, size: O() } : { viewport: { width: t.clientWidth, height: t.clientHeight }, size: w(t) } } function _(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "y", e = k(t); return e ? e[Et[n]] : t[Lt[n]] } function x(t, n) { var e = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "y", i = k(t), o = "y" === e; i ? i.scrollTo(o ? i[Et.x] : n, o ? n : i[Et.y]) : t[Lt[e]] = n } function L(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null; if (!t || t && !t.getClientRects().length) return { top: 0, left: 0 }; var e = t.getBoundingClientRect(); if (e.width || e.height) { var i = {}, o = null; if (null == n || g(n)) o = t.ownerDocument.documentElement, i.top = _t.pageYOffset, i.left = _t.pageXOffset; else { o = n; var r = o.getBoundingClientRect(); i.top = r.top * -1 + o.scrollTop, i.left = r.left * -1 + o.scrollLeft } return { top: e.top + i.top - o.clientTop, left: e.left + i.left - o.clientLeft } } return e } function E(t, n, e) { var i = n.split(","); i.forEach(function(n) { t.addEventListener(n.trim(), e, !1) }) } function A(t, n, e) { var i = n.split(","); i.forEach(function(n) { t.removeEventListener(n.trim(), e, !1) }) } function M(t) { return t } function R(t, n, e, i, o) { return i * (n /= o) * n + e } function T(t, n, e, i, o) { return -i * (n /= o) * (n - 2) + e } function z(t, n, e, i, o) { return (n /= o / 2) < 1 ? i / 2 * n * n + e : -i / 2 * (--n * (n - 2) - 1) + e } function q(t, n, e, i, o) { return i * (n /= o) * n * n + e } function D(t, n, e, i, o) { return i * ((n = n / o - 1) * n * n + 1) + e } function P(t, n, e, i, o) { return (n /= o / 2) < 1 ? i / 2 * n * n * n + e : i / 2 * ((n -= 2) * n * n + 2) + e } function Q(t, n, e, i, o) { return i * (n /= o) * n * n * n + e } function W(t, n, e, i, o) { return -i * ((n = n / o - 1) * n * n * n - 1) + e } function j(t, n, e, i, o) { return (n /= o / 2) < 1 ? i / 2 * n * n * n * n + e : -i / 2 * ((n -= 2) * n * n * n - 2) + e } function B(t, n, e, i, o) { return i * (n /= o) * n * n * n * n + e } function H(t, n, e, i, o) { return i * ((n = n / o - 1) * n * n * n * n + 1) + e } function N(t, n, e, i, o) { return (n /= o / 2) < 1 ? i / 2 * n * n * n * n * n + e : i / 2 * ((n -= 2) * n * n * n * n + 2) + e } function F(t, n, e, i, o) { return -i * at(n / o * (dt / 2)) + i + e } function U(t, n, e, i, o) { return i * st(n / o * (dt / 2)) + e } function $(t, n, e, i, o) { return -i / 2 * (at(dt * n / o) - 1) + e } function X(t, n, e, i, o) { return 0 === n ? e : i * ct(2, 10 * (n / o - 1)) + e } function Y(t, n, e, i, o) { return n === o ? e + i : i * (-ct(2, -10 * n / o) + 1) + e } function J(t, n, e, i, o) { return 0 === n ? e : n === o ? e + i : (n /= o / 2) < 1 ? i / 2 * ct(2, 10 * (n - 1)) + e : i / 2 * (-ct(2, -10 * --n) + 2) + e } function V(t, n, e, i, o) { return -i * (ft(1 - (n /= o) * n) - 1) + e } function G(t, n, e, i, o) { return i * ft(1 - (n = n / o - 1) * n) + e } function K(t, n, e, i, o) { return (n /= o / 2) < 1 ? -i / 2 * (ft(1 - n * n) - 1) + e : i / 2 * (ft(1 - (n -= 2) * n) + 1) + e } function Z(t, n, e, i, o) { var r = 1.70158, l = 0, u = i; return 0 === n ? e : 1 === (n /= o) ? e + i : (l || (l = .3 * o), u < ht(i) ? (u = i, r = l / 4) : r = l / (2 * dt) * pt(i / u), -(u * ct(2, 10 * (n -= 1)) * st((n * o - r) * (2 * dt) / l)) + e) } function tt(t, n, e, i, o) { var r = 1.70158, l = 0, u = i; return 0 === n ? e : 1 === (n /= o) ? e + i : (l || (l = .3 * o), u < ht(i) ? (u = i, r = l / 4) : r = l / (2 * dt) * pt(i / u), u * ct(2, -10 * n) * st((n * o - r) * (2 * dt) / l) + i + e) } function nt(t, n, e, i, o) { var r = 1.70158, l = 0, u = i; return 0 === n ? e : 2 === (n /= o / 2) ? e + i : (l || (l = o * (.3 * 1.5)), u < ht(i) ? (u = i, r = l / 4) : r = l / (2 * dt) * pt(i / u), n < 1 ? -.5 * (u * ct(2, 10 * (n -= 1)) * st((n * o - r) * (2 * dt) / l)) + e : u * ct(2, -10 * (n -= 1)) * st((n * o - r) * (2 * dt) / l) * .5 + i + e) } function et(t, n, e, i, o) { var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1.70158; return i * (n /= o) * n * ((r + 1) * n - r) + e } function it(t, n, e, i, o) { var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1.70158; return i * ((n = n / o - 1) * n * ((r + 1) * n + r) + 1) + e } function ot(t, n, e, i, o) { var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1.70158; return (n /= o / 2) < 1 ? i / 2 * (n * n * (((r *= 1.525) + 1) * n - r)) + e : i / 2 * ((n -= 2) * n * (((r *= 1.525) + 1) * n + r) + 2) + e } function rt(t, n, e, i, o) { return (n /= o) < 1 / 2.75 ? i * (7.5625 * n * n) + e : n < 2 / 2.75 ? i * (7.5625 * (n -= 1.5 / 2.75) * n + .75) + e : n < 2.5 / 2.75 ? i * (7.5625 * (n -= 2.25 / 2.75) * n + .9375) + e : i * (7.5625 * (n -= 2.625 / 2.75) * n + .984375) + e } function lt(t, n, e, i, o) { return i - rt(t, o - n, 0, i, o) + e } function ut(t, n, e, i, o) { return n < o / 2 ? .5 * lt(t, 2 * n, 0, i, o) + e : .5 * rt(t, 2 * n - o, 0, i, o) + .5 * i + e } var at = Math.cos, st = Math.sin, ct = Math.pow, ht = Math.abs, ft = Math.sqrt, pt = Math.asin, dt = Math.PI, vt = Math.max, gt = Math.min, yt = Math.round, St = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { return typeof t } : function(t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t }, mt = function(t, n) { if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function") }, kt = function() { function t(t, n) { for (var e = 0; e < n.length; e++) { var i = n[e]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } return function(n, e, i) { return e && t(n.prototype, e), i && t(n, i), n } }(), bt = ct(2, 53) - 1, Ct = ["Boolean", "Number", "String", "Function", "Array", "Object"], wt = {}; Ct.forEach(function(t) { wt["[object " + t + "]"] = t.toLowerCase() }); var Ot = !("undefined" == typeof window || !window.document || !window.document.createElement), It = function() { if (!Ot) return !1; var t = navigator.userAgent; return (t.indexOf("Android 2.") === -1 && t.indexOf("Android 4.0") === -1 || t.indexOf("Mobile Safari") === -1 || t.indexOf("Chrome") !== -1 || t.indexOf("Windows Phone") !== -1) && (window.history && "pushState" in window.history && "file:" !== window.location.protocol) }(), _t = Ot ? window : null, xt = Ot ? document : null, Lt = { y: "scrollTop", x: "scrollLeft" }, Et = { y: "pageYOffset", x: "pageXOffset" }, At = Object.freeze({ linear: M, InQuad: R, OutQuad: T, InOutQuad: z, InCubic: q, OutCubic: D, InOutCubic: P, InQuart: Q, OutQuart: W, InOutQuart: j, InQuint: B, OutQuint: H, InOutQuint: N, InSine: F, OutSine: U, InOutSine: $, InExpo: X, OutExpo: Y, InOutExpo: J, InCirc: V, OutCirc: G, InOutCirc: K, InElastic: Z, OutElastic: tt, InOutElastic: nt, InBack: et, OutBack: it, InOutBack: ot, OutBounce: rt, InBounce: lt, InOutBounce: ut }), Mt = ["ms", "moz", "webkit"], Rt = 0, Tt = Ot ? _t.requestAnimationFrame : null, zt = Ot ? _t.cancelAnimationFrame : null; if (Ot) { for (var qt = 0; qt < Mt.length && !Tt; ++qt)Tt = _t[Mt[qt] + "RequestAnimationFrame"], zt = _t[Mt[qt] + "CancelAnimationFrame"] || _t[Mt[qt] + "CancelRequestAnimationFrame"]; Tt || (Tt = function(t) { var n = Date.now(), e = vt(0, 16 - (n - Rt)), i = setTimeout(function() { t(n + e) }, e); return Rt = n + e, i }), zt || (zt = function(t) { clearTimeout(t) }) } var Dt = function() { function t(n) { mt(this, t), this.el = n, this.props = {}, this.options = {}, this.progress = !1, this.easing = null, this.startTime = null, this.rafId = null } return kt(t, [{ key: "run", value: function(t, n, e) { var o = this; this.progress || (this.props = { x: t, y: n }, this.options = e, this.easing = i(e.easing) ? e.easing : At[e.easing.replace("ease", "")], this.progress = !0, setTimeout(function() { o.startProps = o.calcStartProps(t, n), o.rafId = Tt(function(t) { return o._loop(t) }) }, this.options.delay)) } }, { key: "stop", value: function() { var t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0], n = this.options.complete; this.startTime = null, this.progress = !1, zt(this.rafId), t && (x(this.el, this.props.x, "x"), x(this.el, this.props.y, "y")), i(n) && (n.call(this), this.options.complete = null) } }, { key: "_loop", value: function(t) { var n = this; if (this.startTime || (this.startTime = t), !this.progress) return void this.stop(!1); var e = this.el, i = this.props, o = this.options, r = this.startTime, l = this.startProps, u = this.easing, a = o.duration, c = o.step, h = {}, f = t - r, p = gt(1, vt(f / a, 0)); s(i, function(t, n) { var e = l[n], i = t - e; if (0 === i) return !0; var o = u(p, a * p, 0, 1, a); h[n] = yt(e + i * o) }), s(h, function(t, n) { x(e, t, n) }), f <= a ? (c.call(this, p, h), this.rafId = Tt(function(t) { return n._loop(t) })) : this.stop(!0) } }, { key: "calcStartProps", value: function(t, n) { var e = { x: _(this.el, "x"), y: _(this.el, "y") }; if (this.options.quickMode) { var i = I(this.el), o = i.viewport, r = o.width, l = o.height; ht(e.y - n) > l && (e.y = e.y > n ? n + l : n - l), ht(e.x - t) > r && (e.x = e.x > t ? t + r : t - r) } return e } }]), t }(), Pt = function() { return Ot ? "onwheel" in xt ? "wheel" : "onmousewheel" in xt ? "mousewheel" : "DOMMouseScroll" : "wheel" }(), Qt = Pt + ", touchstart, touchmove", Wt = function() { function t() { var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "body, html"; mt(this, t), this.isSSR = !Ot, this.options = c({}, t.defaults, n), this.container = this.getContainer(e), null == this.container ? (this.header = null, this.tween = null, this.isSSR || (/comp|inter|loaded/.test(xt.readyState) ? this.log('Not found scrollable container. => "' + e + '"') : this.log("Should be initialize later than DOMContentLoaded."))) : (this.header = p(this.options.header), this.tween = new Dt(this.container), this._trigger = null, this._shouldCallCancelScroll = !1, this.bindContainerClick()) } return kt(t, [{ key: "log", value: function(t) { this.options.outputLog && f("[SweetScroll] " + t) } }, { key: "getScrollOffset", value: function(t, n) { var i = this.container, o = this.header, r = this.parseCoodinate(n.offset), l = this.parseCoodinate(t); if (!l && e(t)) if ("#" === t) l = { top: 0, left: 0 }; else { var u = p(t), a = L(u, i); if (!a) return; l = a } return l ? (r && (l.top += r.top, l.left += r.left), o && (l.top = vt(0, l.top - w(o).height)), l) : null } }, { key: "normalizeScrollOffset", value: function(t, n) { var e = this.container, i = c({}, t), o = I(e), r = o.viewport, l = o.size; return i.top = n.verticalScroll ? vt(0, gt(l.height - r.height, i.top)) : _(e, "y"), i.left = n.horizontalScroll ? vt(0, gt(l.width - r.width, i.left)) : _(e, "x"), i } }, { key: "to", value: function(t) { var n = this, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; if (!this.isSSR) { var o = this.container, r = c({}, this.options, i), l = this._trigger, u = e(t) && /^#/.test(t) ? t : null; if (this._options = r, this._trigger = null, this._shouldCallCancelScroll = !1, this.stop(), !o) return this.log("Not found container element."); var a = this.getScrollOffset(t, r); if (!a) return this.log("Invalid parameter of distance. => " + t); if (this.hook(r, "beforeScroll", a, l) === !1) return void (this._options = null); a = this.normalizeScrollOffset(a, r), this.tween.run(a.left, a.top, { duration: r.duration, delay: r.delay, easing: r.easing, quickMode: r.quickMode, complete: function() { null != u && u !== _t.location.hash && n.updateURLHash(u, r.updateURL), n.unbindContainerStop(), n._options = null, n._shouldCallCancelScroll ? n.hook(r, "cancelScroll") : n.hook(r, "afterScroll", a, l), n.hook(r, "completeScroll", n._shouldCallCancelScroll) }, step: function(t, e) { n.hook(r, "stepScroll", t, e) } }), this.bindContainerStop() } } }, { key: "toTop", value: function(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; this.to(t, c({}, n, { verticalScroll: !0, horizontalScroll: !1 })) } }, { key: "toLeft", value: function(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; this.to(t, c({}, n, { verticalScroll: !1, horizontalScroll: !0 })) } }, { key: "toElement", value: function(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; if (!this.isSSR) if (t instanceof Element) { var e = L(t, this.container); this.to(e, c({}, n)) } else this.log("Invalid parameter.") } }, { key: "stop", value: function() { var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]; this.isSSR || (this.container ? (this._stopScrollListener && (this._shouldCallCancelScroll = !0), this.tween.stop(t)) : this.log("Not found scrollable container.")) } }, { key: "update", value: function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; this.container ? (this.stop(), this.unbindContainerClick(), this.unbindContainerStop(), this.options = c({}, this.options, t), this.header = p(this.options.header), this.bindContainerClick()) : this.isSSR || this.log("Not found scrollable container.") } }, { key: "destroy", value: function() { this.container ? (this.stop(), this.unbindContainerClick(), this.unbindContainerStop(), this.container = null, this.header = null, this.tween = null) : this.isSSR || this.log("Not found scrollable container.") } }, { key: "beforeScroll", value: function(t, n) { return !0 } }, { key: "cancelScroll", value: function() { } }, { key: "afterScroll", value: function(t, n) { } }, { key: "completeScroll", value: function(t) { } }, { key: "stepScroll", value: function(t, n) { } }, { key: "parseCoodinate", value: function(t) { var n = this._options ? this._options.verticalScroll : this.options.verticalScroll, i = { top: 0, left: 0 }; if (a(t, "top") || a(t, "left")) i = c(i, t); else if (o(t)) 2 === t.length ? (i.top = t[0], i.left = t[1]) : (i.top = n ? t[0] : 0, i.left = n ? 0 : t[0]); else if (l(t)) i.top = n ? t : 0, i.left = n ? 0 : t; else { if (!e(t)) return null; var r = h(t); if (/^\d+,\d+$/.test(r)) r = r.split(","), i.top = r[0], i.left = r[1]; else if (/^(top|left):\d+,?(?:(top|left):\d+)?$/.test(r)) { var u = r.match(/top:(\d+)/), s = r.match(/left:(\d+)/); i.top = u ? u[1] : 0, i.left = s ? s[1] : 0 } else { if (!this.container || !/^(\+|-)=(\d+)$/.test(r)) return null; var f = _(this.container, n ? "y" : "x"), p = r.match(/^(\+|-)=(\d+)$/), d = p[1], v = parseInt(p[2], 10); "+" === d ? (i.top = n ? f + v : 0, i.left = n ? 0 : f + v) : (i.top = n ? f - v : 0, i.left = n ? 0 : f - v) } } return i.top = parseInt(i.top, 10), i.left = parseInt(i.left, 10), i } }, { key: "updateURLHash", value: function(t, n) { !this.isSSR && It && n && _t.history["replace" === n ? "replaceState" : "pushState"](null, null, t) } }, { key: "getContainer", value: function(t) { var n = this.options, e = n.verticalScroll, i = n.horizontalScroll, o = null; return this.isSSR ? o : (e && (o = m(t, "y")), !o && i && (o = m(t, "x")), o) } }, { key: "bindContainerClick", value: function() { var t = this.container; t && (this._containerClickListener = this.handleContainerClick.bind(this), E(t, "click", this._containerClickListener)) } }, { key: "unbindContainerClick", value: function() { var t = this.container; t && this._containerClickListener && (A(t, "click", this._containerClickListener), this._containerClickListener = null) } }, { key: "bindContainerStop", value: function() { var t = this.container; t && (this._stopScrollListener = this.handleStopScroll.bind(this), E(t, Qt, this._stopScrollListener)) } }, { key: "unbindContainerStop", value: function() { var t = this.container; t && this._stopScrollListener && (A(t, Qt, this._stopScrollListener), this._stopScrollListener = null) } }, { key: "hook", value: function(t, n) { for (var e = t[n], o = arguments.length, r = Array(o > 2 ? o - 2 : 0), l = 2; l < o; l++)r[l - 2] = arguments[l]; if (i(e)) { var u = e.apply(this, r); if ("undefined" == typeof u) return u } return this[n].apply(this, r) } }, { key: "handleStopScroll", value: function(t) { var n = this._options ? this._options.stopScroll : this.options.stopScroll; n ? this.stop() : t.preventDefault() } }, { key: "handleContainerClick", value: function(t) { for (var n = this.options, e = t.target; e && e !== xt; e = e.parentNode)if (v(e, n.trigger)) { var i = e.getAttribute("data-scroll"), o = this.parseDataOptions(e), r = i || e.getAttribute("href"); n = c({}, n, o), n.preventDefault && t.preventDefault(), n.stopPropagation && t.stopPropagation(), this._trigger = e, n.horizontalScroll && n.verticalScroll ? this.to(r, n) : n.verticalScroll ? this.toTop(r, n) : n.horizontalScroll && this.toLeft(r, n) } } }, { key: "parseDataOptions", value: function(t) { var n = t.getAttribute("data-scroll-options"); return n ? JSON.parse(n) : {} } }]), t }(); return Wt.defaults = { trigger: "[data-scroll]", header: "[data-scroll-header]", duration: 1e3, delay: 0, easing: "easeOutQuint", offset: 0, verticalScroll: !0, horizontalScroll: !1, stopScroll: !0, updateURL: !1, preventDefault: !0, stopPropagation: !0, outputLog: !1, quickMode: !1, beforeScroll: null, afterScroll: null, cancelScroll: null, completeScroll: null, stepScroll: null }, Wt });
2 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | We as members, contributors, and leaders pledge to make participation in our
6 | community a harassment-free experience for everyone, regardless of age, body
7 | size, visible or invisible disability, ethnicity, sex characteristics, gender
8 | identity and expression, level of experience, education, socio-economic status,
9 | nationality, personal appearance, race, religion, or sexual identity
10 | and orientation.
11 |
12 | We pledge to act and interact in ways that contribute to an open, welcoming,
13 | diverse, inclusive, and healthy community.
14 |
15 | ## Our Standards
16 |
17 | Examples of behavior that contributes to a positive environment for our
18 | community include:
19 |
20 | * Demonstrating empathy and kindness toward other people
21 | * Being respectful of differing opinions, viewpoints, and experiences
22 | * Giving and gracefully accepting constructive feedback
23 | * Accepting responsibility and apologizing to those affected by our mistakes,
24 | and learning from the experience
25 | * Focusing on what is best not just for us as individuals, but for the
26 | overall community
27 |
28 | Examples of unacceptable behavior include:
29 |
30 | * The use of sexualized language or imagery, and sexual attention or
31 | advances of any kind
32 | * Trolling, insulting or derogatory comments, and personal or political attacks
33 | * Public or private harassment
34 | * Publishing others' private information, such as a physical or email
35 | address, without their explicit permission
36 | * Other conduct which could reasonably be considered inappropriate in a
37 | professional setting
38 |
39 | ## Enforcement Responsibilities
40 |
41 | Community leaders are responsible for clarifying and enforcing our standards of
42 | acceptable behavior and will take appropriate and fair corrective action in
43 | response to any behavior that they deem inappropriate, threatening, offensive,
44 | or harmful.
45 |
46 | Community leaders have the right and responsibility to remove, edit, or reject
47 | comments, commits, code, wiki edits, issues, and other contributions that are
48 | not aligned to this Code of Conduct, and will communicate reasons for moderation
49 | decisions when appropriate.
50 |
51 | ## Scope
52 |
53 | This Code of Conduct applies within all community spaces, and also applies when
54 | an individual is officially representing the community in public spaces.
55 | Examples of representing our community include using an official e-mail address,
56 | posting via an official social media account, or acting as an appointed
57 | representative at an online or offline event.
58 |
59 | ## Enforcement
60 |
61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
62 | reported to the community leaders responsible for enforcement at
63 | Discord: DevBubbaDudez
64 | Server: [https://discord.com/](https://discord.gg/6qAvAephsW)
65 | All complaints will be reviewed and investigated promptly and fairly.
66 |
67 | All community leaders are obligated to respect the privacy and security of the
68 | reporter of any incident.
69 |
70 | ## Enforcement Guidelines
71 |
72 | Community leaders will follow these Community Impact Guidelines in determining
73 | the consequences for any action they deem in violation of this Code of Conduct:
74 |
75 | ### 1. Correction
76 |
77 | **Community Impact**: Use of inappropriate language or other behavior deemed
78 | unprofessional or unwelcome in the community.
79 |
80 | **Consequence**: A private, written warning from community leaders, providing
81 | clarity around the nature of the violation and an explanation of why the
82 | behavior was inappropriate. A public apology may be requested.
83 |
84 | ### 2. Warning
85 |
86 | **Community Impact**: A violation through a single incident or series
87 | of actions.
88 |
89 | **Consequence**: A warning with consequences for continued behavior. No
90 | interaction with the people involved, including unsolicited interaction with
91 | those enforcing the Code of Conduct, for a specified period of time. This
92 | includes avoiding interactions in community spaces as well as external channels
93 | like social media. Violating these terms may lead to a temporary or
94 | permanent ban.
95 |
96 | ### 3. Temporary Ban
97 |
98 | **Community Impact**: A serious violation of community standards, including
99 | sustained inappropriate behavior.
100 |
101 | **Consequence**: A temporary ban from any sort of interaction or public
102 | communication with the community for a specified period of time. No public or
103 | private interaction with the people involved, including unsolicited interaction
104 | with those enforcing the Code of Conduct, is allowed during this period.
105 | Violating these terms may lead to a permanent ban.
106 |
107 | ### 4. Permanent Ban
108 |
109 | **Community Impact**: Demonstrating a pattern of violation of community
110 | standards, including sustained inappropriate behavior, harassment of an
111 | individual, or aggression toward or disparagement of classes of individuals.
112 |
113 | **Consequence**: A permanent ban from any sort of public interaction within
114 | the community.
115 |
116 | ## Attribution
117 |
118 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119 | version 2.0, available at
120 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
121 |
122 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
123 | enforcement ladder](https://github.com/mozilla/diversity).
124 |
125 | [homepage]: https://www.contributor-covenant.org
126 |
127 | For answers to common questions about this code of conduct, see the FAQ at
128 | https://www.contributor-covenant.org/faq. Translations are available at
129 | https://www.contributor-covenant.org/translations.
130 |
--------------------------------------------------------------------------------
/Games/Breakout.js:
--------------------------------------------------------------------------------
1 | javascript:alert("--BREAKOUT-- hit the ball to break all the blocks! speeds up every time you break all of them! by dragonmaster73101 a school student who got bored"); 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) { if (xpos+35>ballxpos){ ballchangex = -1; } if (xpos+165=0){ xpos=xpos-playerspeed; you.style.left = ''+xpos+'px'; } } if (right==1){ if (xpos+10<=230){ xpos=xpos+playerspeed; you.style.left = ''+xpos+'px'; } } } setInterval(mover,5); window.addEventListener("keydown",function(event){ if(event.key=="ArrowLeft"){ left=1; } }); window.addEventListener("keyup",function(event){ if(event.key=="ArrowLeft"){ left=0; } }); window.addEventListener("keydown",function(event){ if(event.key=="ArrowRight"){ right=1; } }); window.addEventListener("keyup",function(event){ if(event.key=="ArrowRight"){ right=0; } }); }()); function makeenemy(){ (function () { var enemy = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(enemy); enemyxpos=Math.floor(Math.random()*(230-0+1)+0); enemyypos=-120; enemy.style.position = 'fixed'; enemy.style.top = ''+enemyypos+'px'; enemy.style.left = ''+enemyxpos+'px'; enemy.style.margin = '0px'; enemy.style.paddingTop = '10px'; enemy.style.width = '70px'; enemy.style.height = '120px'; enemy.style.zIndex = 10000; enemy.style.opacity = 1; enemy.style.color = 'red'; enemy.style.backgroundColor = 'red'; enemy.style.border = '0px solid white'; enemy.style.textAlign = 'center'; enemy.id = 'enemy'; enemy.style.display = 'block'; enemy.innerText = ''; function enemymove(){ enemyypos=enemyypos+enemyspeed; enemy.style.top = ''+enemyypos+'px'; if (enemyypos>380){ enemy.parentNode.removeChild(enemy); scorecount=scorecount+1; score.innerText = 'score: '+scorecount+''; makeenemy(); } } setInterval(enemymove,50); }()); } makeenemy(); function colliding() { if (xpos < enemyxpos + 70 && xpos + 70 > enemyxpos && ypos < enemyypos + 120 && ypos + 120 > enemyypos) { clearInterval(colliding); document.getElementById("enemy"); enemy.parentNode.removeChild(enemy); document.getElementById("you"); you.parentNode.removeChild(you); document.getElementById("bg"); bg.parentNode.removeChild(bg); document.getElementById("score"); score.parentNode.removeChild(score); document.getElementById("me"); me.parentNode.removeChild(me); alert("game over. your score was "+scorecount+"."); } } setInterval(colliding,5);
2 |
--------------------------------------------------------------------------------
/Games/GuessTheNumber.js:
--------------------------------------------------------------------------------
1 | javascript:var x=0;alert("Guess A Number Between 1 And 20");function getRandomNumberBetween(min,max){ return Math.floor(Math.random()*(max-min+1)+min); };a=getRandomNumberBetween(0,21);while (true){v=prompt("What Number Do You Guess?");if (v==a){x=x+1;alert("You Got It! It Only Took You "+x+" Tries!");break} else if (v>20){alert("Please Guess A Number Between Or Equal To 1 And 20!")} else if (v<1){alert("Please Guess A Number Between Or Equal To 1 And 20!")} else if (v>a){x=x+1;alert("Too High!")} else if (v enemyxpos && ypos < enemyypos + 60 && ypos + 70 > enemyypos) { alert("Game Over! Your Score Was "+scorecount+" Good Job!"); xpos=xpos-99999999999999999999999999999999999999999999999999999999999999999999999; clearInterval(colliding); clearInterval(tick); document.getElementById("enemy"); enemy.parentNode.removeChild(enemy); document.getElementById("you"); you.parentNode.removeChild(you); document.getElementById("ground"); ground.parentNode.removeChild(ground); document.getElementById("me"); me.parentNode.removeChild(me); document.getElementById("score"); score.parentNode.removeChild(score); } } function tick(){ if (speedup>=5){ if (speedallowed==1){ playerspeed=5; } } } setInterval(colliding,5); setInterval(tick,15);
2 |
--------------------------------------------------------------------------------
/Games/MinecraftAnywhere.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){window.mcbmRootURI='https://luphoria.com/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);})();
2 |
--------------------------------------------------------------------------------
/Games/PingPong.js:
--------------------------------------------------------------------------------
1 | javascript:(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='1366px';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');});}()); var xmove=1; var startnum=Math.floor(Math.random()*(10-1+1)+1); startnum=startnum/10; var ymove=startnum; var xpos=1366/2; var ypos=665/2; var ballspeed=3; var p1ypos=665/2; var p1xpos=80; var p1ymove=0; var playerspeed=6; var p2ymove=0; var p2ypos=665/2; var p2xpos=1366-80; var ailevel=400; (function () { var ball = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(ball); ball.style.position = 'fixed'; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; ball.style.margin = '0px'; ball.style.paddingTop = '10px'; ball.style.width = '30px'; ball.style.height = '30px'; ball.style.zIndex = 10000; ball.style.opacity = 1; ball.style.color = 'white'; ball.style.backgroundColor = 'white'; ball.style.textAlign = 'center'; ball.style.cursor = 'pointer'; ball.style.border = '2px solid black'; ball.id = 'ball'; ball.style.display = 'block'; ball.innerText = ''; }()); (function () { var p1 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(p1); p1.style.position = 'fixed'; p1.style.top = ''+p1ypos+'px'; p1.style.left = ''+p1xpos+'px'; p1.style.margin = '0px'; p1.style.paddingTop = '10px'; p1.style.width = '20px'; p1.style.height = '100px'; p1.style.zIndex = 10000; p1.style.opacity = 1; p1.style.color = 'white'; p1.style.backgroundColor = 'white'; p1.style.textAlign = 'center'; p1.style.cursor = 'pointer'; p1.style.border = '2px solid black'; p1.id = 'p1'; p1.style.display = 'block'; p1.innerText = ''; }()); (function () { var p2 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(p2); p2.style.position = 'fixed'; p2.style.top = ''+p2ypos+'px'; p2.style.left = ''+p2xpos+'px'; p2.style.margin = '0px'; p2.style.paddingTop = '10px'; p2.style.width = '20px'; p2.style.height = '100px'; p2.style.zIndex = 10000; p2.style.opacity = 1; p2.style.color = 'white'; p2.style.backgroundColor = 'white'; p2.style.textAlign = 'center'; p2.style.cursor = 'pointer'; p2.style.border = '2px solid black'; p2.id = 'p2'; p2.style.display = 'block'; p2.innerText = ''; }()); function move(){ if (p2ymove==1){ if (p2ypos+playerspeed <= 565){ p2ypos=p2ypos+playerspeed; p2.style.top = ''+p2ypos+'px'; } } if (p2ymove==-1){ if (p2ypos-playerspeed >= 0){ p2ypos=p2ypos-playerspeed; p2.style.top = ''+p2ypos+'px'; } } if (p1ymove==1){ if (p1ypos+playerspeed <= 565){ p1ypos=p1ypos+playerspeed; p1.style.top = ''+p1ypos+'px'; } } if (p1ymove==-1){ if (p1ypos-playerspeed >= 0){ p1ypos=p1ypos-playerspeed; p1.style.top = ''+p1ypos+'px'; } } if (xmove==1){ xpos=xpos+ballspeed; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; } if (xmove==-1){ xpos=xpos-ballspeed; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; } if (ymove==-1){ ypos=ypos-ballspeed; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; } if (ymove==1){ ypos=ypos+ballspeed; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; } if (ymove>-1 && ymove<0){ ypos=ypos-ymove*3; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; } if (ymove<1 && ymove>0){ ypos=ypos-ymove*3; ball.style.top = ''+ypos+'px'; ball.style.left = ''+xpos+'px'; } } function bounce(){ if (xpos>=1336){ xpos=-99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; clearInterval(bounce); ball.parentNode.removeChild(ball); p1.parentNode.removeChild(p1); p2.parentNode.removeChild(p2); me.parentNode.removeChild(me); clearInterval(move); clearInterval(movep2); clearInterval(colliding); alert("Game Over! You Win Good Job!"); } if (xpos<=0){ xpos=99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; clearInterval(bounce); ball.parentNode.removeChild(ball); me.parentNode.removeChild(me); p1.parentNode.removeChild(p1); p2.parentNode.removeChild(p2); clearInterval(move); clearInterval(movep2); clearInterval(colliding); alert("Game Over! You Lose But Good Try!"); } if (ypos>=635){ ymove=ymove*-1; } if (ypos<=0){ ymove=ymove*-1; } } function colliding(){ if (xpos < p1xpos + 20 && xpos + 30 > p1xpos && ypos < p1ypos + 100 && ypos + 30 > p1ypos) { xmove=xmove*-1; ballspeed=ballspeed+0.5; } if (xpos < p2xpos + 20 && xpos + 30 > p2xpos && ypos < p2ypos + 100 && ypos + 30 > p2ypos) { xmove=xmove*-1; ballspeed=ballspeed+0.5; } } window.addEventListener("keydown", function(event) { if (event.key == "ArrowUp") { p1ymove=-1; } }); window.addEventListener("keyup", function(event) { if (event.key == "ArrowUp") { p1ymove=0; } }); window.addEventListener("keydown", function(event) { if (event.key == "ArrowDown") { p1ymove=1; } }); window.addEventListener("keyup", function(event) { if (event.key == "ArrowDown") { p1ymove=0; } }); function movep2(){ if (xpos>683){ if (yposp2ypos){ if (p2ypos != ypos){ p2ymove=1; } } } if (xpos<=683){ p2ymove=0; } } setInterval(colliding,15); setInterval(move,15); setInterval(bounce,15); setInterval(movep2,5);
2 |
--------------------------------------------------------------------------------
/Games/RockPaperSiccors.js:
--------------------------------------------------------------------------------
1 | javascript: var playerNum = prompt('Rock, Paper, Or Scissors?\n\n1 - Rock\n2 - Paper\n3 - Scissiors%27);var computerNum = Math.floor(Math.random() * 3) + 1;switch(playerNum) { case %271%27: var playerChoice = %27Rock%27; break; case %272%27: var playerChoice = %27Paper%27; break; case %273%27: var playerChoice = %27Scissors%27; break; default: alert(%27Incorrect Input! %27); break;}alert(%27Computer Is Choosing...%27);switch(computerNum) { case 1: var computerChoice = %27Rock%27; break; case 2: var computerChoice = %27Paper%27; break; case 3: var computerChoice = %27Scissors%27; break;}if (playerNum == 1) { if (computerNum == 1) { alert(%27Tie!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 2) { alert(%27You lost!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 3) { alert(%27You Won!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); }}if (playerNum == 2) { if (computerNum == 1) { alert(%27You Won!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 2) { alert(%27Tie!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 3) { alert(%27You Lost!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); }} if (playerNum == 3) { if (computerNum == 1) { alert(%27You Lost!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 2) { alert(%27You Won!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); } if (computerNum == 3) { alert(%27Tie!\nYou Chose %27 + playerChoice + %27 And The Computer Chose %27 + computerChoice); }}
2 |
--------------------------------------------------------------------------------
/Games/SimonSays.js:
--------------------------------------------------------------------------------
1 | javascript:const list=[]; var counted=0; var maxcount=4; var num=0; var allclicked=0; var clicked=0; var score=0; function gameover(){ alert("game over. your score was "+score+"."); green.parentNode.removeChild(green); blue.parentNode.removeChild(blue); yellow.parentNode.removeChild(yellow); red.parentNode.removeChild(red); me.parentNode.removeChild(me); scorer.parentNode.removeChild(scorer); } (function () { var green = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(green); green.style.position = 'fixed'; green.style.top = '0px'; green.style.left = '0px'; green.style.margin = '10px'; green.style.paddingTop = '40px'; green.style.width = '100px'; green.style.height = '100px'; green.style.zIndex = 10000; green.style.opacity = 0.6; green.style.color = 'black'; green.style.backgroundColor = 'green'; green.style.border = '0px solid white'; green.style.textAlign = 'center'; green.style.cursor = 'pointer'; green.id = 'green'; green.style.display = 'block'; green.innerText = 'green'; document.getElementById('green').addEventListener('click', function() { green.style.opacity = 1; if (list[clicked] != 1){ gameover(); } clicked=clicked+1; setTimeout(function() { green.style.opacity = 0.6; }, 500); }); }()); (function () { var red = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(red); red.style.position = 'fixed'; red.style.top = '0px'; red.style.left = '110px'; red.style.margin = '10px'; red.style.paddingTop = '40px'; red.style.width = '100px'; red.style.height = '100px'; red.style.zIndex = 10000; red.style.opacity = 0.6; red.style.color = 'black'; red.style.backgroundColor = 'red'; red.style.border = '0px solid white'; red.style.textAlign = 'center'; red.style.cursor = 'pointer'; red.id = 'red'; red.style.display = 'block'; red.innerText = 'red'; document.getElementById('red').addEventListener('click', function() { red.style.opacity = 1; if (list[clicked] != 2){ gameover(); } clicked=clicked+1; setTimeout(function() { red.style.opacity = 0.6; }, 500); }); }()); (function () { var yellow = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(yellow); yellow.style.position = 'fixed'; yellow.style.top = '110px'; yellow.style.left = '0px'; yellow.style.margin = '10px'; yellow.style.paddingTop = '40px'; yellow.style.width = '100px'; yellow.style.height = '100px'; yellow.style.zIndex = 10000; yellow.style.opacity = 0.6; yellow.style.color = 'black'; yellow.style.backgroundColor = 'yellow'; yellow.style.border = '0px solid white'; yellow.style.textAlign = 'center'; yellow.style.cursor = 'pointer'; yellow.id = 'yellow'; yellow.style.display = 'block'; yellow.innerText = 'yellow'; document.getElementById('yellow').addEventListener('click', function() { yellow.style.opacity = 1; if (list[clicked] != 3){ gameover(); } clicked=clicked+1; setTimeout(function() { yellow.style.opacity = 0.6; }, 500); }); }()); (function () { var blue = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(blue); blue.style.position = 'fixed'; blue.style.top = '110px'; blue.style.left = '110px'; blue.style.margin = '10px'; blue.style.paddingTop = '40px'; blue.style.width = '100px'; blue.style.height = '100px'; blue.style.zIndex = 10000; blue.style.opacity = 0.6; blue.style.color = 'black'; blue.style.backgroundColor = 'blue'; blue.style.border = '0px solid white'; blue.style.textAlign = 'center'; blue.style.cursor = 'pointer'; blue.id = 'blue'; blue.style.display = 'block'; blue.innerText = 'blue'; document.getElementById('blue').addEventListener('click', function() { blue.style.opacity = 1; if (list[clicked] != 4){ gameover(); } clicked=clicked+1; setTimeout(function() { blue.style.opacity = 0.6; }, 500); }); }()); (function () { var me = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(me); me.style.position = 'fixed'; me.style.top = '260px'; me.style.left = '0px'; me.style.margin = '10px'; me.style.paddingTop = '0px'; me.style.width = '210px'; me.style.height = '30px'; me.style.zIndex = 10000; me.style.opacity = 1; me.style.color = 'black'; me.style.backgroundColor = 'white'; me.style.border = '4px solid black'; me.style.textAlign = 'center'; me.style.cursor = 'pointer'; me.id = 'me'; me.style.display = 'block'; me.innerText = 'by dragonmaster73101'; document.getElementById('me').addEventListener('click', function() { window.open("https://github.com/dragon731012"); }); }()); (function () { var scorer = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(scorer); scorer.style.position = 'fixed'; scorer.style.top = '300px'; scorer.style.left = '0px'; scorer.style.margin = '10px'; scorer.style.paddingTop = '0px'; scorer.style.width = '210px'; scorer.style.height = '30px'; scorer.style.zIndex = 10000; scorer.style.opacity = 1; scorer.style.color = 'black'; scorer.style.backgroundColor = 'white'; scorer.style.border = '4px solid black'; scorer.style.textAlign = 'center'; scorer.style.cursor = 'pointer'; scorer.id = 'scorer'; scorer.style.display = 'block'; scorer.innerText = 'score: '+score+''; }()); (function () { var start = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(start); start.style.position = 'fixed'; start.style.top = '220px'; start.style.left = '0px'; start.style.margin = '10px'; start.style.paddingTop = '0px'; start.style.width = '210px'; start.style.height = '30px'; start.style.zIndex = 10000; start.style.opacity = 1; start.style.color = 'black'; start.style.backgroundColor = 'white'; start.style.border = '4px solid black'; start.style.textAlign = 'center'; start.style.cursor = 'pointer'; start.id = 'start'; start.style.display = 'block'; start.innerText = 'start'; document.getElementById('start').addEventListener('click', function() { scorer.style.top = '260px'; start.style.left='-99999999999999999999999999999px'; me.style.top='220px'; counted=0; maxcount=1; function show(){ if (counted=maxcount){ if (clicked>=maxcount){ score=score+1; clicked=0; maxcount=maxcount+1; counted=0; } } } function update(){ scorer.innerText = 'score: '+score+''; } setInterval(checkifallclicked,15); setInterval(update,15);
2 |
--------------------------------------------------------------------------------
/Games/SnakeGameAnywhere.js:
--------------------------------------------------------------------------------
1 | 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="
";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 To Start!")):-e?(y=(a[e]=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);
2 |
--------------------------------------------------------------------------------
/Games/SusCraft.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://ma.susstuff.repl.co/builds/tjs/load.js';})();
2 |
--------------------------------------------------------------------------------
/Hacks/EDpuzzleModMenu.js:
--------------------------------------------------------------------------------
1 | javascript: fetch("https://cdn.jsdelivr.net/gh/ading2210/edpuzzle-answers@latest/script.js").then(r => r.text()).then(r => eval(r))
2 |
--------------------------------------------------------------------------------
/Hacks/KahootNameBypasser.js:
--------------------------------------------------------------------------------
1 | javascript:fetch('https://thatfrueddued.github.io/kahoot-smasher/BadNameFilterBypass.js').then(function(response){response.text().then(function(text){eval(text);});});
2 |
--------------------------------------------------------------------------------
/Img/GamesPagePreview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Img/GamesPagePreview.png
--------------------------------------------------------------------------------
/Img/HacksPagePreview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Img/HacksPagePreview.png
--------------------------------------------------------------------------------
/Img/MainPagePreview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Img/MainPagePreview.png
--------------------------------------------------------------------------------
/Img/PrimaryBanner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Img/PrimaryBanner.png
--------------------------------------------------------------------------------
/Img/ScreenPagePreview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Img/ScreenPagePreview.png
--------------------------------------------------------------------------------
/Img/ToolsPagePreview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DevBubba/Bookmarklets/1699020933492f6623f305499267d20cda02f740/Img/ToolsPagePreview.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 DevBubba
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | # 🔖 〢 Bookmarklets
15 |
16 |
17 | ### The Baddest, Absolute Best, And The Biggest Collection Of Bookmarklets Out There!
18 |
19 |
20 | ## 🌐 〢 Table Of Contents
21 |
22 | - **[📖 〢 Description](#description)**
23 | - **[🔰 〢 Features](#features)**
24 | - **[🔗 〢 Discord](https://discord.gg/6qAvAephsW)**
25 | - **[📷 〢 Preview](#preview)**
26 | - **[🧾 〢 Lisence](#lisence)**
27 |
28 |
29 | ## 🔰 〢 Features
30 |
31 | - `Bookmarklet Catigories`🟢
32 | - `Github Repo Link`🟢
33 | - `Replit Source Link`🟢
34 | - `Over 75 Bookmarklets`🟢
35 | - `Bookmarklet Discription`🟢
36 | - `Add A Copy Code Button For Easy Accses To Bookmarklets`🟡
37 | - `Allow Drop Downs To View The Code`🟡
38 | - `Make A Search Bar To Find Any Bookmarklet`🟡
39 | - `Bookmarklet Preview`🔴
40 |
41 | 🟢 = Working | 🟡 = To Do | 🔴 = Not Working
42 |
43 |
44 | ## 📷 〢 Preview
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 | ## 🧾 License
58 |
59 |
60 | ### Bookmarklets is licensed under the MIT License
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/Screen/3Dwebpage.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Error! The Script Could Not Be Loaded!")};js.src="https://rawgit.com/Krazete/bookmarklets/master/tri.js"})();
2 |
--------------------------------------------------------------------------------
/Screen/AmongUs.js:
--------------------------------------------------------------------------------
1 | javascript:function a(e){var n=e.childNodes;for(var i in n){a(n[i]);if(n[i].style) n[i].style.backgroundImage="url(https://play-lh.googleusercontent.com/8ddL1kuoNUB5vUvgDVjYY3_6HwQcrg1K2fd_R8soD-e2QYj8fT9cfhfh3G0hnSruLKec)";}};a(document);(function () {window.g = function () {function G(element) {if (element.childNodes.length > 0)for (var i = 0; i < element.childNodes.length; i++) {if (element.childNodes[i].nodeName.toLowerCase() !== 'style' && element.childNodes[i].nodeName.toLowerCase() !== 'script') {G(element.childNodes[i]);}}if (element.nodeType === Node.TEXT_NODE && element.nodeValue !== '') {var thechars =[' among us ',' sus ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us ',' sus ',' among us '];element.textContent = element.textContent.replace('a', thechars[0]).replace('b', thechars[1]).replace('c', thechars[2]).replace('d', thechars[3]).replace('e', thechars[4]).replace('f', thechars[5]).replace('g', thechars[6]).replace('h', thechars[7]).replace('i', thechars[8]).replace('j', thechars[9]).replace('k', thechars[10]).replace('l', thechars[11]).replace('m', thechars[12]).replace('n', thechars[13]).replace('o', thechars[14]).replace('p', thechars[15]).replace('q', thechars[16]).replace('r', thechars[17]).replace('s', thechars[18]).replace('t', thechars[19]).replace('u', thechars[20]).replace('v', thechars[21]).replace('w', thechars[22]).replace('x', thechars[23]).replace('y', thechars[24]).replace('z', thechars[25]).replace('A', thechars[26]).replace('B', thechars[27]).replace('C', thechars[28]).replace('D', thechars[29]).replace('E', thechars[30]).replace('F', thechars[31]).replace('G', thechars[32]).replace('H', thechars[33]).replace('I', thechars[34]).replace('J', thechars[35]).replace('K', thechars[36]).replace('L', thechars[37]).replace('M', thechars[38]).replace('N', thechars[39]).replace('O', thechars[40]).replace('P', thechars[41]).replace('Q', thechars[42]).replace('R', thechars[43]).replace('S', thechars[44]).replace('T', thechars[45]).replace('U', thechars[46]).replace('V', thechars[47]).replace('W', thechars[48]).replace('X', thechars[49]).replace('Y', thechars[50]).replace('Z', thechars[51]).replace('fax', '℻').replace('1', thechars[52]).replace('2', thechars[53]).replace('3', thechars[54]).replace('4', thechars[55]).replace('5', thechars[56]).replace('6', thechars[57]).replace('7', thechars[58]).replace('8', thechars[59]).replace('9', thechars[60]).replace('0', thechars[61]);}}var html = document.getElementsByTagName('html')[0];G(html);};setInterval(g, 1);})();
2 |
--------------------------------------------------------------------------------
/Screen/Astoids.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://susstuff.repl.co/bm/kickass.js';})();
2 |
--------------------------------------------------------------------------------
/Screen/Blur.js:
--------------------------------------------------------------------------------
1 | javascript: (function () { document.body.style.filter = 'blur(5px)'; })();
2 |
--------------------------------------------------------------------------------
/Screen/BubbleText.js:
--------------------------------------------------------------------------------
1 | javascript: (function () {window.g = function () {function G(element) {if (element.childNodes.length > 0)for (var i = 0; i < element.childNodes.length; i++) {if (element.childNodes[i].nodeName.toLowerCase() !== 'style' && element.childNodes[i].nodeName.toLowerCase() !== 'script') {G(element.childNodes[i]);}}if (element.nodeType === Node.TEXT_NODE && element.nodeValue !== '') {var thechars =['ⓐ','ⓑ','ⓒ','ⓓ','ⓔ','ⓕ','ⓖ','ⓗ','ⓘ','ⓙ','ⓚ','ⓛ','ⓜ','ⓝ','ⓞ','ⓟ','ⓠ','ⓡ','ⓢ','ⓣ','ⓤ','ⓥ','ⓦ','ⓧ','ⓨ','ⓩ','Ⓐ','Ⓑ','Ⓒ','Ⓓ','Ⓔ','Ⓕ','Ⓖ','Ⓗ','Ⓘ','Ⓙ','Ⓚ','Ⓛ','Ⓜ','Ⓝ','Ⓞ','Ⓟ','Ⓠ','Ⓡ','Ⓢ','Ⓣ','Ⓤ','Ⓥ','Ⓦ','Ⓧ','Ⓨ','Ⓩ','①','②','③','④','⑤','⑥','⑦','⑧','⑨','⓪'];element.textContent = element.textContent.replace('a', thechars[0]).replace('b', thechars[1]).replace('c', thechars[2]).replace('d', thechars[3]).replace('e', thechars[4]).replace('f', thechars[5]).replace('g', thechars[6]).replace('h', thechars[7]).replace('i', thechars[8]).replace('j', thechars[9]).replace('k', thechars[10]).replace('l', thechars[11]).replace('m', thechars[12]).replace('n', thechars[13]).replace('o', thechars[14]).replace('p', thechars[15]).replace('q', thechars[16]).replace('r', thechars[17]).replace('s', thechars[18]).replace('t', thechars[19]).replace('u', thechars[20]).replace('v', thechars[21]).replace('w', thechars[22]).replace('x', thechars[23]).replace('y', thechars[24]).replace('z', thechars[25]).replace('A', thechars[26]).replace('B', thechars[27]).replace('C', thechars[28]).replace('D', thechars[29]).replace('E', thechars[30]).replace('F', thechars[31]).replace('G', thechars[32]).replace('H', thechars[33]).replace('I', thechars[34]).replace('J', thechars[35]).replace('K', thechars[36]).replace('L', thechars[37]).replace('M', thechars[38]).replace('N', thechars[39]).replace('O', thechars[40]).replace('P', thechars[41]).replace('Q', thechars[42]).replace('R', thechars[43]).replace('S', thechars[44]).replace('T', thechars[45]).replace('U', thechars[46]).replace('V', thechars[47]).replace('W', thechars[48]).replace('X', thechars[49]).replace('Y', thechars[50]).replace('Z', thechars[51]).replace('fax', '℻').replace('1', thechars[52]).replace('2', thechars[53]).replace('3', thechars[54]).replace('4', thechars[55]).replace('5', thechars[56]).replace('6', thechars[57]).replace('7', thechars[58]).replace('8', thechars[59]).replace('9', thechars[60]).replace('0', thechars[61]);}}var html = document.getElementsByTagName('html')[0];G(html);};setInterval(g, 1);})();
2 |
--------------------------------------------------------------------------------
/Screen/ColorDrop.js:
--------------------------------------------------------------------------------
1 | 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);})();
2 |
--------------------------------------------------------------------------------
/Screen/Colorful.js:
--------------------------------------------------------------------------------
1 | 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);}})()
2 |
--------------------------------------------------------------------------------
/Screen/Corrupt.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var s = document.createElement('style');s.innerHTML = 'body {background-color: black; color: green; font-family: Courier New; font-size: 200%; text-shadow: 2px 2px #FF0000;} * {background-color: black !important; color: green !important; font-family: Courier New !important; text-shadow: 2px 2px #FF0000 !important;}';document.body.appendChild(s);})();
2 |
--------------------------------------------------------------------------------
/Screen/CustomMatrix.js:
--------------------------------------------------------------------------------
1 | javascript:(function()%7Bjavascript%3A (function() %7B%0A var letter %3D prompt('What letter%3F')%3B%0A var color %3D prompt('What color%3F')%3B%0A var speed %3D prompt('What speed%3F')%3B%0A var container %3D document.createElement('div')%3B%0A document.body.appendChild(container)%3B%0A container.style.position %3D 'fixed'%3B%0A container.style.top %3D '0'%3B%0A container.style.left %3D '0'%3B%0A container.style.width %3D '100%25'%3B%0A container.style.height %3D '100%25'%3B%0A container.style.overflow %3D 'hidden'%3B%0A container.style.pointerEvents %3D 'none'%3B%0A%0A function init() %7B%0A var injection %3D document.createElement('style')%3B%0A document.body.appendChild(injection)%3B%0A injection.innerHTML %3D '%40-webkit-keyframes snow %7B%5Cnfrom %7Btop%3A-1%25%3B%7D%5Cnto%7Btop%3A121%25%3B%7D%7D%5Cn%40-moz-keyframes snow %7B%5Cnfrom %7Btop%3A -1%25%3B%7D%5Cnto %7Btop%3A 121%25%3B%7D%5Cn%7D'%3B%0A %7D%0A init()%3B%0A window.setInterval(createParticle%2C speed)%3B%0A timeChoices %3D %5B5%2C 6%2C 7%2C 8%2C 9%2C 10%5D%3B%0A%0A function destroy(evt) %7B%0A container.removeChild(evt.target)%3B%0A %7D%0A%0A function createParticle() %7B%0A var particle %3D document.createElement('span')%3B%0A var randomSpeed %3D timeChoices%5BMath.floor(Math.random() * timeChoices.length)%5D%3B%0A particle.innerHTML %3D letter%3B%0A particle.className %3D 'flake'%3B%0A particle.style.position %3D 'absolute'%3B%0A particle.style.color %3D color%3B%0A particle.style.backgroundColor %3D 'transparent'%3B%0A particle.style.width %3D '5px'%3B%0A particle.style.height %3D '5px'%3B%0A particle.style.pointerEvents %3D 'none'%3B%0A particle.style.right %3D Math.random() * 100 %2B '%25'%3B%0A particle.style.borderRadius %3D '50%25'%3B%0A particle.style.WebkitAnimation %3D 'snow ' %2B randomSpeed %2B 's linear'%3B%0A container.appendChild(particle)%3B%0A particle.addEventListener('webkitAnimationEnd'%2C destroy)%3B%0A %7D%0A%7D)()%7D)()%3B
2 |
--------------------------------------------------------------------------------
/Screen/DOMII.js:
--------------------------------------------------------------------------------
1 | javascript:var s=document.createElement('script');s.type='text/javascript';s.onerror=function(e){alert('Failed To Load Script! The Site\'s Content Security Policy May Be Blocking It. Feel Free To Try Again Or Try Another Website.');};document.body.appendChild(s);s.src='https://blog.roysolberg.com/js/dom2.min.js';void(0);
2 |
--------------------------------------------------------------------------------
/Screen/FakeChromeUpdate.js:
--------------------------------------------------------------------------------
1 | javascript:(function() { var overlay = document.createElement("div"); overlay.style.position = "fixed"; overlay.style.top = "0"; overlay.style.left = "0"; overlay.style.width = "100%"; overlay.style.height = "100%"; overlay.style.background = "#FFFFFF"; overlay.style.opacity = "0.95"; overlay.style.zIndex = "9999999"; var dialog = document.createElement("div"); dialog.style.position = "absolute"; dialog.style.top = "50%"; dialog.style.left = "50%"; dialog.style.transform = "translate(-50%, -50%)"; dialog.style.width = "450px"; dialog.style.padding = "20px"; dialog.style.background = "#FFFFFF"; dialog.style.border = "1px solid #333333"; dialog.style.borderRadius = "5px"; dialog.style.boxShadow = "0 0 10px rgba(0,0,0,0.5)"; dialog.style.zIndex = "99999999"; var title = document.createElement("h1"); title.innerHTML = "Google Chrome Update"; title.style.marginTop = "0"; title.style.textAlign = "center"; dialog.appendChild(title); var message = document.createElement("p"); message.innerHTML = "Your version of Google Chrome is outdated. Please click the button below to update now."; message.style.margin = "20px 0"; message.style.textAlign = "center"; dialog.appendChild(message); var button = document.createElement("button"); button.innerHTML = "Update Now"; button.style.background = "#0078D7"; button.style.border = "none"; button.style.color = "#FFFFFF"; button.style.padding = "10px 20px"; button.style.borderRadius = "5px"; button.style.cursor = "pointer"; button.addEventListener("click", function() { window.location.href = "https://google.com/chrome"; }); dialog.appendChild(button); overlay.appendChild(dialog); document.body.appendChild(overlay); })();
2 |
--------------------------------------------------------------------------------
/Screen/Flashlight.js:
--------------------------------------------------------------------------------
1 | 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"})();
2 |
--------------------------------------------------------------------------------
/Screen/Freeze.js:
--------------------------------------------------------------------------------
1 | javascript:alert("WARNING Your Device May Crash Or Freeze! You Can Delete This Message If You Would Like But I Am Not Responcible For Any Of Your Actions Used With This Bookmarklet!");function a(e){var n=e.childNodes;for(var i in n){a(n[i]);if(n[i].style) n[i].style.backgroundImage="url(https://media.tenor.com/88dnH_mHRLAAAAAM/static-tv-static.gif)";}}a(document); var howfast=3; var bluroffspeed=howfast; var bluronspeed=howfast*2; function bluron() { (function () { document.body.style.filter = 'blur(5px)'; })(); function bluroff(){ (function () { document.body.style.filter = 'blur(0px)'; })(); } setTimeout(bluroff,bluroffspeed); } setInterval(bluron,bluronspeed); function waiting(){ (function () { var elem = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(elem); elem.style.textAlign = 'center'; elem.style.margin=screen.height/2+"px"; elem.style.position = 'fixed'; elem.style.top = '0px'; elem.style.left = '0px'; elem.style.margin = '0px'; elem.style.width = ''+screen.width+'px'; elem.style.height = ''+screen.height+30+'px'; elem.style.zIndex = 10000; elem.style.opacity = 1; elem.style.textAlign = 'center'; elem.style.color = 'red'; elem.id = 'elem'; elem.style.fontSize = "30%"; elem.style.display = 'block'; function bg(){elem.style.backgroundImage="url(https://i.ytimg.com/vi/R8lHaEZYpCU/maxresdefault.jpg)";} bg(); }()); } function waiting2(){ while (true){ window.location.reload(1); } } setTimeout(waiting,900); setTimeout(waiting2,1800);
2 |
--------------------------------------------------------------------------------
/Screen/Glitch.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){function c(){return"#"+Math.floor(16777215*Math.random()).toString(16)}function r(e){return Math.floor(Math.random()*e)+1}function l(e){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}var d=document;d.head.innerHTML="",d.body.innerHTML="";var w=window.screen.availHeight;for(d.body.addEventListener("click",function(){l(d.documentElement)}),i=0;w>=i;i++){var z=d.createElement("div");z.id="b"+i,z.style.backgroundColor=c(),d.body.appendChild(z)}setInterval(function(){for(var e=0;10>e;e++)d.getElementById("b"+r(w)).style.backgroundColor=c(),d.getElementById("b"+r(w)).style.height=r(4)+"px",d.body.style.backgroundColor=c(),d.body.style.transform=r(256)>128?"scale(3) rotate("+r(35)+"deg)":"rotate(0deg) scale(1)";window.scrollTo(0,document.body.scrollHeight)},10),setInterval(function(){window.scrollTo(0,0)},50);})()
2 |
--------------------------------------------------------------------------------
/Screen/Gold.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){document.body.style.backgroundColor='gold';var elements=document.getElementsByTagName('*');for(var i=0;it&&bv&&a=m&&a<=y+m}function n(){for(var a=document.getElementsByClassName(e),b=new RegExp("\\b"+e+"\\b");0If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.
"; document.body.appendChild(a);a.play()})();var g=[];for(c=0;c{const t=document.getElementsByTagName("head")[0],s=document.createElement("script");s.src=e,t.appendChild(s)});
2 |
--------------------------------------------------------------------------------
/Screen/LetItSnow.js:
--------------------------------------------------------------------------------
1 | javascript: (t => {function i() {this.D = function() {const t = h.atan(this.i / this.d);l.save(), l.translate(this.b, this.a), l.rotate(-t), l.scale(this.e, this.e * h.max(1, h.pow(this.j, .7) / 15)), l.drawImage(m, -v / 2, -v / 2), l.restore()}}window;const h = Math,r = h.random,a = document,o = Date.now;e = (t => {l.clearRect(0, 0, _, f), l.fill(), requestAnimationFrame(e);const i = .001 * y.et;y.r();const s = L.et * g;for (var n = 0; n < C.length; ++n) {const t = C[n];t.i = h.sin(s + t.g) * t.h, t.j = h.sqrt(t.i * t.i + t.f), t.a += t.d * i, t.b += t.i * i, t.a > w && (t.a = -u), t.b > b && (t.b = -u), t.b < -u && (t.b = b), t.D()}}), s = (t => {for (var e = 0; e < p; ++e) C[e].a = r() * (f + u), C[e].b = r() * _}), n = (t => {c.width = _ = innerWidth, c.height = f = innerHeight, w = f + u, b = _ + u, s()});class d {constructor(t, e = !0) {this._ts = o(), this._p = !0, this._pa = o(), this.d = t, e && this.s()}get et() {return this.ip ? this._pa - this._ts : o() - this._ts}get rt() {return h.max(0, this.d - this.et)}get ip() {return this._p}get ic() {return this.et >= this.d}s() {return this._ts = o() - this.et, this._p = !1, this}r() {return this._pa = this._ts = o(), this}p() {return this._p = !0, this._pa = o(), this}st() {return this._p = !0, this}}const c = a.createElement("canvas");H = c.style, H.position = "fixed", H.left = 0, H.top = 0, H.width = "100vw", H.height = "100vh", H.zIndex = "100000", H.pointerEvents = "none", a.body.insertBefore(c, a.body.children[0]);const l = c.getContext("2d"),p = 300,g = 5e-4,u = 20;let _ = c.width = innerWidth,f = c.height = innerHeight,w = f + u,b = _ + u;const v = 15.2,m = a.createElement("canvas"),E = m.getContext("2d"),x = E.createRadialGradient(7.6, 7.6, 0, 7.6, 7.6, 7.6);x.addColorStop(0, "hsla(255,255%,255%,1)"), x.addColorStop(1, "hsla(255,255%,255%,0)"), E.fillStyle = x, E.fillRect(0, 0, v, v);let y = new d(0, !0),C = [],L = new d(0, !0);for (var j = 0; j < p; ++j) {const t = new i;t.a = r() * (f + u), t.b = r() * _, t.c = 1 * (3 * r() + .8), t.d = .1 * h.pow(t.c, 2.5) * 50 * (2 * r() + 1), t.d = t.d < 65 ? 65 : t.d, t.e = t.c / 7.6, t.f = t.d * t.d, t.g = r() * h.PI / 1.3, t.h = 15 * t.c, t.i = 0, t.j = 0, C.push(t)}s(), EL = a.addEventListener, EL("visibilitychange", () => setTimeout(n, 100), !1), EL("resize", n, !1), e()})()
2 |
--------------------------------------------------------------------------------
/Screen/Matrix.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var wn=window,w,h,o={},m,dc,b,c='ABCDEFGHIJKLM1234567890nopqrstuvwxyz',y=setInterval,z=clearInterval,t=1;function x(){dc=document;b=dc.body;b.innerHTML='';bs=b.style;w=wn.innerWidth;h=wn.innerHeight;bs.backgroundColor='black';bs.overflow='hidden';m=y(n,25);dc.addEventListener('keydown',function(e){if(e.keyCode==83){if(t)z(m);else m=y(n,25);t=!t}},0)}function g(i){return dc.getElementById(i)}function r(d,m){return Math.floor(Math.random()*d)+m}function a(i){var d=g(i),ds=d.style,t=parseInt(ds.top),k=o[i];if(t{e.stopPropagation(),e.preventDefault()},!0),e=document.getElementsByTagName("input"),t=document.getElementsByTagName("textarea"),n=document.getElementsByTagName("button"),a=e.concat(t).concat(n),o=0;ot&&bv&&a=m&&a<=y+m}function n(){for(var a=document.getElementsByClassName(e),b=new RegExp("\b"+e+"\b");0If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.
"; document.body.appendChild(a);a.play()})();var g=[];for(c=0;c 0.000001) {var ha = 256 * intensity * (256 - data[(x + y * window.innerWidth) * 4 + 3]);drawPixel(x, y, Math.floor(color.r * ha), Math.floor(color.g * ha), Math.floor(color.b * ha), 1 - ha);}}}}window.addEventListener("mousemove", main);})();document.addEventListener("click", e => { e.stopPropagation(); e.preventDefault(); }, true);
2 |
--------------------------------------------------------------------------------
/Screen/SimpleDarkMode.js:
--------------------------------------------------------------------------------
1 | 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")});})();
2 |
--------------------------------------------------------------------------------
/Screen/Sniper.js:
--------------------------------------------------------------------------------
1 | javascript:for(var i=0; i<(document.getElementsByTagName('a')).length; i++) {(document.getElementsByTagName('a')[i]).style.pointerEvents = 'none';}function handler(e) {e = e || window.event;var target = e.target || e.srcElement;target.style.display = 'none';document.removeEventListener('click', handler, false);cursor('default');for(var i=0; i<(document.getElementsByTagName('a')).length; i++) {(document.getElementsByTagName('a')[i]).style.pointerEvents = 'initial';}}document.addEventListener('click', handler, false);cursor('crosshair');function cursor(cur) { document.body.style.cursor = cur; }
2 |
--------------------------------------------------------------------------------
/Screen/StarWarsIntro.js:
--------------------------------------------------------------------------------
1 | javascript:(function(c){var a=c.body.style;c.documentElement.style.background=a.background="black";a.color="yellow";a.height=a.width="100%";a.position="fixed";a.overflowY="scroll";a.top="-15%";a.webkitTransform=a.MozTransform=a.transform="matrix3d(1,0,0,0,0,1,0,-0.0015,0,0,1,0,0,0,0,1)";for(var a=c.body.children,b=0;ba.getMinutes()%3F"0"%2Ba.getMinutes()%3Aa.getMinutes()%2Cb%3D10>a.getSeconds()%3F"0"%2Ba.getSeconds()%3Aa.getSeconds()%3Ba%3D12<%3Da.getHours()%3F"PM"%3A"AM"%3Btime%3Dc%2B"%3A"%2Bd%2B"%3A"%2Bb%2B" "%2Ba%3Bdocument.getElementById("MyClockDisplay").innerText%3Dtime%3Bdocument.getElementById("MyClockDisplay").textContent%3Dtime%3BsetTimeout(showTime%2C1E3)%3Bb%3Dnew Date%3Bc%3D"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" ")%5Bb.getDay()%5D%3Bd%3D"January February March April May June July August September October November December".split(" ")%5Bb.getMonth()%5D%3Ba%3Db.getDate()%3Bb%3Db.getFullYear()%3Ba%3Dc%2B"%2C "%2Bd%2B" "%2Ba%2B"%2C "%2Bb%3Bdocument.getElementById("MyDateDisplay").textContent%3Da%3Bdocument.getElementById("MyDateDisplay").innerText%3Da%7Dvar div2%3Ddocument.createElement("div2")%3Bdiv2.id%3D"MyDateDisplay"%3Bdiv2.className%3D"date"%3Bvar div%3Ddocument.createElement("div")%3Bdiv.id%3D"MyClockDisplay"%3Bdiv.className%3D"clock"%3Bdocument.body.appendChild(div)%3Bdocument.body.appendChild(div2)%3BshowTime()%3Bvar style%3Ddocument.createElement("style")%3Bstyle.type%3D"text%2Fcss"%3Bstyle.innerHTML%3D"%5Cnbody %7B%5Cn%5Cn%7D%5Cn.clock %7B%5Cn z-index%3A 1000%3B%5Cn background-color%3A rgba(0%2C 0%2C 0%2C 0.725)%3B%5Cn position%3A fixed%3B%5Cn font-size%3A 20px%3B%5Cn font-weight%3A bold%3B%5Cn font-family%3A Orbitron%3B%5Cn text-align%3A center%3B%5Cn color%3A rgba(23%2C 212%2C 254%2C 1.0)%3B%5Cn padding%3A 10px%3B%5Cn border-radius%3A 5px%3B%5Cn margin%3A 15px%3B%5Cn box-shadow%3A 0 0 10px rgba(0%2C 0%2C 0%2C 0.725)%3B%5Cn top%3A 100px%3B%5Cn%7D%5Cn%5Cn.date %7B%5Cn z-index%3A 1001%3B%5Cn background-color%3A rgba(0%2C 0%2C 0%2C 0.725)%3B%5Cn position%3A fixed%3B%5Cn display%3A block%3B%5Cn font-size%3A 20px%3B%5Cn font-weight%3A bold%3B%5Cn font-family%3A Orbitron%3B%5Cn text-align%3A center%3B%5Cn color%3A rgba(23%2C 212%2C 254%2C 1.0)%3B%5Cn padding%3A 10px%3B%5Cn border-radius%3A 5px%3B%5Cn margin%3A 15px%3B%5Cn box-shadow%3A 0 0 10px rgba(0%2C 0%2C 0%2C 0.725)%3B%5Cn top%3A 42.5px%3B%5Cn%7D%5Cn"%3Bdocument.getElementsByTagName("head")%5B0%5D.appendChild(style)%3Bvoid+0
2 |
--------------------------------------------------------------------------------
/Screen/UwU.js:
--------------------------------------------------------------------------------
1 | javascript: const faces = ['UwU']; let face = faces[Math.floor(Math.random()*faces.length)]; document.write('' + face + ' ' + face + '
');
2 |
--------------------------------------------------------------------------------
/Screen/Virus.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){function d(f){ctx.fillStyle='colorStr';ctx.fillRect(0,0,a,b/20);ctx.fillRect(0,0,a/30,b);ctx.fillRect(0,19*b/20,a,b/20);ctx.fillRect(29*a/30,0,a/30,b)}function e(){ctx.clearRect(0,0,a,b/20);ctx.clearRect(0,0,a/30,b);ctx.clearRect(0,19*b/20,a,b/20);ctx.clearRect(29*a/30,0,a/30,b)}var c=document.createElement('canvas'),a=window.innerWidth,b=window.innerHeight;c.width=a;c.height=b;document.body.appendChild(c);c.style.position='absolute';c.style.top='0px';c.style.left='0px';ctx=c.getContext('2d');d('black');setTimeout(function(){e();setTimeout(function(){d('black');setTimeout(function(){e();setTimeout(function(){d('black');setTimeout(function(){window.open('https:////dev.92spoons.com/sub/YouHaveBeenHacked.html','_blank');document.body.removeChild(c)},100)},100)},100)},100)},100)})();
2 |
--------------------------------------------------------------------------------
/Tools/AdBlocker.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){ /* Ad-B-Gone: The simple bookmarklet that removes ads from web pages! Made by 3kh0. */ var selectors = [ /* By ID: */ '#sidebar-wrap', '#advert', '#xrail', '#middle-article-advert-container', '#sponsored-recommendations', '#around-the-web', '#sponsored-recommendations', '#taboola-content', '#taboola-below-taboola-native-thumbnails', '#inarticle_wrapper_div', '#rc-row-container', '#ads', '#at-share-dock', '#at4-share', '#at4-follow', '#right-ads-rail', 'div#ad-interstitial', 'div#advert-article', 'div#ac-lre-player-ph', /* By Class: */ '.ad', '.avert', '.avert__wrapper', '.middle-banner-ad', '.advertisement', '.GoogleActiveViewClass', '.advert', '.cns-ads-stage', '.teads-inread', '.ad-banner', '.ad-anchored', '.js_shelf_ads', '.ad-slot', '.antenna', '.xrail-content', '.advertisement__leaderboard', '.ad-leaderboard', '.trc_rbox_outer', '.ks-recommended', '.article-da', 'div.sponsored-stories-component', 'div.addthis-smartlayers', 'div.article-adsponsor', 'div.signin-prompt', 'div.article-bumper', 'div.video-placeholder', 'div.top-ad-container', 'div.header-ad', 'div.ad-unit', 'div.demo-block', 'div.OUTBRAIN', 'div.ob-widget', 'div.nwsrm-wrapper', 'div.announcementBar', 'div.partner-resources-block', 'div.arrow-down', 'div.m-ad', 'div.story-interrupt', 'div.taboola-recommended', 'div.ad-cluster-container', 'div.ctx-sidebar', 'div.incognito-modal', '.OUTBRAIN', '.subscribe-button', '.ads9', '.leaderboards', '.GoogleActiveViewElement', '.mpu-container', '.ad-300x600', '.tf-ad-block', '.sidebar-ads-holder-top', '.ads-one', '.FullPageModal__scroller', '.content-ads-holder', '.widget-area', '.social-buttons', '.ac-player-ph', /* Other: */ 'script', 'iframe', 'video', 'aside#sponsored-recommendations', 'aside[role="banner"]', 'aside', 'amp-ad', 'span[id^=ad_is_]', 'div[class*="indianapolis-optin"]', 'div[id^=google_ads_iframe]', 'div[data-google-query-id]', 'section[data-response]', 'ins.adsbygoogle', 'div[data-google-query-id]', 'div[data-test-id="fullPageSignupModal"]', 'div[data-test-id="giftWrap"]' ]; for(let i in selectors) { let nodesList = document.querySelectorAll(selectors[i]); for(let i = 0; i < nodesList.length; i++) { let el = nodesList[i]; if(el && el.parentNode) el.parentNode.removeChild(el); } }})();
2 |
--------------------------------------------------------------------------------
/Tools/AdvancedScriptInjector.js:
--------------------------------------------------------------------------------
1 | javascript:(()=>{/*Console.js*/;var cjs_00;var cjs_01;var cjs_02;var cjs_03;var cjs_04=0;var cjs_05=0;var cjs_06=0;var cjs_07=0;var cjs_08=-1;var cjs_09=[];function cjs_0A() {if (cjs_04 === 0) {cjs_0B();} else if (cjs_04 === 1) {cjs_0C();}}function cjs_0B() {cjs_0R.style.height='75%';cjs_13.style.height='95%';cjs_0X.style.top='-0.5em';cjs_0X.style.transform='rotateX(180deg)';cjs_04=-1;setTimeout(function(){cjs_04=1;},1000);cjs_17.style.top='86.875%';}function cjs_0C() {cjs_0R.style.height='10%';cjs_13.style.height='75%';cjs_0X.style.top='0.15em';cjs_0X.style.transform='rotateX(360deg)';cjs_04=-1;setTimeout(function(){cjs_0X.style.transitionDuration='0s';setTimeout(function(){cjs_0X.style.transform='rotateX(0deg)';setTimeout(function(){cjs_0X.style.transitionDuration='1s';cjs_04=0;},50);},50);},1000);cjs_17.style.top='21%';}function cjs_0D() {if (cjs_05 === 0) {cjs_0Z.innerHTML='🔓';cjs_05=1;} else if (cjs_05 === 1) {cjs_0Z.innerHTML='🔒';cjs_05=0;}}function cjs_0F() {if (cjs_06 === 0) {cjs_0G();} else if (cjs_06 === 1) {cjs_0H();}}function cjs_0G() {cjs_0R.style.right='calc(-25% - 4em)';cjs_17.style.right='calc(-22.5% - 8em)';cjs_06=-1;setTimeout(function(){cjs_06=1;},1000);}function cjs_0H() {cjs_0R.style.right='0%';cjs_17.style.right='2.5%';cjs_06=-1;setTimeout(function(){cjs_06=0;},1000);}function cjs_0I() {let cjs_1D=cjs_13.scrollTop;let cjs_1E=(cjs_13.clientHeight/cjs_13.scrollHeight)*cjs_0R.clientHeight;let cjs_1F=cjs_13.scrollHeight;let cjs_1G=(cjs_1D/cjs_1F)*125;cjs_15.style.top=(cjs_1G+5)+'%';cjs_15.style.height=((cjs_1E/cjs_1F)*100)+'%';if (cjs_1G+7.5 >= 100) {cjs_15.style.opacity='0';} else {cjs_15.style.opacity='0.5';}}function cjs_0J() {if (cjs_05 === 0) {cjs_13.scrollTop=cjs_13.scrollHeight;}}function cjs_0K(event) {if (event.which === 13) {if (cjs_07 === 1) {cjs_0L();}} else if (event.which === 38) {if (cjs_07 === 1) {cjs_0M();}} else if (event.which === 40) {if (cjs_07 === 1) {cjs_0N();}}}function cjs_0L() {let cjs_1H=cjs_19.value;cjs_19.value='';if (cjs_1H.toLowerCase() === 'help()') {cjs_0O('=== Help menu === ');cjs_0O('=== Commands: === - help():Presents this menu. - [JavaScript code]:Evaluates the provided input as JavaScript. ');cjs_0O('=== Controls: ==== - Expand/contract the console: ▼ in the upper-right hand corner. - Enable/Disable automatically jumping to the newest line: 🔒 in the upper-right hand corner. - Show/Hide the console: 👁 on the upper-left hand corner of the console window.');} else if (cjs_1H.toLowerCase() === '') {} else {try {eval(cjs_1H);} catch(error) {cjs_0P(error);}}if (cjs_09.length < 256) {cjs_09.unshift(cjs_1H);cjs_08=-1;} else {cjs_09.pop();cjs_09.unshift(cjs_1H);cjs_08=-1;}cjs_0I();cjs_0J();}function cjs_0M() {if (cjs_09.length > cjs_08 + 1) {cjs_08 += 1;cjs_19.value=cjs_09[cjs_08];} else if (cjs_09.length === 0) {cjs_19.value='';}}function cjs_0N() {if (cjs_08 > 0) {cjs_08 -= 1;cjs_19.value=cjs_09[cjs_08];} else {cjs_08=-1;cjs_19.value='';}}function cjs_0O(cjs_1J) {let cjs_1I=document.getElementById('logContent');cjs_1I.innerHTML += '-> <Console.js> ' + cjs_1J + ' ';cjs_0I();cjs_0J();}function cjs_0P(cjs_1J) {let cjs_1I=document.getElementById('logContent');cjs_1I.innerHTML += '-> <Console.js> <Input Error> ' + cjs_1J + ' ';cjs_01(cjs_1J);cjs_0I();cjs_0J();}cjs_0Q=document.createElement('DIV');cjs_0Q.id='log';cjs_0Q.style.cssText=%60all: unset;position:fixed;z-index:999255;top:-20%;right:0;width:25%;height:10%;padding:2em;border-bottom-left-radius:1em;overflow:visible;background-color:#242038;color:#ffffff;font-family:"Courier New", Courier, monospace;font-size:14px;transition:top,width,height,right;transition-duration:1s;%60;cjs_0R=document.body.appendChild(cjs_0Q);cjs_0S=document.createElement('DIV');cjs_0S.style.cssText=%60position:absolute;top:0.25em;left:2.5%;width:50%;height:2em;background-color:#242038;user-select:none;%60;cjs_0S.innerHTML='💻Console.js[v1.0.0] ';cjs_0T=cjs_0R.appendChild(cjs_0S);cjs_0U=document.createElement('DIV');cjs_0U.style.cssText=%60position:absolute;top:1.5em;left:2.5%;width:95%;height:0.01em;border-bottom:0.125em dotted #ffffff;%60;cjs_0V=cjs_0R.appendChild(cjs_0U);cjs_0W=document.createElement('DIV');cjs_0W.style.cssText=%60position:absolute;top:0.15em;right:0.25em;width:1.5em;height:1.5em;cursor:pointer;font-size:1.5em;text-align:center;transform:rotateX(0deg);transition:top,right,color,transform;transition-duration:1s;user-select:none;%60;cjs_0W.innerHTML='▼';cjs_0W.addEventListener('click',cjs_0A);cjs_0W.addEventListener('mouseover',(function(){cjs_0X.style.color='#02C39A';}));cjs_0W.addEventListener('mouseout',(function(){cjs_0X.style.color='#ffffff';}));cjs_0X=cjs_0R.appendChild(cjs_0W);cjs_0Y=document.createElement('DIV');cjs_0Y.style.cssText=%60position:absolute;top:0.15em;right:4em;width:1.5em;height:1.5em;cursor:pointer;font-size:0.75em;text-align:center;transition:top,right,color;transition-duration:1s;user-select:none;%60;cjs_0Y.innerHTML='🔒';cjs_0Y.addEventListener('click',cjs_0D);cjs_0Z=cjs_0R.appendChild(cjs_0Y);cjs_10=document.createElement('DIV');cjs_10.style.cssText=%60position:absolute;top:0.15em;left:-2.25em;width:1.5em;height:1.5em;cursor:pointer;color:#ffffff;background-color:#242038;padding:0.25em;border-radius:99em;font-size:1em;text-align:center;transition:top,right,background-color;transition-duration:1s;user-select:none;%60;cjs_10.innerHTML='👁';cjs_10.addEventListener('click',cjs_0F);cjs_10.addEventListener('mouseover',(function(){cjs_11.style.backgroundColor='#02C39A';}));cjs_10.addEventListener('mouseout',(function(){cjs_11.style.backgroundColor='#242038';}));cjs_11=cjs_0R.appendChild(cjs_10);cjs_12=document.createElement('DIV');cjs_12.id='logContent';cjs_12.style.cssText=%60position:absolute;top:calc(2em+5%);left:2.5%;width:97.5%;height:95%;padding-right: 100%;overflow-x:hidden;overflow-y:scroll;cursor:default;%60;cjs_13=cjs_0R.appendChild(cjs_12);cjs_14=document.createElement('DIV');cjs_14.style.cssText=%60position:absolute;top:0;right:2.5%;width:1%;min-height:1%;height:5%;border-radius:1em;background-color:#ffffff;opacity:0.5;%60;cjs_13.addEventListener('scroll',cjs_0I);cjs_13.addEventListener('resize',cjs_0I);cjs_15=cjs_0R.appendChild(cjs_14);cjs_0I();cjs_16=document.createElement('DIV');cjs_16.style.cssText=%60all:unset;position:fixed;z-index:999254;top:-20%;right:calc(25% / 8);width:22.5%;height:2.5em;border-radius:1em;background-color:#5F5C6E;color:#ffffff;font-family:"Courier New", Courier, monospace;font-size:12px;transition:top,width,height,right;transition-duration:1s;%60;cjs_17=document.body.appendChild(cjs_16);cjs_18=document.createElement('INPUT');cjs_18.style.cssText=%60position:absolute;top:15%;left:2.5%;width:70%;height:60%;border-radius:0.5em;color:#ffffff;background-color:#242038;outline:none;border:none;%60;cjs_18.placeholder='Type JavaScript here...';cjs_18.setAttribute('autocomplete','off');cjs_18.addEventListener('focus',(function(){cjs_07=1}));cjs_18.addEventListener('blur',(function(){cjs_07=0}));cjs_19=cjs_17.appendChild(cjs_18);cjs_1A=document.createElement('BUTTON');cjs_1A.style.cssText=%60position:absolute;top:15%;right:2.5%;width:20%;height:60%;cursor:pointer;border-radius:0.5em;color:#000000;background-color:#ffffff;transition:color,background-color;transition-duration:0.5s;outline:none;border:none;%60;cjs_1A.innerHTML='☛Run';cjs_1A.addEventListener('click',cjs_0L);cjs_1A.addEventListener('mouseover',(function(){cjs_1B.style.color='#ffffff';cjs_1B.style.backgroundColor='#02C39A';}));cjs_1A.addEventListener('mouseout',(function(){cjs_1B.style.color='#000000';cjs_1B.style.backgroundColor='#ffffff';}));cjs_1B=cjs_17.appendChild(cjs_1A);function cjs_1C() {cjs_00=console.log;cjs_01=console.error;cjs_02=console.warn;cjs_03=console.clear;var cjs_1I=document.getElementById('logContent');console.log=function (cjs_1J) {if (typeof cjs_1J == 'object') {cjs_1I.innerHTML += '-> <Object> ' + (JSON && JSON.stringify ? JSON.stringify(cjs_1J) : cjs_1J) + ' ' + ' ';} else {cjs_1I.innerHTML += '-> <Log> ' + cjs_1J + ' ';}cjs_00(cjs_1J);};console.error=function(cjs_1J) {cjs_1I.innerHTML += '-> <Error> ' + cjs_1J + ' ';cjs_01(cjs_1J);};console.warn=function(cjs_1J) {cjs_1I.innerHTML += '-> <Warning> ' + cjs_1J + ' ';cjs_02(cjs_1J);};console.clear=function() {cjs_1I.innerHTML='';cjs_0O('Console.js log cleared. (Type console.fullclear() to clear the inspect element log as well)');};console.fullclear=function() {cjs_03();cjs_1I.innerHTML='';cjs_0O('Inspect element log cleared.');cjs_0O('Console.js log cleared.');};}cjs_1C();document.addEventListener('keydown',cjs_0K);cjs_0O('Console.js started.');cjs_0O('Type help() for more info.');setTimeout(function(){cjs_0R.style.top='0';cjs_17.style.top='21%';},100);/*Console.js*/;})();
2 |
--------------------------------------------------------------------------------
/Tools/AutoClicker.js:
--------------------------------------------------------------------------------
1 | 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);
2 |
--------------------------------------------------------------------------------
/Tools/AutoScroll.js:
--------------------------------------------------------------------------------
1 | javascript:var s = prompt("What speed do you want to scroll at?"); (function(window, document) { var isScrolling, scrollTimeout; var defaultScrollSpeed = 50; var scrollSpeed = 50; var adjustIncrement = 2; var jumpIncrement = 50; function start() { window.addEventListener(%27keydown%27, keyPressed); window.addEventListener(%27keyup%27, keyReleased, false); autoScroll(); } function autoScroll() { if(scrollTimeout) { clearTimeout(scrollTimeout); } window.scrollBy(0,s); scrollTimeout = setTimeout(autoScroll, scrollSpeed); isScrolling = true; } var keysPressed = []; function keyPressed(event) { keysPressed[event.keyCode] = true; console.log(keysPressed); var commandKey = (keysPressed[91] || keysPressed[93]); var leftArrow = keysPressed[37]; var rightArrow = keysPressed[39]; var upArrow = keysPressed[38]; var downArrow = keysPressed[40]; var escKey = keysPressed[27]; if (escKey) { if (isScrolling){ turnOff(); } else { autoScroll(); } } if (downArrow) { event.preventDefault(); window.scrollBy(0, jumpIncrement); autoScroll(); } if (upArrow) { event.preventDefault(); window.scrollBy(0, -jumpIncrement); autoScroll(); } if (rightArrow) { event.preventDefault(); scrollSpeed -= adjustIncrement; autoScroll(); } if (leftArrow) { event.preventDefault(); scrollSpeed += adjustIncrement; autoScroll(); } } function keyReleased(event) { delete keysPressed[event.keyCode]; } function turnOff() { clearTimeout(scrollTimeout); isScrolling = false; } start(); })(window, document);
2 |
--------------------------------------------------------------------------------
/Tools/AverageNumberFinder.js:
--------------------------------------------------------------------------------
1 | javascript: for(var many=prompt("How many numbers do you want to find the average of?"),count=0,sum=0;count{document.cookie=cookie.replace(/^ +/,'').replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)});window.confirm('Succsesfully Cleared Cookies!')}())
2 |
--------------------------------------------------------------------------------
/Tools/ClearLocalStorage.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){localStorage.clear();window.confirm('Succsesfully Cleared Local Storage!')}())
2 |
--------------------------------------------------------------------------------
/Tools/CloseIframes.js:
--------------------------------------------------------------------------------
1 | javascript:var element = document.getElementById("rusic-modal"); element.parentNode.removeChild(element);
2 |
--------------------------------------------------------------------------------
/Tools/CookieNotes.js:
--------------------------------------------------------------------------------
1 | javascript:alert("uses cookies. use at your own risk."); function get_cookie(cookie_name) { const value = "; " + document.cookie; const parts = value.split("; " + cookie_name + "="); if (parts.length === 2) return parts.pop().split(";").shift(); } var choose=prompt("notes only work if you use on same website. do you want to make a new note, continue editing or delete a note? continue=1 new=2 delete=3"); if (choose==1){ var called=prompt("what is your old note called? write exactly how you did the first time"); var getcookievalue = get_cookie(""+called+""); var note=prompt("- notes - do not press cancel - only works if you use on same website -",getcookievalue); document.cookie=""+called+"="+note+"; expires=Thu, 18 Dec 9013 12:00:00 UTC"; window.location.reload(1); } if (choose==2){ var newnote=prompt("what do you want it to be called? do not forget name. once you create run again to edit. if you name two things the same thing, the one you made before will be deleted."); document.cookie=""+newnote+"=; expires=Thu, 18 Dec 9013 12:00:00 UTC"; window.location.reload(1); } if (choose==3){ var deleted=prompt("what note do you want to be deleted?"); alert("deleted."); document.cookie=""+deleted+"=; expires=Thu, 18 Dec 1913 12:00:00 UTC"; window.location.reload(1); }
2 |
--------------------------------------------------------------------------------
/Tools/CustomCursor.js:
--------------------------------------------------------------------------------
1 | javascript:var c=prompt("What Cursor Do You Want?\n\nCursor Options\n\nnone, alias, all-scroll, auto, cell, col-resize, copy, e-resize, help, not-allowed, progress, grabbing. \n\nBe Sure You Write The Cursor You Want Exactly How It Is Written!");(function(){var x = document.getElementsByTagName("*");for (i=0;i{let rect=event.target.getBoundingClientRect();let overlayX=window.pageXOffset+rect.left;let overlayY=window.pageYOffset+rect.top;let overlayWidth=rect.width;let overlayHeight=rect.height;getElementSize.overlay.style.transform=`translate(${overlayX}px, ${overlayY}px) scale(${overlayWidth}, ${overlayHeight})`;let labelX=window.pageXOffset+event.clientX+8;let labelY=window.pageYOffset+event.clientY+16;getElementSize.label.style.transform=`translate(${labelX}px, ${labelY}px)`;let elementWidth=Math.round(rect.width);let elementHeight=Math.round(rect.height);getElementSize.label.innerText=`${elementWidth} × ${elementHeight}`;getElementSize.container.style.opacity='1'}}if(getElementSize.isActive){getElementSize.isActive=!1;document.removeEventListener('mousemove',getElementSize.update);getElementSize.container.style.opacity='0';return}getElementSize.isActive=!0;document.addEventListener('mousemove',getElementSize.update)}())
2 |
--------------------------------------------------------------------------------
/Tools/EpochConverter.js:
--------------------------------------------------------------------------------
1 | javascript:(function()%7Bvar utcSeconds%3Dprompt("Enter epoch time%3A")%3Bvar myDate %3D new Date( utcSeconds *1000)%3Balert(myDate.toGMTString()%2B" "%2BmyDate.toLocaleString())%7D)()
2 |
--------------------------------------------------------------------------------
/Tools/FireBugLite.js:
--------------------------------------------------------------------------------
1 | javascript:var firebug=document.createElement('script');firebug.setAttribute('src','https://luphoria.com/fbl/fbl/firebug-lite-debug.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);
2 |
--------------------------------------------------------------------------------
/Tools/FontFinder.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){function getSelectedNode(){if(window.getSelection().focusNode===null)return null;return window.getSelection().focusNode.parentNode}function getNodeFontStack(node){return window.getComputedStyle(node).fontFamily}function getFirstAvailableFont(fonts){for(let font of fonts){let fontName=font.trim().replace(/"/g,'');let isAvailable=document.fonts.check(`16px ${fontName}`);if(!isAvailable)continue;return fontName}}let node=getSelectedNode();if(!node){window.alert('Please select a string of text and try again.');return}let fonts=getNodeFontStack(node).split(',');let firstAvailableFont=getFirstAvailableFont(fonts);window.alert(`Font: ${firstAvailableFont}`)}())
2 |
--------------------------------------------------------------------------------
/Tools/FpsStats.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var script=document.createElement('script');script.onload=function(){var stats=new Stats();document.body.appendChild(stats.dom);requestAnimationFrame(function loop(){stats.update();requestAnimationFrame(loop)});};script.src='https://mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);})()
2 |
--------------------------------------------------------------------------------
/Tools/GoogleAnywhere.js:
--------------------------------------------------------------------------------
1 | javascript:((function()%7Bvar a,b,c;c="https://www.google.com/?igu=1",b=document.createElement("iframe"),b.setAttribute("src",c),b.setAttribute("id","rusic-modal"),b.setAttribute("style","position: fixed; z-index: 999999; width: 1375px; height: 675px; right: 0px; top: 0px; border: 0px solid #8834af; overflow: hidden; background-color: #fff;"),a=document.getElementsByTagName("body")%5B0%5D,a.appendChild(b)%7D)).call(this)
2 |
--------------------------------------------------------------------------------
/Tools/HistoryFlooder.js:
--------------------------------------------------------------------------------
1 | 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!"))}
2 |
--------------------------------------------------------------------------------
/Tools/InstantFullscreen.js:
--------------------------------------------------------------------------------
1 | javascript:(function() { if (typeof cmg_remove_padg === 'function') { cmg_remove_padg(); setTimeout(removeElements, 1000); } else { removeElements(); } function removeElements() { var elems = document.body.getElementsByTagName('*'); var iframes = []; var canvases = []; for (var i = 0; i < elems.length; i++) { var elem = elems[i]; if (elem.tagName === 'IFRAME') { iframes.push(elem); } else if (elem.tagName === 'CANVAS') { canvases.push(elem); } else { if (elem.tagName !== 'BODY' && elem.tagName !== 'HTML' && !elem.contains(document.querySelector('iframe')) && !elem.contains(document.querySelector('canvas'))) { elem.parentNode.removeChild(elem); } } } for (var j = 0; j < iframes.length; j++) { var iframe = iframes[j]; iframe.style.position = 'fixed'; iframe.style.top = '0'; iframe.style.left = '0'; iframe.style.width = '100%'; iframe.style.height = '100%'; } for (var k = 0; k < canvases.length; k++) { var canvas = canvases[k]; canvas.style.position = 'fixed'; canvas.style.top = '0'; canvas.style.left = '0'; canvas.style.width = '100%'; canvas.style.height = '100%'; } document.body.style.overflow = 'hidden'; }})();
2 |
--------------------------------------------------------------------------------
/Tools/InstantTabHider.js:
--------------------------------------------------------------------------------
1 | javascript:(function()%7B(function() %7B%0A document.title %3D "Dashboard"%3B%0A var link %3D document.querySelector("link%5Brel*%3D%27icon%27%5D") %7C%7C document.createElement(%27link%27)%3B%0A link.type %3D %27image%2Fx-icon%27%3B%0A link.rel %3D %27shortcut icon%27%3B%0A link.href %3D %27https%3A%2F%2Faasd.instructure.com%2Ffavicon.ico%27%3B%0A document.getElementsByTagName(%27head%27)%5B0%5D.appendChild(link)%3B%0A alert(%27Tab Succsesfully Hidden!%27)%0A%7D)()%3B%7D)()%3B
2 |
--------------------------------------------------------------------------------
/Tools/IpLookup.js:
--------------------------------------------------------------------------------
1 | javascript:(function()%7Bvar ip%3Dprompt("Enter a IP Address%3A ")%2Ctalos%3D"https%3A%2F%2Ftalosintelligence.com%2Freputation_center%2Flookup%3Fsearch%3D"%2Bip%3Bwindow.open(talos%2C"_blank")%3Bvar vt%3D"https%3A%2F%2Fwww.virustotal.com%2Fgui%2Fip-address%2F"%2Bip%3Bwindow.open(vt%2C"_blank")%3Bvar alien%3D"https%3A%2F%2Fotx.alienvault.com%2Fbrowse%2Fglobal%3Fsection%3DAll%26q%3D"%2Bip%3Bwindow.open(alien%2C"_blank")%3Bvar censys%3D"https%3A%2F%2Fcensys.io%2Fipv4%2F"%2Bip%3Bwindow.open(censys%2C"_blank")%3Bvar shodan%3D"https%3A%2F%2Fwww.shodan.io%2Fsearch%3Fquery%3D"%2Bip%3Bwindow.open(shodan%2C"_blank")%3Bvar abuse%3D"https%3A%2F%2Fwww.abuseipdb.com%2Fcheck%2F"%2Bip%3Bwindow.open(abuse%2C"_blank")%7D)()
2 |
--------------------------------------------------------------------------------
/Tools/LocalStorageNotes.js:
--------------------------------------------------------------------------------
1 | javascript:alert("uses localstorage. use at your own risk."); var choose=prompt("do you want to make a new note, continue, or delete one? new=1 continue=2 delete=3 delete all=4 only works on same domain"); if (choose==1){ var newcalled=prompt("what do you want your new note to be called? make sure you remember what you call it"); window.localStorage.setItem(""+newcalled+"",""); alert("note added. run again to edit."); } if (choose==2){ var called=prompt("what is your note called? type exactly how you did the first time."); let value=window.localStorage.getItem(called); var note=prompt(called,value); window.localStorage.setItem(called,note); } if (choose==3){ var whatdelete=prompt("what note do you want to delete? type exactly how you did the first time."); localStorage.removeItem(whatdelete); alert("note deleted."); } if (choose==4){ localStorage.clear(); alert("all notes cleared."); }
2 |
--------------------------------------------------------------------------------
/Tools/MessageEncrypter.js:
--------------------------------------------------------------------------------
1 | javascript:w=window.open('','Links','scrollbars,resizable,width=640,height=550');w.document.write('Text to Encrypt: %C2%A0↓%C2%A0Password: %C2%A0↓%C2%A0 %C2%A0↓%C2%A0Text to Decrypt: %C2%A0↓%C2%A0Password: %C2%A0↓%C2%A0 %C2%A0↓%C2%A0Decrypted Text: ');javascript:w=window.open('','Links','scrollbars,resizable,width=640,height=550');w.document.write('Text to Encrypt: %C2%A0↓%C2%A0Password: %C2%A0↓%C2%A0 %C2%A0↓%C2%A0Text to Decrypt: %C2%A0↓%C2%A0Password: %C2%A0↓%C2%A0 %C2%A0↓%C2%A0Decrypted Text: ');
2 |
--------------------------------------------------------------------------------
/Tools/MicrosoftBingAnywhere.js:
--------------------------------------------------------------------------------
1 | javascript:((function()%7Bvar a,b,c;c="https://www.bing.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; overflow: hidden; background-color: #fff;"),a=document.getElementsByTagName("body")%5B0%5D,a.appendChild(b)%7D)).call(this)
2 |
--------------------------------------------------------------------------------
/Tools/Notes.js:
--------------------------------------------------------------------------------
1 | javascript:function makenote(name,value){ var width=350; var height=350; var over=0; var clicked=0; var a=0; var b=0; var c=0; var d=0; var e=0; var f=0; var nameover=0; var xover=0; (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='1366px';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 makex(){ (function () { var x = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(x); x.style.position = 'fixed'; x.style.top = '100px'; x.style.left = '300px'; x.style.margin = '0px'; x.style.width = '20px'; x.style.height = '20px'; x.style.zIndex = 10000; x.style.opacity = 1; x.style.color = 'white'; x.style.fontSize = '12px'; x.style.backgroundColor = 'red'; x.style.border = '0px solid black'; x.style.textAlign = 'center'; x.style.cursor = 'pointer'; x.id = 'x'; x.style.display = 'block'; x.style.paddingBottom = '3px'; x.innerText = 'x'; x.onmouseover = function(event) { xover=1; }; x.onmouseout = function(event) { xover=0; }; }()); } setTimeout(makex,1000); (function () { var elem = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(elem); elem.style.position = 'fixed'; elem.style.top = '100px'; elem.style.left = '300px'; elem.style.margin = '0px'; elem.style.paddingTop = '10px'; elem.style.paddingLeft = '10px'; elem.style.paddingRight = '10px'; elem.style.width = ''+width+'px'; elem.style.height = ''+height+'px'; elem.style.zIndex = 10000; elem.style.opacity = 1; elem.style.color = 'black'; elem.style.backgroundColor = 'white'; elem.style.border = '4px solid black'; elem.style.textAlign = 'left'; elem.style.cursor = 'pointer'; elem.id = 'elem'; elem.style.display = 'block'; elem.innerText = ''+value+''; document.getElementById('elem').contentEditable = true; document.getElementById("elem").style.overflow='auto'; elem.onmouseover = function(event) { over=1; }; elem.onmouseout = function(event) { over=0; }; }()); function makename(){ (function () { var name1 = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(name1); name1.style.position = 'fixed'; name1.style.top = '100px'; name1.style.left = '300px'; name1.style.margin = '0px'; name1.style.paddingTop = '5px'; name1.style.paddingLeft = '10px'; name1.style.paddingRight = '10px'; name1.style.width = ''+width+'px'; name1.style.height = '35px'; name1.style.zIndex = 10000; name1.style.opacity = 1; name1.style.color = 'black'; name1.style.backgroundColor = 'white'; name1.style.border = '4px solid black'; name1.style.textAlign = 'center'; name1.style.cursor = 'pointer'; name1.id = 'name1'; name1.style.display = 'block'; name1.innerText = ''+name+''; document.getElementById("elem").style.overflow='auto'; function update(){ c=a; d=b-30; e=a+width-28; f=b-23.5; name1.style.top = ''+d+'px'; name1.style.left = ''+c+'px'; x.style.top = ''+f+'px'; x.style.left = ''+e+'px'; x.style.zIndex = 20000; } setInterval(update,5); name1.onmouseover = function(event) { nameover=1; }; name1.onmouseout = function(event) { nameover=0; }; }()); } setTimeout(makename,1000); function mousemove(event){ if (over==1){ if (clicked==1){ var x=event.clientX; a=x-width/2; var y=event.clientY; b=y-width/2; elem.style.top = ''+b+'px'; elem.style.left = ''+a+'px'; } } } function resize(){ if (nameover==1){ if (clicked==1){ clicked=0; nameover=0; width=prompt("how wide do you want it to be?"); height=prompt("what do you want the height to be?"); elem.style.width = %27%27+width+%27px%27; elem.style.height = %27%27+height+%27px%27; name1.style.width = %27%27+width+%27px%27; a=0; b=0; c=0; d=0; e=0; f=0; over=0; clicked=0; nameover=0; xover=0; x.parentNode.removeChild(x); me.parentNode.removeChild(me); setTimeout(makex,1000); setTimeout(makename,1000); } } if (xover==1){ if (clicked==1){ xover=0; clicked=0; x.parentNode.removeChild(x); name1.parentNode.removeChild(name1); elem.parentNode.removeChild(elem); me.parentNode.removeChild(me); } } } setInterval(resize,5); function click(event) { if (event.button == 0) { clicked=1; } } document.onmousedown = click; function clickup(event) { if (event.button == 0) { clicked=0; } } document.onmouseup = clickup; window.addEventListener(%27mousemove%27,mousemove); function backup(){ if (cookiesorlocal==2){ var text = document.getElementById("elem").textContent; window.localStorage.setItem(""+name+"",""+text+""); } if (cookiesorlocal==1){ var text = document.getElementById("elem").textContent; document.cookie=""+name+"="+text+"; expires=Thu, 18 Dec 9013 12:00:00 UTC"; } if (cookiesorlocal==3){ var text = document.getElementById("elem").textContent; document.cookie=""+name+"="+text+"; expires=Thu, 18 Dec 9013 12:00:00 UTC"; window.localStorage.setItem(""+name+"",""+text+""); } } setInterval(backup,15); } function local(){ var choose=prompt("do you want to make a new note, continue, or delete one? new=1 continue=2 delete=3 delete all=4 only works on same domain. resize deletes the delete button, so just reload"); if (choose==1){ var newcalled=prompt("what do you want your new note to be called? make sure you remember what you call it"); window.localStorage.setItem(""+newcalled+"",""); alert("note added. run again to edit."); } if (choose==2){ var called=prompt("what is your note called? type exactly how you did the first time."); let value=window.localStorage.getItem(called); makenote(called,value); alert("instructions: drag to move. click to edit. click name to resize."); } if (choose==3){ var whatdelete=prompt("what note do you want to delete? type exactly how you did the first time."); localStorage.removeItem(whatdelete); alert("note deleted."); } if (choose==4){ localStorage.clear(); alert("all notes cleared."); } } function cookies(){ function get_cookie(cookie_name) { const value = "; " + document.cookie; const parts = value.split("; " + cookie_name + "="); if (parts.length === 2) return parts.pop().split(";").shift(); } var choose=prompt("do you want to make a new note, continue, or delete one? new=1 continue=2 delete=3 only works on same website. resize deletes the delete button, so just reload"); if (choose==1){ var newnote=prompt("what do you want it to be called? do not forget name. once you create run again to edit. if you name two things the same thing, the one you made before will be deleted."); document.cookie=""+newnote+"=; expires=Thu, 18 Dec 9013 12:00:00 UTC"; window.location.reload(1); } if (choose==2){ var called=prompt("what is your note called? type exactly how you did the first time."); var value = get_cookie(""+called+""); makenote(called,value); alert("instructions: drag to move. click to edit. click name to resize."); } if (choose==3){ var deleted=prompt("what note do you want to be deleted?"); alert("deleted."); document.cookie=""+deleted+"=; expires=Thu, 18 Dec 1913 12:00:00 UTC"; window.location.reload(1); } } function both(){ function get_cookie(cookie_name) { const value = "; " + document.cookie; const parts = value.split("; " + cookie_name + "="); if (parts.length === 2) return parts.pop().split(";").shift(); } var choose=prompt("do you want to make a new note, continue, or delete one? new=1 continue=2 delete=3 only works on same website. resize deletes the delete button, so just reload"); if (choose==1){ var newnote=prompt("what do you want it to be called? do not forget name. once you create run again to edit. if you name two things the same thing, the one you made before will be deleted."); document.cookie=""+newnote+"=; expires=Thu, 18 Dec 9013 12:00:00 UTC"; window.localStorage.setItem(""+newnote+"",""); window.location.reload(1); } if (choose==2){ var called=prompt("what is your note called? type exactly how you did the first time."); var value = get_cookie(""+called+""); var value2=window.localStorage.getItem(called); if (value==value2){ makenote(called,value); alert("instructions: drag to move. click to edit. click name to resize."); } else{ alert("error: cookies is not the same as local storage"); var fix=prompt("do you want to go to cookies backup, local storage backup, or end program? cookies=1 local storage=2 end=3"); if (fix==1){ window.localStorage.setItem(""+called+"",""+value+""); alert("error fixed. you will be redirected back"); both(); } if (fix==2){ document.cookie=""+called+"="+value2+"; expires=Thu, 18 Dec 9013 12:00:00 UTC"; alert("error fixed. you will be redirected back"); both(); } if (fix==3){ alert("program aborted."); } } } if (choose==3){ var deleted=prompt("what note do you want to be deleted?"); alert("deleted."); localStorage.removeItem(deleted); document.cookie=""+deleted+"=; expires=Thu, 18 Dec 1913 12:00:00 UTC"; window.location.reload(1); } } var cookiesorlocal=prompt("do you want to use cookies, local storage, or both? they do not cross save, unless you choose both. ex: saves in cookies. does not work in local storage cookies=1 local=2 both=3"); if (cookiesorlocal==1){ cookies(); } if (cookiesorlocal==2){ local(); } if (cookiesorlocal==3){ both(); }
2 |
--------------------------------------------------------------------------------
/Tools/PageEditor.js:
--------------------------------------------------------------------------------
1 | javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
2 |
--------------------------------------------------------------------------------
/Tools/PageSpeedInsights.js:
--------------------------------------------------------------------------------
1 | javascript:location.href='https://developers.google.com/speed/pagespeed/insights/?url=%27+window.location.href
2 |
--------------------------------------------------------------------------------
/Tools/PageTimer.js:
--------------------------------------------------------------------------------
1 | javascript:setTimeout(()=>location.reload(), prompt('Reload the page in seconds:')*1000)
2 |
--------------------------------------------------------------------------------
/Tools/Piano.js:
--------------------------------------------------------------------------------
1 | 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/piano.js"})();
2 |
--------------------------------------------------------------------------------
/Tools/RandomNumberGenerator.js:
--------------------------------------------------------------------------------
1 | javascript:l=prompt("what do you want the max to be? ex: 1-6 max:6");m=prompt("what do you want the min to be? ex: 1-6 min=1");function getRandomNumberBetween(min,max){ return Math.floor(Math.random()*(max-min+1)+min); };a=getRandomNumberBetween(m,l);alert("your random number is "+a+".")
2 |
--------------------------------------------------------------------------------
/Tools/ScreenWidthFinder.js:
--------------------------------------------------------------------------------
1 | javascript: let width = screen.width; let height = screen.height; (function () { var screen = document.createElement('div'); var body = document.getElementsByTagName('body')[0]; body.appendChild(screen); screen.style.position = 'fixed'; screen.style.top = '0px'; screen.style.right = '0px'; screen.style.margin = '10px'; screen.style.paddingTop = '10px'; screen.style.width = '200px'; screen.style.height = '60px'; screen.style.zIndex = 10000; screen.style.opacity = 1; screen.style.color = 'white'; screen.style.backgroundColor = 'black'; screen.style.border = '4px solid white'; screen.style.textAlign = 'center'; screen.style.cursor = 'pointer'; screen.id = 'screen'; screen.style.display = 'block'; screen.innerText = 'your screen width is '+width+'x'+height+''; }()); function update(){ width = screen.width; height = screen.height; screen.innerText = 'Your Screen Width Is - '+width+'x'+height+''; } setInterval(update,5);
2 |
--------------------------------------------------------------------------------
/Tools/ScriptInjector.js:
--------------------------------------------------------------------------------
1 | javascript:(()=>{var s=document.createElement("script");s.src="https://cdn.jsdelivr.net/gh/XMB5/ConsoleInject@0bb01e8f/inject.js",document.body.appendChild(s);})();
2 |
--------------------------------------------------------------------------------
/Tools/ShowPassword.js:
--------------------------------------------------------------------------------
1 | javascript: (() => {document.querySelectorAll('input[type=password]').forEach(el => el.type = 'text')})();
2 |
--------------------------------------------------------------------------------
/Tools/SimpleScriptInjector.js:
--------------------------------------------------------------------------------
1 | javascript:function JSexe(){ if(valJS!='null' && valJS!='undefined')strJS=valJS; strJS=prompt('Enter Javascript Or Script To Inject:',strJS); if(strJS!=null && strJS!='' && strJS!='undefined'){ setTimeout('valJS=\'\'+eval(strJS);JSexe()',10); } else{valJS='';strJS='';}}valJS='';strJS='';JSexe();
2 |
--------------------------------------------------------------------------------
/Tools/SlopeCalculator.js:
--------------------------------------------------------------------------------
1 | javascript:alert("slope, slope intercept, point slope, and standard form finder. Notes: two - make a +");var x1=prompt('what is the x coordinate of the first point?%27);var y1=prompt(%27what is the y coordinate of the first point?%27);var x2=prompt(%27what is the x coordinate of the second point?%27);var y2=prompt(%27what is the y coordinate of the second point?%27);var st=y2-y1;var sb=x2-x1;alert(%27the slope of the line is %27+st+%27/%27+sb+%27.%27);alert(%27point slope form is y-%27+y1+%27=%27+st+%27/%27+sb+%27(x-%27+x1+%27)%27); var left=0;var right=st/sb*x1-y1;alert(%27the slope intercept form is y=%27+st+%27/%27+sb+%27x- %27+right+%27.%27);var e=st/sb;var l=e%1;(function() { if (e>0) {e=e*-1;if (l!=1) {e=e*sb;right=right*sb;alert("the standard form is - "+e+"x+"+sb+"y= - "+right+".");}}else if (l!=1){e=e*sb;right=right*sb;if (e>0){e=e*-1;}alert("the standard form is - "+e+"x+y="+right+".");}else {alert("the standard form is - "+e+"x+y="+right+".");}})();
2 |
--------------------------------------------------------------------------------
/Tools/TabCloaker.js:
--------------------------------------------------------------------------------
1 | javascript:document.title=prompt('Welcome to the Tab Cloak setup!\n\nEnter the title you want to set for this tab::');var icon=document.querySelector(`link[rel='icon']`);if (!icon) {icon = document.createElement('link');icon.rel='icon';};switch(prompt('What icon would you like to use?\n\n[1] Google Search\n[2] Google Drive\n[3] Custom URL\n\nPlease only enter a number!%27)){case%271%27:icon.setAttribute(%27href%27,%27https://www.google.com/favicon.ico%27);break;case%272%27:icon.setAttribute(%27href%27,%27https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png%27);break;case%273%27:icon.setAttribute(%27href%27,prompt(%27Please enter the URL for the icon you want:%27));} document.head.appendChild(icon);
2 |
--------------------------------------------------------------------------------
/Tools/TextByteFinder.js:
--------------------------------------------------------------------------------
1 | javascript:void function(){WebFontConfig={google:{families:["Quicksand::latin"]}};var e=document.createElement("script");e.src="https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js",e.type="text/javascript",e.async="true";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t);var n=document.createElement("div"),a=document.createElement("textarea");a.id="output",n.style.right="5%25",n.style.top="5%25",n.style.zIndex="10000",n.style.position="fixed",n.style.fontFamily="Quicksand",n.style.fontWeight="bolder",n.style.background="black",n.style.color="white",n.style.padding="30px",n.appendChild(a);var o=document.createElement("p");o.innerHTML='0 Bytes',n.appendChild(o),document.body.appendChild(n),a.addEventListener("keyup",function(){var e=a.value,t=e.split(""),n=t.length;document.getElementById("count").innerHTML=n})}();
2 |
--------------------------------------------------------------------------------
/Tools/TextFinder.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var count=0, text, dv;text=prompt("Search phrase:", "");if(text==null || text.length==0)return;hlColor=prompt("Color:", "yellow");dv=document.defaultView;function searchWithinNode(node, te, len){var pos, skip, spannode, middlebit, endbit, middleclone;skip=0;if( node.nodeType==3 ){pos=node.data.toUpperCase().indexOf(te);if(pos>=0){spannode=document.createElement("SPAN");spannode.style.backgroundColor= hlColor;middlebit=node.splitText(pos);endbit=middlebit.splitText(len);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else if( node.nodeType==1&& node.childNodes && node.tagName.toUpperCase()!="SCRIPT" && node.tagName.toUpperCase!="STYLE"){for (var child=0; child < node.childNodes.length; ++child){child=child+searchWithinNode(node.childNodes[child], te, len);}}return skip;}window.status="Searching for '"+text+"'...";searchWithinNode(document.body, text.toUpperCase(), text.length);window.status="Found "+count+" occurrence"+(count==1?"":"s")+" of %27"+text+"%27.";})();
2 |
--------------------------------------------------------------------------------
/Tools/TextToQrCode.js:
--------------------------------------------------------------------------------
1 | javascript: void(() => { open('https://chart.apis.google.com/chart?cht=qr&chs=300x300&chld=L|2&chl=%27 + (prompt(%27Enter text for QR code:%27) ?? (function() { throw null; }())), null, %27location=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=500,height=500,modal=yes,dependent=yes%27)})();
2 |
--------------------------------------------------------------------------------
/Tools/Timer.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var counter,count,max_count%3Bfunction start_timer()%7Bnull!%3Dcounter%26%26clearInterval(counter)%3Bvar t%3Dtimer_input.value.split("%3A"),e%3DparseInt(t%5B0%5D),r%3DparseInt(t%5B1%5D)%3Bmax_count%3Dcount%3D60*e+r,timer_text.style.color%3D"black",rad_timer.style.backgroundColor%3D"white",timer_progress_bar.style.width%3D"0%25",counter%3DsetInterval(timer,1e3)%7Dfunction timer()%7B--count,timer_progress_bar.style.width%3D100-count%2Fmax_count*100+"%25"%3Bvar t%3DMath.floor(count%2F60),e%3D""+count%2560,r%3D.25*max_count%3Bcount<.1*max_count%3Frad_timer.style.backgroundColor%3D"red"%3Acount {while (true) {while(1)location.reload(1)}}, 1000);
2 |
--------------------------------------------------------------------------------
/Tools/Unblocker.js:
--------------------------------------------------------------------------------
1 | javascript:void(open('https://translate.google.co.in/translate?hl=en&sl=sq&tl=en&u=%27+location.href));
2 |
--------------------------------------------------------------------------------
/Tools/UserAgentStats.js:
--------------------------------------------------------------------------------
1 | javascript: void(() => {prompt('User agent:', navigator.userAgent)})()
2 |
--------------------------------------------------------------------------------
/Tools/WebpageMultitool.js:
--------------------------------------------------------------------------------
1 | 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())
2 |
--------------------------------------------------------------------------------
/Tools/WebpageStats.js:
--------------------------------------------------------------------------------
1 | javascript:(function(){var el=document.createElement('script');el.type='text/javascript';el.src='https://micmro.github.io/performance-bookmarklet/dist/performanceBookmarklet.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://micmro.github.io/performance-bookmarklet/dist/performanceBookmarklet.min.js\"\n\ninto your console instead\n\n(link is in console already)");console.log("https://micmro.github.io/performance-bookmarklet/dist/performanceBookmarklet.min.js");};document.getElementsByTagName('body')[0].appendChild(el);})();
2 |
--------------------------------------------------------------------------------
/Tools/WebpageTitleEditor.js:
--------------------------------------------------------------------------------
1 | javascript:void(document.title=prompt('Enter page title') ?? document.title)
2 |
--------------------------------------------------------------------------------