Greasy Fork 还支持 简体中文。

Powerline.io mods

Change your stats(kills,and score) (use keys 1, 2, 3, 4, 5, 6, and 7.use ctrl to toggle all the stats), once refreshed scores no longer apply/show.

目前為 2020-10-15 提交的版本,檢視 最新版本

    // ==UserScript==
    // @name         Powerline.io mods
    // @namespace    http://tampermonkey.net/
    // @version      11.0
    // @description  Change your stats(kills,and score) (use keys 1, 2, 3, 4, 5, 6, and 7.use ctrl to toggle all the stats), once refreshed scores no longer apply/show.
    // @author       shed_modz_
    // @match        powerline.io
    // @require      http://code.jquery.com/jquery-3.4.1.min.js
    // @grant        none
    // ==/UserScript==
    
    
    
    //press use numbers 1-5 for mods to use the mods
    //|===================================================================================|
    //|                        Updates (VERSION 11.0 being made)                         |
    //|                     -made mod                                                     |
    //|                     -updated mod                                                  |
    //|                     -patch update                                                 |
    //|                     -mega mod update includes, new hot keys(read desc),           |
    //|                     -patch hot KEYS                                               |
    //|                     -patch hot KEYS                                               |
    //|                     -new hot KEYS                                                 |
    //|                     -New mod features                                             |
    //|                     -Bug fix                                                      |
    //|                     -Adblock feature(may not be working)                          |
    //|===================================================================================|
    
    /////////////////////////////////////////////////////////////////////
    ///////Hot keys are 1, 2, 4, 5, 6, ctrl, and h  ////////////////////
    ///////////////////////////////////////////////////////////////////
    
    //script
    //remove stuff

    window.addEventListener("keydown", mod, false);
    //score mods
    //kd mods
    
    
    doument.getElementById("ads").style.display = "none";
    function mod (i){
    
       if (i.keyCode == "49") {//key one
           var a = window.prompt("How much score do you want?");
           document.getElementById("stat-length").innerHTML = a;
       }
        if (i.keyCode == "50") {//key two
         var b = window.prompt("How many kills do you want?");
         document.getElementById("stat-ks").innerHTML = b;
       }
       if (i.keyCode == "51") {//keythree
         var c = window.prompt("What do you wnat to set your best score to?");
         document.getElementById("stat-blength").innerHTML = c;
       }
       if (i.keyCode == "52") {//key 4
        var d = window.prompt("What do you want you best kills to be?");
        document.getElementById("stat-bks").innerHTML = d;
        localStorage.bestLength = d;
       }
       if (i.keyCode == "53") {//key 5
         var txt = window.prompt("What wwould you like the chat box to say?");
         document.getElementById("firstRightBox").innerHTML = txt;
       }
       if (i.keyCode == "54") {//key 6
         var death = window.prompt("Who would you like to have eliminated you?");
         document.getElementById("stat-title").innerHTML = death;
       }
       if (i.keyCode == "72") {// key h
         var help = window.open("", "", "width=500", "height=1000");
         help.document.write("<h1 text-align='center'>Help</h1");
         help.document.write("<div id='help'></div>");
         help.document.write("<p text-align='center'>Use keys 1-6 to change/edit stuff.(Works if your at the death menu that displays your stats)Press key h for help");
       }
       if (i.keyCode == "55") {//key 7
         var des =alert("Destroying powerline, refresh to restart game.");
         document.write("Powerline.io Server fail");
       }
       if (i.keyCode == "17") {
         var z = window.prompt("What do you want all of your stats to be?");
         document.getElementById("stat-length").innerHTML = z;
         document.getElementById("stat-blength").innerHTML = z;
         localStorage.bestKillStreak = z;
         localStorage.bestLength = z;
         document.getElementById("stat-ks").innerHTML = z;
         document.getElementById("stat-bks").innerHTML = z;
       }
       if (i.keyCode == 56) {//key 8
         var name = window.prompt("What would you like to change your nick name to?");
         document.getElementById("nick").innerHTML = "name";
       }
       if (i.keyCode == 57) {//key 9 //remove everything
          $(document).ready(function(){
          $("img").removeAttr("src");
     });
          $(document).ready(function() {
          $("font").removeAttr("style");
          $("font").removeAttr("class");
          $("font").remove();
     });
          $(document).ready(function(){
          
          $("footer").removeClass("leftBottomBox");
          $("div").removeClass("ads");
     });
       }
    }

    //linktext
    //basic-text2