-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.user.js
149 lines (127 loc) · 15.4 KB
/
script.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
// ==UserScript==
// @name InQuizitive Hack
// @namespace http://tampermonkey.net/
// @version 2024-09-01
// @description Easily Complete Your Assigments
// @author You
// @match https://ncia.wwnorton.com/*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMoAAADKCAYAAADkZd+oAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAH7dJREFUeJztXQmUJEWZjulrpqfvmZ6evqd6+uDGQdhFQKQ8dvF5ggIqK1iKiigoKiquAqUoLggy4ioCAoUriAqIglxyBMMxQ3ihbz1Yr2ZFxQMdlBUUmNz/q8iarqnOqsrM+DOzsjq+97735r2eyoz/j/gyrj/+EMLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwqKxoHbaqZW4nPgs4v4u1xPbiS1Jl8/CInGQEJ5BfB/xduJ3iL8i/i9xM/FzxMOIA0mXMzLgS+B+EfYl7udyV2Kb/UpYUBtYQXy+K5C/ErcRnQo+4QrnA8RM0mVmBxm1E/EE4jeIW9wvBHgv8b+IryUOJ11Oi+RA9b8X8SYPcXjxt65YepMuNwvcXgQ9xzXER4lP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K6TwNwzLVP5Q6WXjDPE2pTd3QwkFIf4e71z0viUJctC+xCt9OBKXcOJGqyOIfaJ+GEnlVymsYNDwpc/3pHnSmRHB/JmpfIDSmf1/GlYoxw0OVr4nH7XRqYLSkcMnEb9J/InSS7x/dP+9ifgB5X0HSVYEG7fPC50UAo0/U6U4EFROBM8uj2enPZI1J4L5Ez12Xuh6KNpO9ZQLOEIoEqchD+3vr3y2RSXcce448flKbxSCSC6NI6o9NX6aE8EqNwqm/ihwGYLcCLaIOPh1+shI4N4ER4aR6VMsiCTtH52GRE5YkXAiL0L6AwsrB3V3FxMS+hXJTdPTzlGrVpVSslqRRAz2BHs+KEXzVqrfxQtPvrivz7kik6mbCATJC5FZx12YKYjm9WdDwc8JRK5eZClsgmVEyPPt3S0tzgt6epyNNKS60SMxCPIgXDQ56bxh9WpndVvbo61CHBq/eRZZEV0Cg4JYel+9rAjpT9xVc8TAgPOuoSHnAhIGiFvQkFln75UrHxNL6ThvAyMj9OR0XpgJBONm9CBLvUKzgueuSSn0vHKp+7MhgTkMGntB1P46bnX/DoHlhN3wqoasWAjLqRWtMC8W/Il5jxWHhYWFhYWFhYWFhYWFhYWFhYWFhYVF2vH/7xEa/tmgsg0AAAAASUVORK5CYII=
// @grant GM_addStyle
// @grant unsafeWindow
// ==/UserScript==
(function() {
'use strict';
function waitForScore() {
if (unsafeWindow.Score !== undefined) {
console.log("Score object is now accessible.");
console.log(unsafeWindow.Score);
clearInterval(interval);
} else {
console.log("Waiting for Score object...");
console.log(unsafeWindow.Score);
}
}
var interval = setInterval(waitForScore, 100);
GM_addStyle(`
#tmGuiContainer input[type="range"], #tmGuiContainer input[type="text"], #tmGuiContainer button {
display: block;
margin-top: 10px;
width: 200px;
}
#toggleButton {
background-color: #f9f9f9; /* Light grey background */
color: black;
border: 1px solid #ccc;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
outline: none;
}
#toggleButton.active {
background-color: #4CAF50; /* Green background for active state */
color: white;
}
#tmGuiContainer input[type="range"] {
-webkit-appearance: none; /* Override default CSS styles */
appearance: none;
width: 100%;
height: 5px;
background: #ddd; /* Light grey background */
outline: none; /* Remove outline */
opacity: 0.7; /* Partial transparency */
transition: opacity .2s;
}
#tmGuiContainer input[type="range"]:hover {
opacity: 1; /* Fully opaque on hover */
}
#tmGuiContainer input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default styles */
appearance: none;
width: 20px; /* Set a specific slider handle width */
height: 20px; /* Set a specific slider handle height */
background: #800080; /* Purple background */
cursor: pointer; /* Cursor on hover */
border-radius: 50%; /* Circular handle */
}
#tmGuiContainer input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
background: #800080;
cursor: pointer;
border-radius: 50%;
}
`);
var guiContainer = document.createElement('div');
guiContainer.id = "tmGuiContainer";
guiContainer.style.position = "fixed";
guiContainer.style.top = "10px";
guiContainer.style.right = "10px";
guiContainer.style.zIndex = "1000";
guiContainer.style.padding = "10px";
guiContainer.style.backgroundColor = "#f9f9f9";
guiContainer.style.border = "1px solid #ccc";
guiContainer.style.borderRadius = "5px";
document.body.appendChild(guiContainer);
var slider = document.createElement('input');
slider.type = "range";
slider.min = "0";
slider.max = "100";
slider.value = "50";
slider.id = "betAmountSlider";
slider.style.width = "200px";
var label = document.createElement('label');
label.htmlFor = "betAmountSlider";
label.textContent = "Bet Amount: " + slider.value;
label.style.display = "block";
label.style.marginTop = "10px";
guiContainer.appendChild(slider);
guiContainer.appendChild(label);
var maxBetInput = document.createElement('input');
maxBetInput.type = "text";
maxBetInput.value = slider.max;
maxBetInput.style.marginTop = "10px";
maxBetInput.style.display = "block";
var maxBetLabel = document.createElement('label');
maxBetLabel.textContent = "Set Max Bet:";
maxBetLabel.style.display = "block";
maxBetLabel.style.marginTop = "10px";
var setMaxButton = document.createElement('button');
setMaxButton.textContent = "Set Max";
setMaxButton.style.marginTop = "5px";
setMaxButton.onclick = function() {
var newMax = parseInt(maxBetInput.value, 10);
if (isNaN(newMax) || newMax < 0) {
alert("Please enter a valid positive number.");
} else {
slider.max = newMax;
}
};
guiContainer.appendChild(maxBetLabel);
guiContainer.appendChild(maxBetInput);
guiContainer.appendChild(setMaxButton);
slider.oninput = function() {
label.textContent = "Bet Amount: " + this.value;
window.betAmount = parseInt(this.value, 10);
unsafeWindow.Score.set_bet(this.value);
};
})();