NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

function mouseEvent(type, sx, sy, cx, cy) {
var evt;
var e = {
bubbles: true,
cancelable: (type != "mousemove"),
view: window,
detail: 0,
screenX: sx,
screenY: sy,
clientX: cx,
clientY: cy,
ctrlKey: false,
altKey: false,
shiftKey: false,
metaKey: false,
button: 0,
relatedTarget: undefined
};
if (typeof( document.createEvent ) == "function") {
evt = document.createEvent("MouseEvents");
evt.initMouseEvent(type,
e.bubbles, e.cancelable, e.view, e.detail,
e.screenX, e.screenY, e.clientX, e.clientY,
e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,
e.button, document.body.parentNode);
} else if (document.createEventObject) {
evt = document.createEventObject();
for (prop in e) {
evt[prop] = e[prop];
}
evt.button = { 0:1, 1:4, 2:2 }[evt.button] || evt.button;
}
return evt;
}
var a = document.getElementsByClassName("spinner")[0],
b = document.getElementById("speed");
a.addEventListener("mousemove", function(e){console.log("clientX:" + e.clientX +", clientY:" + e.clientY +", screenX:" + e.screenX +", screenY:" + e.screenY +", movementX:" + e.movementX);});

function bootRot(x, y){
a.dispatchEvent(mouseEvent("mousemove", x, y, x, y));
}

function bootStart(){
if ((b.innerHTML != "Dragging") && parseInt(b.innerHTML) < 1600){
var xInicial = 0, yInicial = 0;

// "parseInt(b.innerHTML) < 1600": 1600 is the minimum value in RPMs from which the spinner rotates again.
// This value can be edited!

for(var ofParent = a; ofParent; ofParent = ofParent.offsetParent){
xInicial += ofParent.offsetLeft;
yInicial += ofParent.offsetTop;
}

var bootWidth = xInicial + a.offsetWidth,
bootHeight = xInicial + a.offsetHeight;

var Xs = [xInicial, (bootWidth)/2, bootHeight, (bootWidth)/2], /*[462, 591, 729, 869],*/
Ys = [(bootHeight)/2, yInicial, (bootHeight)/2, bootHeight], /*[77, 77, 77, 77],*/
count = 0, speedBoot = 20;

// speedBoot = 20: Time in milliseconds that the mouse pointer would by points (Xs,Ys) forming a perfect circle.
// This value can also be edited.

a.dispatchEvent(mouseEvent("mousedown", Xs[0], Ys[0], Xs[0], Ys[0]));

bootRot(Xs[0], Ys[0]);

setTimeout(function(){
bootRot(Xs[1], Ys[1]);
}, (count++)*speedBoot);

setTimeout(function(){
bootRot(Xs[2], Ys[2]);
}, (count++)*speedBoot);

setTimeout(function(){
bootRot(Xs[3], Ys[3]);
a.dispatchEvent(mouseEvent("mouseup", Xs[3], Ys[3], Xs[3], Ys[3]));
}, (count++)*speedBoot);
}
}

var bootIntervalId = setInterval(bootStart, 1800);

// bootStart, 20: Time in milliseconds to swing reset after reaching the minimum RPM value.
// This value can also be edited.
// It is recommended that greater values for computers that do not have advanced hardware configuration!

function bootStop(){ // bootStop(): Command stops the execution of the script.
clearInterval(bootIntervalId);
}

     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.