CheatWare a mod menu for many games but at the moment only venge.io also works with school laptops/computers
目前為
// ==UserScript==
// @name venge mod menu
// @namespace http://tampermonkey.net/
// @version 0.3
// @description CheatWare a mod menu for many games but at the moment only venge.io also works with school laptops/computers
// @author Zaidbaidadekalb
// @match https://venge.io/
// @icon https://www.google.com/s2/favicons?domain=venge.io
// @grant none
// @license GNU General Public License v3.0
// ==/UserScript==
alert("Thank you for using CheatWare Make sure the script is up to date or there will be a hight risk of ban");
var vengelink = "https://venge.io/"
var customFov = 103;
var key = "Zaid"
var link2 = "https://www.codegrepper.com/code-examples/javascript/how+to+position+a+button+in+javascript"
if (confirm("do you want to get key if not click cancel ")) {
txt = alert("OK");
document.write('<!DOCTYPE html>');
document.write('<html>');
document.write('<head>');
document.write('<meta name="viewport" content="width=device-width, initial-scale=1">');
document.write('<style>');
document.write('.tooltip {');
document.write(' position: relative;');
document.write(' display: inline-block;');
document.write('}');
document.write('');
document.write('.tooltip .tooltiptext {');
document.write(' visibility: hidden;');
document.write(' width: 140px;');
document.write(' background-color: #555;');
document.write(' color: #fff;');
document.write(' text-align: center;');
document.write(' border-radius: 6px;');
document.write(' padding: 5px;');
document.write(' position: absolute;');
document.write(' z-index: 1;');
document.write(' bottom: 150%;');
document.write(' left: 50%;');
document.write(' margin-left: -75px;');
document.write(' opacity: 0;');
document.write(' transition: opacity 0.3s;');
document.write('}');
document.write('');
document.write('.tooltip .tooltiptext::after {');
document.write(' content: "";');
document.write(' position: absolute;');
document.write(' top: 100%;');
document.write(' left: 50%;');
document.write(' margin-left: -5px;');
document.write(' border-width: 5px;');
document.write(' border-style: solid;');
document.write(' border-color: #555 transparent transparent transparent;');
document.write('}');
document.write('');
document.write('.tooltip:hover .tooltiptext {');
document.write(' visibility: visible;');
document.write(' opacity: 1;');
document.write('}');
document.write('</style>');
document.write('</head>');
document.write('<body>');
document.write('');
document.write('<p>Just go to the pastebin then get key then Refreash page then put key .</p>');
document.write('');
document.write('<input type="text" value="https://pastebin.com/raw/RqsSfL9j" id="myInput">');
document.write('');
document.write('<div class="tooltip">');
document.write('<button onclick="myFunction()" onmouseout="outFunc()">');
document.write(' <span class="tooltiptext" id="myTooltip">Copy to clipboard</span>');
document.write(' Copy text');
document.write(' </button>');
document.write('</div>');
document.write('');
document.write('<script>');
document.write('function myFunction() {');
document.write(' var copyText = document.getElementById("myInput");');
document.write(' copyText.select();');
document.write(' copyText.setSelectionRange(0, 99999);');
document.write(' navigator.clipboard.writeText(copyText.value);');
document.write(' ');
document.write(' var tooltip = document.getElementById("myTooltip");');
document.write(' tooltip.innerHTML = "Copied: " + copyText.value;');
document.write('}');
document.write('');
document.write('function outFunc() {');
document.write(' var tooltip = document.getElementById("myTooltip");');
document.write(' tooltip.innerHTML = "Copy to clipboard";');
document.write('}');
document.write('</script>');
document.write('</body>');
document.write('</html>');
document.write('');
} else {
txt = alert
}
if (confirm("Make sure you have the correct key if not click cancel here is the key: " + key)) {
txt = alert
} else {
txt = alert("You clicked cancel");
div.remove()
}
var version = "the version is 0.3"
let div = document.createElement("div");
let btn = document.createElement("button");
let btn2 = document.createElement("button");
let vengeb = document.createElement("button");
let text = document.createElement("textContent");
let github = document.createElement("button");
btn.innerHTML = "version";
btn2.innerHTML = "Start";
vengeb.innerHTML = "Venge.io!";
btn.style= "display: block";
btn2.style= "display: block";
github.style = "display: block";
vengeb.style= "display: block";
vengeb.style.opacity = "0";
div.id = "div_id" ;
div.className = "div_class";
div.style= "display: inline-block";
div.style = "background-color:#2c2c2c;";
div.style.width = "300px";
div.style.height = "300px";
document.body.appendChild(div);
div.style.zIndex = "10000000";
div.style.position = "fixed";
div.style.top = "440px"; //or whatever
div.style.left = "1500px"; // or whatever
div.style.borderRadius = "5px";
btn.style.borderRadius = "5px";
btn.style.position = "absolute";
btn2.style.position = "absolute";
btn.style.marginLeft = "5px";
btn2.style.marginLeft = "244px";
btn2.style.marginTop = "259px";
btn2.style.borderRadius = "5px";
btn.style.marginTop = "5px";
github.style.borderRadius = "5px";
github.style.position = "absolute";
btn.style.marginLeft = "5px";
github.style.marginTop = "-230px";
vengeb.style.marginTop = '237px'
vengeb.style.marginLeft = "230px";
vengeb.style.borderRadius = "5px";
div.innerHTML = "Settings/Things";
github.innerHTML = "GitHub Page";
btn.onclick = function () {
alert(version);
};
// key \\
if (key === "Zaid") {
alert("You have the correct key");
}
vengeb.onclick = function () {
alert("Enjoy CheatWare")
javascript:(function(){window.s0=document.createElement('script');window.s0.setAttribute('type','text/javascript');window.s0.setAttribute('src','https://bookmarkify.it/bookmarklets/52126/raw');document.getElementsByTagName('body')[0].appendChild(window.s0);})();
if (window.location.href === vengelink){
alert
} else {
alert("Error code 140 check GitHub");
}
}
btn2.onclick = function () {
vengeb.style.opacity = "1";
}
if (key != "Zaid") {
div.remove()
alert("wrong key or it might be that you just dident type anyhting in the keybox");
}
github.onclick = function () {
window.open("https://github.com/Zaidbaidadekalb/Game-cheats-WIP-");
}
//End of Key \\
div_id.appendChild(btn);
div_id.appendChild(btn2);
div_id.appendChild(vengeb);
div_id.appendChild(text);
div_id.appendChild(github);
text.style.position = 'absolute';
text.textContent = "Main"
text.style.top = "240px";
text.style.left = "250px";
// The current position of mouse
let x = 0;
let y = 0;
// Query the element
const ele = document.getElementById('div_id');
// Handle the mousedown event
// that's triggered when user drags the element
const mouseDownHandler = function (e) {
// Get the current mouse position
x = e.clientX;
y = e.clientY;
// Attach the listeners to `document`
document.addEventListener('mousemove', mouseMoveHandler);
document.addEventListener('mouseup', mouseUpHandler);
};
const mouseMoveHandler = function (e) {
// How far the mouse has been moved
const dx = e.clientX - x;
const dy = e.clientY - y;
// Set the position of element
ele.style.top = `${ele.offsetTop + dy}px`;
ele.style.left = `${ele.offsetLeft + dx}px`;
// Reassign the position of mouse
x = e.clientX;
y = e.clientY;
};
const mouseUpHandler = function () {
// Remove the handlers of `mousemove` and `mouseup`
document.removeEventListener('mousemove', mouseMoveHandler);
document.removeEventListener('mouseup', mouseUpHandler);
};
ele.addEventListener('mousedown', mouseDownHandler);