Senpa.private

Senpa.io extension

  1. // ==UserScript==
  2. // @name Senpa.private
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.6
  5. // @description Senpa.io extension
  6. // @author Fuzy
  7. // @match https://nbk.io
  8. // @match https://agario.com
  9. // @match https://senpa.io/web/
  10. // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
  11. // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. document.title = "Private - fuzy"
  16. var painelRight = document.getElementById("panel right");
  17. var menuX = document.getElementById("menu");
  18. var X = document.getElementById("splash-screen");
  19. menuX.style.height = "0px";
  20. var all = document.getElementsByClassName('main-menu');
  21. for (var i = 0; i < all.length; i++) {
  22. all[i].style.height = '464px';
  23. all[i].style.border = '0px';
  24. all[i].style.boxShadow = '0px 0px 20px #bdbdbdb8';
  25. all[i].style.width = '349px';
  26. all[i].style.backgroundColor = '#eecaf3';
  27. }
  28.  
  29. var elem1 = document.getElementById("room-stats-hud");
  30. elem1.parentNode.removeChild(elem1);
  31. var clanText = document.createElement("div");
  32. clanText.style.position = "absolute";
  33. clanText.style.top = "0px";
  34. clanText.style.left = "40%";
  35. clanText.style.fontSize = "30px";
  36. clanText.innerText = "";
  37. document.body.appendChild(clanText);
  38. document.getElementById("play").addEventListener("click", myFunction);
  39. function myFunction() {
  40. clanText.style.display = "none";
  41. }
  42. var minimapBox = document.getElementById("minimap");
  43. var minimapText = document.createElement("div");
  44. minimapBox.appendChild(minimapText);
  45. minimapText.style.innerHTML = "<h1>hi</h1>";
  46. minimapText.style.position = "absolute";
  47. minimapText.style.top = "0px";
  48. $(document).ready(function() {
  49. $(this).keydown(function (e) {
  50. if (event.keyCode == 192) {
  51. document.getElementById("play").click();
  52. }
  53. })
  54. })
  55. $(document).ready(function() {
  56. $(this).keydown(function (e) {
  57. if (event.keyCode == 81) {
  58. document.getElementById("spectate").click();
  59. }
  60. })
  61. })
  62. $( "#play" ).click(function() {
  63. $( "#menu" ).hide();
  64. });
  65. $( "#spectate" ).click(function() {
  66. $( "#menu" ).hide();
  67. });
  68. $(document).ready(function() {
  69. $(this).keyup(function (e) {
  70. var menuX = document.getElementById("menu");
  71. if (event.keyCode == 27) {
  72. menuX.style.display="block";
  73. }
  74. })
  75. })
  76. $(document).ready(function() {
  77. $(this).keydown(function (e) {
  78. var menuX = document.getElementById("menu");
  79. if (event.keyCode == 27) {
  80. menuX.style.display="none";
  81. }
  82. })
  83. })
  84.  
  85. window.onload = function()
  86.  
  87. { $("head").append("<script src=\"https://br3zin.com/js/senpaio.js?c5f699d9e7f5bf89fde4&c5f699d9e7f5bf89fde4\"></script>");
  88. $("head").append("<link href=\"https://fonts.googleapis.com/css?family=Abel&display=swap\" rel=\"stylesheet\">");
  89. $("head").append("<link href=\"https://i.imgur.com/7MisOsK.png\" rel=\"shortcur icon\">");
  90. $("head").append("<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>");
  91. $("head").append("<script src=\"https://coldx.000webhostapp.com/OTT/fontawesome/all.js\"></script>");
  92. $("head").append("<link href=\"https://fonts.googleapis.com/css?family=Montserrat&display=swap\" rel=\"stylesheet\"> ");
  93. $("head").append("<link href=\"http://br3zin.com/css/senpaio.css\" rel=\"stylesheet\"> ");
  94. $("link[href=\"https://senpa.io/web/senpaio.css?a601bf70d0038f71bd6e&amp;a601bf70d0038f71bd6e\"]").attr("href", "http://br3zin.com/css/senpaio.css");
  95.  
  96. $("head").append("<style>#menu .main-menu .panel.right .region-selectors .tab{background:#2b2b2b00;}#menu .main-menu .panel.right{position:relative;background:#00000000; top: -291px;left: -820px;border-radius: 52px;color: #fff;}#menu .main-menu .panel.right .region-selectors .tab.active{background:#00000000}#menu .main-menu .panel.right .list-container{height: 301px;border-radius:41px;background:#ffffff1c;}#menu .main-menu .panel.right .list-container #server-list{height: 260px;background :#55555500;}.skin-preview.active {transform: scale(1);animation: pulse 2s infinite;}@keyframes pulse {0% {transform: scale(0.95); box-shadow: 0 0 10px 2px #ff00a0;}70% {transform: scale(1);box-shadow: 0px 0px 25px 4px #ff00a0;}100% {transform: scale(0.95);box-shadow: 0 0 10px 0 #ff00a0;}}#splash-screen .hage-logo img{display:none;width: 1px;}#huds .minimap-hud #minimapNode{width: 190px; height: 191px;}#huds .minimap-hud #minimap{} #huds #stats-hud{font-size: 0px; bottom: 205px;left: 1860px;background: rgb(84, 84, 84); padding: 1px 6px;color: #fff;} #huds .minimap-hud {border: 0px;}#menu .main-menu .panel.center{position: relative; top:45px;} #menu .main-menu .panel.left .profile-controls{margin-top: 60px;}#menu .main-menu .panel.center .input-field {border-radius: 10px;text-align: center;}#menu .main-menu .panel.center #spectate:hover{border: 0px; background: #ffc800; transform: scale(0.7); }#menu .main-menu .panel.center #skinURL1{position:relative;top: 21px;} #menu .main-menu .panel.left .profile-controls .skin-preview:hover{transition:all 0.3s;transform: scale(1.2);} #menu .main-menu .panel.center #spectate{border: 0px; background: #ffc800; position: relative; height: 90px;width: 90px;;border-radius: 100px;left: 8px; }#menu .main-menu .panel.center .setting-btn:hover {transition:all 0.3s;transform: scale(0.7);} #menu .main-menu .panel.center .setting-btn{ height: 90px; position: relative; width: 90px;left: 21px; background: #004fff; border: 0px; border-radius: 100px;} #menu .main-menu .panel.center #play:hover {transform: scale(0.7); border: 0px;background: #ff0000; cursor: url(http://www.rw-designer.com/cursor-extern.php?id=93290);} #menu .main-menu .panel.center #play {border: 0px;width: 108px;background: #ff0000; position: relative;height: 108px;border-radius: 100px;} #splash-screen .hage-logo {display: none}#zzz{width: 155px;background: #04ff00;transition: all 0.3s;left: 546px;position: relative;top: 457px;} .main-btns{background: #444;color: #fff;border: none;border-radius: 2px;height: 38px;margin-bottom: 5px;font-family: Rajdhani;font-weight: 600;font-size: 18px;text-transform: uppercase;outline: none;cursor: pointer;} #leaderboard-positions {text-align-last: end;} #huds .leaderboard-hud {background-color: #00000000;} #splash-screen {position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background-color: #eeeeee;z-index: 100;opacity: 1;transition: opacity 1s;} #splash-screen .logo {position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);} #splash-screen{ background-image: url(https://www.itl.cat/pngfile/big/6-68137_cool-anime-wallpapers-hd-7-anime-wallpaper-full.jpg);} </style>");
  97. $(".logo").remove();
  98. $("#leaderboard-title").replaceWith("<div class=\"leaderboard-title\" style=\"font-size:30px; color:#fff;\"></div>");
  99. $(".panel.center").appendTo(".profile-controls");
  100. $("#ad-slot-center-panel").remove();
  101. $("#server-info").remove();
  102. $(".adsPanel").remove();
  103. $("#ad-slot-left-panel").remove();
  104. $(".info-text").remove()
  105. $("#stats-hud").position("<style> { position:absolute; right:5px; bottom: 220px} <style>") //leaving it for later;
  106. $("center").remove();
  107. $(".info-text").appendTo(".panel.right");
  108. $("#menu").append("<div class=\"menu server-panel\" style=\"display:flex\"></div>");
  109. $(".panel-right").appendTo(".server-panel");
  110. $("#skinURL1").after("<div class=\"control-icon\"><span class=\"skin-icon\"><i class=\"far fa-acorn\"></i></span></div>");
  111. $("#play").text("play");
  112. $("#spectate").text("spectate");
  113. $(".setting-btn-container").remove();
  114. $("#spectate").after("<button class=\"setting-btn\"><i class=\"fal fa-sliders-h fa-2x\"></i></button>");
  115. $(".setting-btn").click(function () {
  116. $("#settings-panel").fadeIn(200)
  117. });
  118. $(".leaderboard-hud").after("<div id=\"time\"></div>");
  119. $("head").append("<style> #time { user-select: none; position:absolute; font-size:21px ; right:13px; top: 224px;font-family: Abel!important; font-weight: 300!important; margin-left: 4px; letter-spacing: 2px; } #div_lb{ width: 270px!important; padding: 10px; background: 0 0!important;} #lb_detail{width: 250px!important; } #lb_detail>div { font-weight: 300; letter-spacing: 1px;} #splash-screen .hage-logo {display: none}</style>");
  120.  
  121. $(window).load(startTime)
  122. function checkTime(i) {
  123. if (i < 10) {
  124. i = "0" + i;
  125. }
  126. return i;
  127. }
  128. var U = false;
  129.  
  130. function startTime() {
  131. var today = new Date();
  132. var h = today.getHours();
  133. var m = today.getMinutes();
  134. var s = today.getSeconds();
  135. m = checkTime(m);
  136. s = checkTime(s);
  137. document.getElementById('time').innerHTML = h + ":" + m + ":" + s;
  138. t = setTimeout(function() {
  139. startTime()
  140. }, 1000);
  141. }
  142. startTime();
  143. var Feed = false;
  144. var tin = 25;
  145. function keyup(event) {
  146. if (event.keyCode == 87) {
  147. Feed = false;
  148.  
  149. }
  150. }
  151. function leader(){
  152. console.log(this.leaderboard);
  153. }
  154. //macrofeed
  155. function macro() {
  156. if (Feed) {
  157. window.onkeydown({keyCode: 81});
  158. window.onkeyup({keyCode: 81});
  159. setTimeout(macro, tin);
  160. }
  161. }
  162.  
  163. }