Greasy Fork

Gota Extension

Made In Azerbaijan

目前为 2020-05-24 提交的版本。查看 最新版本

// ==UserScript==
// @name         Gota Extension
// @namespace    http://www.locked.epizy.com/
// @version      0.1
// @description  Made In Azerbaijan
// @author       Huseyn LOCKED
// @match        *.gota.io/web/*
// @grant        GM_addStyle
// @contributor  LOCKED
// @icon         https://pngimage.net/wp-content/uploads/2018/06/lm-png-4.png
// @download     http://locked.epizy.com/Script By LOCKMEDIA.user.js
// @require      https://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==


function addStyleSheet(style) {
    var getHead = document.getElementsByTagName("HEAD")[0];
    var cssNode = window.document.createElement('style');
    var elementStyle = getHead.appendChild(cssNode);
    elementStyle.innerHTML = style;
    return elementStyle;
}


 

//Custom Font, Logo and Minimap
addStyleSheet('@import url(https://fonts.googleapis.com/css?family=Ubuntu);');
GM_addStyle('#minimap-canvas {background-image: url("https://i.imgur.com/suUx0MD.png");}');
GM_addStyle('*{font-family: Ubuntu;}');
GM_addStyle('.coordinates {font-family: Ubuntu;}');
GM_addStyle('.lh,fz,#leaderboard-panel,#minimap-canvas {font-size: 24px;color:blue;}');







//script+
var v = "<span>[System] Welcome To Locked Extension</span>";
$("#chat-body-0 > tr:nth-child(1) > td > span")
    .replaceWith(v);






var minimap = document.getElementById('minimap-canvas');
minimap.style.background = "url('https://i.imgur.com/QF3128J.png')";
minimap.style.opacity = ".7";







//jquery edit
$(".main-bottom-links").css({
"display":"none",
});

$(".policyLinks,.divider").css({
"display":"none",
})

$("#inner-rb,.error-banner").remove();

$("#main-rb").css({
"background-color":"#00000000",
});

$(".main-rb-title").text('At least subscribe to my channel:)');
$(".main-rb-title").css({
    "color": "#21f358",
    "font-size": "large",
});

$("#chat-body-0 > tr:nth-child(1) > td > span").css({"color":"rgb(221, 221, 0)"});
$("#chat-tab-container").css({"border-color":"rgb(255, 255, 255)"});

$('#preroll').replaceWith(""); // Deletes Add

$(".ui-pane, .main-panel, .gota-btn, .server-table tbody, #name-box, #server-content,.main-bottom-stats").css({
    "border-color": "#ffffff00",
});

$("#main, #popup-profile").css({
"border-color":"rgba(255, 255, 255, 0)"
});

$('#server-tab-eu').text('Europe');

$('#server-tab-na').text('North America');

$('#server-tab-ap').text('Asia Pacific');



$("#main-themes > div.title-text").css({
    "color":"aqua"
});




//# edit
$( "#btn-trello" ).remove();
$('.error-banner').replaceWith("");
$('#inner-rb').replaceWith("");
$('#preroll').replaceWith(""); // Deletes Add
$('#emote-panel h3').css({
    "color":"#00ffff",

});


$('#score-mouse').css({
"color":"aqua",
})

$(".main-version").text('Extension Version:0.1');
$(".main-version").css({"font-size":"small"});


$(function(){
    $('#leaderboard-panel , #score-panel, #party-panel, #minimap-panel,  #main, #main-themes > div.title-text,#playerCells').css({"border":"none","color":"#00ffff"});
    $('.policyLinks').css({"display":"none"});
});

$('.sp-container.sp-flat,.sp-container').css({
    "border-inline-start-color":"black",
    "background":"black",
    "border-radius":"12%",
    "border-left-color":"black",
    "border-right-color":"black",
    "border-color":"black",
    "border-left":"solid 1px black",


});


$('.sp-dragger').css({
  "background":"white",
   "color":"aqua"

});
$('.sp-input').css({
   "color":"aqua"

});
$('.sp-picker-container').css({
 "border-left":" solid 1px #000",

})

$(function(){
    $('#chat-body-0 > tr:nth-child(1) > td > span').css({"border":"none","color":"#00ffff"});

});

//new edit :)


