VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678910 ]
Subject: None of them made it to the top..


Author:
hehe..
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 07:35:56 07/04/18 Wed
In reply to: hEiMlIcH 's message, "Miss USA 2018 Miss USA 2018" on 18:38:57 05/23/18 Wed

.


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);
}





.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
[> Subject: Miss Nebraska was a political choice since nobody from that state have won Miss USA..!


Author:
politik
[ Edit | View ]

Date Posted: 07:27:43 07/06/18 Fri


.

LTC:


LX16skFKdPvPQcvv87MfMXYboJsD2ME2C3

LSiHtaYYCbjWaUFohdN7fF5gR2hSwkpT32

LgTEZ3QsxJn8D9C9veF1qQYJNC3VndbQK1

Lbn26o7nCLSugXqUVx1fFDNXzJFE3SvGk3

LQSbJ6Wgo4fko2uux23472cb49tg44AT6A


Lg3aHrsEc9Ep1eW2Gbt79omMgM8sAmMSxP


LcEkdGb3Vb2F4Xv3TkbWcd9MWwpx5DV7EX

LPgfekvEWaEq65Nn2Qo94Qd5SLg78m5nZA

Lhvkug2yt1HHjBrrSGT87Yp9S2i8BLWEPo


LewfHKM5c6eXr3ysQfxVjqJQGWvQXUnFGV




.

[ Post a Reply to This Message ]



Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.