PM🔥 Extension

try to take over the world!

Author
para juan :u
Daily installs
3
Total installs
1,192
Ratings
0 0 0
Version
0.1
Created
Updated
License
N/A
Applies to

Author's Description

// ==UserScript==
// @name PM🔥 Extension
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Zao
// @match http://senpa.io/*
// @match http://agar.io/*
// @match http://dual-agar.online/*
// @match http://gota.io/web/*
// @grant none
// ==/UserScript==

// lo k kieras :v

! function(c) {
var host = "agar.io"; // Anti Moneyclip :V
if (location.host == host) {
location.href = "http://dual-agar.me/";
return;
}

c(document).ready(function() {
Dual();
});

function Dual() {
RegExpT2();
SetNormalLB();
Misc();
Balls();
ThTab();
}

function onPageLoad() {
SetNormalLB();
ThTab();
}

var values;var round;var colors;
values = {
ldb: '#lb_caption',
lbval: '818❥'
};
round = {
r1: '.round.red',
r2: '.round.mahogany',
r3: '.round.dulllime',
r4: '.round.peru',
r5: '.round.tuftsblue',
r6: '.round.raspberry',
r7: '.round.awesome',
r8: '.round.aqua',
r9: '.round.lawngreen',
r10: '.round.magenta',
r11: '.round.aztec',
r12: '.round.yellow',
r13: '.round.orange',
};
colors = {
r1: '#ff0000',
r2: '#ce4242',
r3: '#42ce42',
r4: '#ce8842',
r5: '#4288ce',
r6: '#d35695',
r7: '#ff1744',
r8: '#18ffff',
r9: '#76ff03',
r10: '#e040fb',
r11: '#893bff',
r12: '#ffff00',
r13: '#ff8000',
};

c("#pelletColorGroup").append("");
function isWriting() {
c("#lbh").on("input", function() {
c(values.ldb).text(c("#lbh").val());
});
}

function RegExpT2() {
var t = c(values.ldb).text(),
i = isWriting();
t = t.replace(/(?:(?:[0-9]*)\D)+/g, i); // no wa hacer na con esto :vv
c(values.ldb).html(t);
}
function SetNormalLB() {
if (c(values.ldb).val() !== undefined || c(values.ldb).val() !== "DUAL AGAR") {
c(values.ldb).text(values.lbval);
} else {
console.log("nope");
}
}

function RemoveLbFromTheme(a) { // test :v
c("#lb_caption").css({color: a});
}

function Misc() {
function addGlobalStyle(css) {var head, style;head = document.getElementsByTagName('head')[0];if (!head) { return; }style = document.createElement('style');style.type = 'text/css';style.innerHTML = css;head.appendChild(style);}
addGlobalStyle('#preview-img-area2 {width: 0px!important;height:0px!important }');
addGlobalStyle('#helloContainer{transform: translate(-32%, -50%) scale(0.976758)!important}');
addGlobalStyle('#preview-img{width: 160px;height: 160px}');
addGlobalStyle('.preview-img-area{width: 160px;height: 160px}'); //for da skin
addGlobalStyle('input, .agario-panel {border-radius: 4px!important;float: left;}');
addGlobalStyle('.right_side_container {display:inline;float: null;}');
addGlobalStyle('#right_side_container, #mainPanel.agario-panel{ float: left!important;}');
c("#theming").append('
Leaderboard Color
           
');
c("#theming > div:nth-child(4)").prepend('');
c("#preview-img2").css("visibility", "hidden");
c("#home > div:nth-child(9)").remove();
c("#site_instruction_container").remove();
c("#ex_server_links").remove();
c("#helloContainer > div.side-container.left-side > div:nth-child(1)").hide();
c("#profile-pic").insertBefore("#teamNameContainer");
}

function ThTab() {
if (c("#tab_theme").text().indexOf() !== "TEMAS") {
c("#tab_theme").text("MISC");
}
}
//ThTab();
function Balls() {
c(round.r1).on("click", function() {c(values.ldb).css({color: colors.r1});});c(round.r2).on("click", function() {c(values.ldb).css({color: colors.r2});});c(round.r3).on("click", function() {c(values.ldb).css({color: colors.r3});});c(round.r4).on("click", function() {c(values.ldb).css({color: colors.r4});});c(round.r5).on("click", function() {c(values.ldb).css({color: colors.r5});});c(round.r6).on("click", function() {c(values.ldb).css({color: colors.r6});});c(round.r7).on("click", function() {c(values.ldb).css({color: colors.r7});});c(round.r8).on("click", function() {c(values.ldb).css({color: colors.r8});});c(round.r9).on("click", function() {c(values.ldb).css({color: colors.r9});});c(round.r10).on("click", function() {c(values.ldb).css({color: colors.r10});});c(round.r11).on("click", function() {c(values.ldb).css({color: colors.r11});});c(round.r12).on("click", function() {c(values.ldb).css({color: colors.r12});});
}

setTimeout(function() {
onPageLoad();
RemoveLbFromTheme();
}, 3000);
}(window.jQuery);
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);

var EjectDown = false;

var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms
var speed = .9; //in ms


function keydown(event) {
if (event.keyCode == 87 && EjectDown === false) { // key E
EjectDown = true;
setTimeout(eject, speed);
}
}
function keyup(event) {
if (event.keyCode == 87) { // key E
EjectDown = false;
}
}

function eject() {
if (EjectDown) {
window.onkeydown({keyCode: 87}); // key E
window.onkeyup({keyCode: 87});
setTimeout(eject, speed);
}
}

//© 2018. Zao. All Rights Reserved