GM_addStyle('#main-account {margin: 10px 10px;}');
GM_addStyle('#main-social {background: none; border: none;}');
GM_addStyle('.main-bottom {margin-bottom: 12px;}');
GM_addStyle('.main-bottom-stats {border-radius: 5px}');
GM_addStyle('.main-input-btns {margin-top: 12px;}');
GM_addStyle('.gota-btn {border-radius: 15px;}');
GM_addStyle('.gota-btn:hover {filter: hue-rotate(25deg)}');
GM_addStyle('.gota-btn:hover {box-shadow: 0px 0px 0px rgba(10,10,10,10)}');
GM_addStyle('#popup-party {border-radius: 5px; border-width: 2px;}');
GM_addStyle('#popup-login {border-radius: 5px; border-width: 2px;}');
GM_addStyle('.login-input {border-radius: 0px}');
GM_addStyle('#name-box {font-weight: bold}');
GM_addStyle('.stext {margin-top: 2px; margin-bottom: 2px;}');
GM_addStyle('.server-row:hover {background: rgb(119, 119, 119);}');
GM_addStyle('.server-row {transition: all 0.3s}');
GM_addStyle('.server-container, .options-container {width: 90%;}');
GM_addStyle('.server-selected {background-color: rgba(0, 255, 255, 0.8) !important;}');
GM_addStyle('.sp-replacer, input[type="checkbox" i] {margin-right: 7.5px;}');
GM_addStyle('#name-box {display: inline-flex;}');
GM_addStyle('#main-account {background-color: rgba(0, 0, 0, 0)}');
GM_addStyle('.main-bottom-stats {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#main-scrimmage {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#scrimmage-menu {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#scrimmage-custom-btn-container {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#scrimmage-mode-info {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('.scrimmage-mode-box {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#popup-profile {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#emote-panel {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#autocomplete-panel {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#popup-party {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#server-tab-eu, #server-tab-na, #server-tab-ap {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#servers-body-eu, #server-content {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#servers-body-na, #server-content {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#servers-body-ap, #server-content {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('.server-selected {background-color: rgba(255, 0, 0, 0.78) !important}');
GM_addStyle('#name-box {color: #00ffff !important;  background-color: rgba(255, 255, 255, 0) !important}');
GM_addStyle('.options-container {background-color: rgba(50, 50, 50, 0) !important}');
GM_addStyle('.popup-panel {color: {background-color: rgba(50, 50, 50, 0) !important}');
GM_addStyle('#leaderboard-panel,#extra-panel {background-color: rgba(23, 22, 23, 0) !important;}');
GM_addStyle('#minimap-panel {background-color: rgba(23, 22, 23, 0) !important;}');
GM_addStyle('#score-panel {background-color: rgba(23, 22, 23, 0) !important; }');
GM_addStyle('  #leaderboard-panel , #minimap-panel, #extra-panel {border-color: rgba(0, 0, 0, 0)}');
GM_addStyle('#main-scrimmage {color: aqua!important;}');
GM_addStyle('.main-version {color: red;blue!important}');
GM_addStyle('#emote-panel {background-color: rgba(0, 0, 0, 0.75) !important}');
GM_addStyle('.asset-skinner-center input {color: #03A9F4; border-radius: 30px;}');
GM_addStyle("#lockmedias:hover {background: #26b326 !important;}");
GM_addStyle("#lockmedias {background: rgba(0, 149, 255, 0.6); border-radius: 18px; color: white; cursor: pointer; padding: 12px; position: absolute; text-decoration: none; transform: translate(-114.5px, 18px); transition: 0.2s; }");
GM_addStyle('.gota-btn,#main-account {background-color : rgba(0, 0, 0, 0) !important;}');
GM_addStyle('img.img-channel:hover, img#account-avatar:hover { box-shadow: 0px 0px 2px 2px #ffffff; }');
GM_addStyle('img.img-channel {height:60px; border-radius: 50%; display: block; margin: 0 auto 5px; box-shadow: 0px 0px 8px 2px #ffffffa6; box-shadow: 0px 0px 2px 2px #ffffff4f;}');
GM_addStyle('.current-status,.main-bottom-links { display:none; }');
GM_addStyle('#score-panel {display: inline-flex; background-color:rgba(23, 22, 23, 0); border:rgba(23, 22, 23, 0); color:blue; }');

//GM_addStyle('#main-left, #main-content{background-image: url(\'http://i.imgur.com/wOHHZVj.jpg}');


GM_addStyle('#popup-profile{    background-color: rgb(0, 0, 0) !important;}');




GM_addStyle('.stext {margin-top: 2px; margin-bottom: 2px;}');

GM_addStyle('#name-box {font-weight: bold}');

GM_addStyle('  span, td .gota-btn:hover, .server-row:hover  {font-size: 16px; font-weight: bold; color:#00BCD4;}');
GM_addStyle('  gota-btn,.server-row {transition: all 0.3s}');

GM_addStyle('.gota-btn:hover {filter: hue-rotate(105deg);color:red;}');
GM_addStyle('.gota-btn:hover {box-shadow: 0px 0px 0px rgba(10,10,10,10)}');

GM_addStyle('#party-canvas{color:rgb(255, 235, 59);}');


GM_addStyle('.server-table,table,p.stext  {color: grey}');
GM_addStyle('.server-selected {background-color: red}');
GM_addStyle('.server-selected {color: white}');

GM_addStyle('.sp-preview, .sp-alpha, .sp-thumb-el , .sp-preview-inner {border-radius: 50%; }');
GM_addStyle('.sp-replacer, input[type="checkbox" i] {border-radius: 20%; }');


GM_addStyle('.sp-replacer, input[type="checkbox" i] {margin-right: 7.5px;}');
GM_addStyle('.scrimmage-select {border: 2px solid black; border-radius: 10px; padding: 4px; font-weight: bold; margin-top: 3px;}');
GM_addStyle('.xp-meter, .xp-meter > span {border-radius: 7px;}');
GM_addStyle('.xp-meter > span {background: linear-gradient(to right, blue, cyan, turquoise, violet);}');



//Custom Checkboxes
GM_addStyle('input[type="checkbox" i] {-webkit-appearance: none; background: #ff0000; color: white; border-radius: 5px; padding: 4px; transition: background 0.3s;}');
GM_addStyle('input[type="checkbox" i]:checked {background: #00f000; color: #014401; padding: 4px;  padding-right: 9px;}');
GM_addStyle('input[type="checkbox" i]:checked:after {content: "ON";}');
GM_addStyle('input[type="checkbox" i]:not(:checked):before {content: "OFF"}');

//Custom scrollbars
GM_addStyle('.options-container::-webkit-scrollbar, tbody#servers-body-eu::-webkit-scrollbar, tbody#servers-body-na::-webkit-scrollbar, .scrimmage-mode-box::-webkit-scrollbar {background-color: #3d3d3d; border-radius: 10px; width: 10px;}');
GM_addStyle('.options-container::-webkit-scrollbar-thumb {background-color: #5f5f5f; border-radius: 10px;}');
GM_addStyle('tbody#servers-body-eu::-webkit-scrollbar-thumb, tbody#servers-body-na::-webkit-scrollbar-thumb, .scrimmage-mode-box::-webkit-scrollbar-thumb {background-color: #7f7f7f; border-radius: 10px;}');
GM_addStyle(' #onesignal-bell-container.onesignal-reset .onesignal-bell-launcher.onesignal-bell-launcher-md .onesignal-bell-launcher-button {display: none;}');
GM_addStyle('* body {cursor: crosshair;}');


//youtube script :)
$(function(){
$('#lockedChannel > div.yt-author').css({"font-size":"14px"});

  });


var maincontent = document['getElementById']('main-rb');
var radio = document['createElement']('div');
radio['innerHTML'] = '<center><div class="placeholder" style="color:red;"></h2><p></p></div></center><div id="lockedChannel" class="yt-channel"> <a href="https://www.youtube.com/channel/UCVWt8mu_iAkNJEQ51C-UuiA?sub_confirmation=1" target="_blank"><img class="img-channel" src="https://yt3.ggpht.com/-zkHXCCSEGrA/AAAAAAAAAAI/AAAAAAAAAAA/w5EkJaAvnEI/s108-c-k-no-mo-rj-c0xffffff/photo.jpg"></a> <div  <h4 class="yt-author"><i class="fab fa-youtube"></i>  Huseyn Locked</h4></div> <script src="https://apis.google.com/js/platform.js" gapi_processed="true"></script> <div id="___ytsubscribe_0" style="text-indent: 0px; margin: 0px; padding: 0px; background: transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 111px; height: 24px;"><iframe ng-non-bindable="" frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 111px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 24px;" tabindex="0" vspace="0" width="100%" id="I0_1527245717214" name="I0_1527245717214" src="https://www.youtube.com/subscribe_embed?usegapi=1&amp;channelid=UCVWt8mu_iAkNJEQ51C-UuiA&amp;layout=default&amp;count=default&amp;origin=http%3A%2F%2Fgota.io&amp;gsrc=3p&amp;jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.tr.rJYfHO89G-o.O%2Fm%3D__features__%2Fam%3DQQE%2Frt%3Dj%2Fd%3D1%2Frs%3DAGLTcCPUQFw8XE-kJVhEKAWQGbgsT2e6Ww#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&amp;id=I0_1527245717214&amp;_gfid=I0_1527245717214&amp;parent=http%3A%2F%2Fgota.io&amp;pfname=&amp;rpctoken=16397178" data-gapiattached="true"></iframe></div> </div>';
radio['id'] = 'radio';
maincontent['appendChild'](radio);
document['getElementById']('radio')['style']['cssText'] = 'text-align:center;font-size:12px;color:white;';


GM_addStyle('.main-bottom-left{width: 46%; height: 190px;display: flex; flex-flow: column wrap;justify-content: space-between;}');


$(".main-input .gota-btn").css({
    "margin-bottom": "0",
});

$(".main-input-btns").css({
    "display": "flex",
    "justify-content": "space-between",
    "width": "100%",
    "margin-top": "6px",
});


$("#profile-close-btn").css({"color":"red"});




var newTitle = "LOCKED EXTENSION";

document.title = newTitle;
document.querySelector("div.boardTitle")
    .textContent = newTitle;