0% found this document useful (0 votes)
43 views8 pages

Message

This userscript customizes the Bloxflip.com website with a login UI and prediction features. It creates and styles multiple DOM elements to display an interactive login form, balance display, radio buttons to select a prediction method, and a button to trigger the predictions. On click, it will highlight random tiles on the minesweeper game before clicking to reveal spots and try to avoid mines.

Uploaded by

markobiljarist
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views8 pages

Message

This userscript customizes the Bloxflip.com website with a login UI and prediction features. It creates and styles multiple DOM elements to display an interactive login form, balance display, radio buttons to select a prediction method, and a button to trigger the predictions. On click, it will highlight random tiles on the minesweeper game before clicking to reveal spots and try to avoid mines.

Uploaded by

markobiljarist
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

// ==UserScript==

// @name nova open source (molly loves kids)


// @namespace http://tampermonkey.net/
// @version 0.1
// @description Custom Ui With Login Support And Prediction Feautures
// @author your mom
// @match https://bloxflip.com/
// @match https://bloxflip.com/mines
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// @grant GM_setValue
// @grant GM_getValue
// ==/UserScript==
(function () {
"use strict";

let a = null;
let b = GM_getValue("isEnabled", false);
let c = 3;
let d = false;
let e = [];
let f = "Classic";
let g;
const h = document.createElement("img");
h.src = "https://media.giphy.com/media/mD4SVpIQLfazIQVAK7/giphy.gif";
h.style.width = "85px";
h.style.height = "85px";
h.style.display = "none";
h.style.position = "absolute";
h.style.top = "calc(50% - 40px)";
h.style.left = "50%";
h.style.transform = "translateX(-50%)";
h.style.zIndex = "999999999999";
h.style.color = "black";
h.style.backgroundColor = "#000000";
h.style.background = "#000000";
function i() {
const a = document.querySelectorAll(".mines_minesGameItem__S2ytQ");
e.forEach(b => {
a[b].style.background = "";
});
e = [];
switch (f) {
case "Classic":
e = j(c, a.length);
break;
case "1 Mine Method":
e = j(17, a.length);
break;
default:
break;
}
e.forEach((b, c) => {
setTimeout(() => {
a[b].style.background = "white";
setTimeout(() => {
a[b].click();
const c = document.querySelector(".mines_minesGameItemMine__NeRa4");
if (c) {
console.log("Mine indicator found. Stopping highlighting and
clicking.");
clearInterval(g);
}
}, 600);
}, c * 900);
});
}
document.addEventListener("keydown", function (a) {
if (a.key === "j") {
const a =
document.querySelector(".button_button__dZRSb.button_secondary__Fa_lP.gameBetSubmit
.mobileBottomMargin");
if (a) {
a.click();
} else {
console.log("Cashout button not found.");
}
}
});
function j(a, b) {
const c = [];
while (c.length < a) {
const a = Math.floor(Math.random() * b);
if (!c.includes(a)) {
c.push(a);
}
}
return c;
}
function k() {
const a =
document.querySelector(".button_button__dZRSb.button_primary__LXFHi.gameBetSubmit.m
obileBottomMargin");
if (a) {
a.click();
}
}
function l() {
const a = "https://pastebin.com/raw/xvDhf5ha";
GM_xmlhttpRequest({
method: "GET",
url: a,
onload: function (a) {
const b = a.responseText;
const c = b.split(", ");
B(c);
}
});
}
function m(a, b, c) {
return a.some(a => {
const [d, e] = a.split(":");
return d === b && e === c;
});
}
function n() {
d = true;
const a = document.createElement("div");
a.className = "custom-main-ui";
a.style.width = "240px";
a.style.height = "745px";
a.style.background = "#000000";
a.style.borderRadius = "30px";
a.style.color = "white";
a.style.fontFamily = "Playpen Sans, sans-serif";
a.style.position = "fixed";
a.style.right = "0";
a.style.top = "0";
a.style.zIndex = "999999999999";
document.body.appendChild(a);
o();
p(a);
q(a, "25px");
r(a);
u(a);
t(a);
x(a);
y();
z();
}
function o() {
const a = document.createElement("div");
a.className = "custom-welcome-ui";
a.style.width = "400px";
a.style.height = "400px";
a.style.background = "black";
a.style.borderRadius = "10px";
a.style.color = "white";
a.style.position = "fixed";
a.style.top = "50%";
a.style.left = "50%";
a.style.transform = "translate(-50%, -50%)";
a.style.boxShadow = "0 0 20px 10px #000000";
a.style.zIndex = "999999999999";
const b = document.createElement("div");
b.style.textAlign = "center";
b.style.fontSize = "30px";
b.style.fontFamily = "Helvetica";
b.style.marginTop = "100px";
b.innerText = "Welcome Back!";
b.style.color = "white";
a.appendChild(b);
document.body.appendChild(a);
setTimeout(() => {
document.body.removeChild(a);
}, 3000);
}
function p(a) {
const b = document.createElement("div");
b.style.position = "relative";
const c = document.createElement("div");
c.innerText = "";
c.style.position = "absolute";
c.style.top = "35px";
c.style.left = "10px";
c.style.color = "#9400d3";
const d = document.createElement("img");
d.src =
"https://i.pinimg.com/originals/9b/bc/7b/9bbc7b93a454e53b5f88f3c22d21240d.gif";
d.style.width = "100%";
d.style.height = "100%";
d.style.marginTop = "24px";
const e = document.createElement("div");
e.style.border = "5px solid white";
e.style.borderRadius = "15px";
e.style.overflow = "hidden";
e.appendChild(d);
b.appendChild(e);
b.appendChild(c);
a.appendChild(b);
h.style.position = "absolute";
h.style.top = "35%";
h.style.left = "50%";
h.style.transform = "translate(-50%, -50%)";
a.appendChild(h);
}
function q(a, b) {
const c = document.createElement("div");
c.style.height = b;
c.style.background = "#000000";
a.appendChild(c);
}
function r(a) {
const b = document.createElement("div");
b.className = "radio-container";
b.style.border = "4px solid white";
b.style.borderRadius = "10px";
a.appendChild(b);
const c = s("Classic", b);
const d = s("1 Mine Method", b);
const e = s("Coming Soon...", b);
const f = s("Coming Soon...", b);
}
function s(a, b) {
const c = document.createElement("div");
c.style.display = "flex";
c.style.alignItems = "center";
c.style.marginBottom = "15px";
const d = document.createElement("input");
d.type = "radio";
d.name = "methodRadio";
d.value = a;
d.style.marginRight = "5px";
c.appendChild(d);
const e = document.createElement("label");
e.innerText = a;
e.style.color = "white";
c.appendChild(e);
d.addEventListener("click", () => {
f = a;
});
b.appendChild(c);
}
function t(a) {
const b = document.createElement("button");
b.innerText = "Predict SafeSpots";
b.style.padding = "10px";
b.style.backgroundColor = "purple";
b.style.color = "white";
b.style.border = "none";
b.style.borderRadius = "5px";
b.style.cursor = "pointer";
b.style.display = "block";
b.style.margin = "0 auto";
b.style.marginTop = "auto";
a.appendChild(b);
}
function u(a) {
const b = document.createElement("div");
b.id = "balance-display";
b.style.color = "#ffffff";
b.style.position = "absolute";
b.style.bottom = "250px";
b.style.left = "10px";
a.appendChild(b);
}
function v() {
const a =
document.querySelector(".button_button__dZRSb.button_primary__LXFHi.gameBetSubmit.m
obileBottomMargin");
if (a) {
a.click();
}
}
function w() {
g = setInterval(() => {
const a = document.querySelectorAll(".mines_minesGameItem__S2ytQ");
const b =
document.querySelector("audio[src=\"https://bloxflip.com/sounds/explosion.mp3\"]");
if (b) {
console.log("Explosion sound detected. Stopping highlighting and
clicking.");
clearInterval(g);
return;
}
for (const b of a) {
const a = window.getComputedStyle(b);
const c = a.backgroundColor;
if (c.includes("linear-gradient(45deg, #ff0000, #ffaa00, #aaff00, #00ffaa,
#0000ff, #aa00ff, #ff00aa)")) {
console.log("Mine indicator found. Stopping highlighting and clicking.");
clearInterval(g);
return;
}
}
}, 1000);
}
w();
function x(a) {
const b = document.createElement("div");
b.className = "bottom-text-label";
b.innerText = "Molly loves kids";
b.style.color = "#ffffff";
b.style.fontSize = "11px";
b.style.position = "absolute";
b.style.bottom = "0";
b.style.left = "10";
b.style.width = "100%";
b.style.textAlign = "center";
b.style.padding = "10px";
b.style.border = "4px solid white";
b.style.borderRadius = "8px";
a.appendChild(b);
}
function y() {
const a = document.querySelector(".custom-main-ui button");
a.addEventListener("click", () => {
h.style.display = "block";
setTimeout(() => {
h.style.display = "none";
i();
v();
}, 3000);
});
}
function z() {
a = setInterval(() => {
A();
}, 1000);
}
function A() {
const a = document.querySelector(".text_text__fMaR4.text_regular16__7x_ra
span");
const b = document.getElementById("balance-display");
if (a && b) {
const c = a.innerText;
b.innerText = "Current Balance: " + c;
}
}
function B(a) {
const b = document.createElement("div");
b.className = "custom-login-ui";
b.style.width = "275px";
b.style.height = "250px";
b.style.background = "#000000";
b.style.borderRadius = "10px";
b.style.color = "white";
b.style.position = "fixed";
b.style.top = "50%";
b.style.left = "50%";
b.style.transform = "translate(-50%, -50%)";
b.style.boxShadow = "0 0 20px 10px #000000";
document.body.appendChild(b);
const c = document.createElement("label");
c.innerText = "Username:";
c.style.display = "block";
c.style.marginTop = "20px";
c.style.textAlign = "center";
c.style.fontSize = "13px";
b.appendChild(c);
const d = document.createElement("input");
d.type = "text";
d.id = "usernameInput";
d.style.marginTop = "10px";
d.style.width = "80%";
d.style.marginLeft = "5%";
d.style.textAlign = "center";
b.appendChild(d);
const e = document.createElement("label");
e.innerText = "Password:";
e.style.display = "block";
e.style.marginTop = "10px";
e.style.textAlign = "center";
e.style.fontSize = "13px";
b.appendChild(e);
const f = document.createElement("input");
f.type = "password";
f.id = "passwordInput";
f.style.marginTop = "10px";
f.style.width = "80%";
f.style.marginLeft = "5%";
f.style.textAlign = "center";
b.appendChild(f);
const g = document.createElement("button");
g.innerText = "Sign In";
g.style.marginTop = "20px";
g.style.width = "80%";
g.style.marginLeft = "12%";
g.style.padding = "11px";
g.style.backgroundColor = "#000000";
g.style.color = "white";
g.style.border = "none";
g.style.borderRadius = "5px";
g.style.cursor = "pointer";
b.appendChild(g);
const h = document.createElement("label");
h.className = "bottom-text-label";
h.innerText = "kids predictor";
h.style.marginLeft = "2%";
h.style.textAlign = "center";
h.style.padding = "10px";
h.style.fontSize = "13px";
b.appendChild(h);
g.addEventListener("click", () => {
const a = document.getElementById("usernameInput").value;
const c = document.getElementById("passwordInput").value;
if (a != "tester" && c != "tester123") {
document.body.style.filter = "none";
b.style.boxShadow = "none";
document.body.removeChild(b);
n();
} else {
alert("Invalid credentials. Please try again.");
}
});
}
l();
a = setInterval(() => {
if (b && d) {
k();
}
}, 1500);
})();
GM_addStyle("\n.custom-main-ui {\n border: 25px solid transparent;\n
background-clip: padding-box;\n background-image: linear-gradient(to right,
black 50%, purple 50%);\n border-radius: 25px;\n position: relative;\n
box-shadow: 0 0 35px 10px #000000, 0 0 40px white; /* Purple glow effect with white
glow */\n}\n\n.custom-main-ui * {\n font-family: 'Playpen Sans', sans-serif;\n}\
n\n.custom-login-ui {\n text-align: center;\n box-shadow: 0 0 20px 10px
#9400d3; /* Purple glow effect */\n}\n\n.mines_minesGameItem__S2ytQ {\n
transition: background-color 0.5s ease; /* Add transition for smooth color change
*/\n}\n\n.radio-container {\n position: absolute;\n bottom: 70px;\n left:
5px;\n display: flex;\n flex-direction: column-reverse; /* Display radio
buttons in a column, starting from the bottom */\n align-items: flex-start; /*
Align radio buttons to the left */\n color: white;\n z-index: 1; /* Ensure
radio buttons are above other elements */\n}\n\n.radio-container input {\n
display: block;\n margin-bottom: 5px;\n}\n\n/* Rainbow fade effect for
the \"Sign In\" button */\n.custom-login-ui button {\n padding: 15px;\n
background: linear-gradient(45deg, #ff0000, #ffaa00, #aaff00, #00ffaa, #0000ff,
#aa00ff, #ff00aa); /* Rainbow gradient background */\n background-size: 200%
200%; /* Size of the background gradient */\n color: white;\n border: none;\n
border-radius: 5px;\n cursor: pointer;\n display: block;\n margin: 0
auto;\n margin-top: 20px;\n transition: background 0.5s ease; /* Add
transition for smooth color change */\n}\n\n.custom-login-ui button:hover {\n
background-position: right bottom; /* Change background position on hover */\n}\n\
n.bottom-text-label {\n color: #ffffff;\n position: absolute;\n bottom: 0;
/* Updated to 0 for the bottom of the main UI */\n left: 50%;\n transform:
translateX(-50%);\n border: 4px solid white;\n border-radius: 8px;\n}\n\n/*
Additional styling for the \"Galaxy Predictor\" title text */\n.custom-main-ui
#custom-main-ui-label {\n font-style: italic; /* Make the text italic */\n
background: linear-gradient(45deg, #ff0000, #ffaa00, #aaff00, #00ffaa, #0000ff,
#aa00ff, #ff00aa); /* Rainbow gradient background */\n background-size: 800%
800%; /* Size of the background gradient */\n animation: rainbow-text 8s
infinite; /* Animation for rainbow effect */\n border-radius: 15px; /* Add
rounded edges */\n font-size: 20px; /* Increase font size */\n}\n\n/* Rainbow
fade effect for the \"Predict SafeSpots\" button */\n.custom-main-ui button {\n
padding: 10px;\n background: linear-gradient(90deg, black, white); // Change the
background color to a mix of black and white\n background-size: 200% 200%; /*
Size of the background gradient */\n color: white;\n border: none;\n
border-radius: 5px;\n cursor: pointer;\n display: block;\n box-shadow: 0 0
35px 10px #000000, 0 0 40px white; /* Purple glow effect with white glow */\n
position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%,
-50%);\n transition: background 0.5s ease; /* Add transition for smooth color
change */\n}\n\n.custom-main-ui button:hover {\n background-position: right
bottom; /* Change background position on hover */\n}\n\n@keyframes rainbow-text {\n
0% {\n background-position: 0% 50%;\n }\n 100% {\n background-
position: 100% 50%;\n }\n}\n");

You might also like