Koszowiec

gisopdjfgopsd

As of 02/03/2017. See the latest version.

// ==UserScript==
// @name       Koszowiec
// @namespace  http://mongla.net
// @description gisopdjfgopsd
// @version    1.3
// @include    http://www.ufs.pt/forum/postings.php*
// @include    http://www.ufs.pt/forum/inlinemod.php*
// @require   http://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js
// ==/UserScript==

(function() {
    var css = ".wheatButton { padding: 5px 10px; display: inline-block; color: black!important; font-size: 11px; font-weight: bold; font-variant: small-caps; text-decoration: none!important; background-color: #606060; border-radius: 2px; cursor: pointer; -webkit-font-smoothing:antialiased;  box-sizing: border-box; box-shadow: -2px 2px 1px black; border: 1px solid #1b1b1b; transition: all 250ms;  } .wheatButton:hover{ background-color: #1b1b1b; color: #d35400!important; box-shadow: -4px 4px 5px black!important; border: 1px solid #606060; transition: all 250ms;}";
    if (typeof GM_addStyle != "undefined") {
        GM_addStyle(css);
    } else if (typeof PRO_addStyle != "undefined") {
        PRO_addStyle(css);
    } else if (typeof addStyle != "undefined") {
        addStyle(css);
    } else {
        var heads = document.getElementsByTagName("head");
        if (heads.length > 0) {
            var node = document.createElement("style");
            node.type = "text/css";
            node.appendChild(document.createTextNode(css));
            heads[0].appendChild(node); 
        }
    }
})();

$(document).ready(function ()
                  {
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Do Kosza",
                            "id": "kosz",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 20px; right: 5px;"
                        }).appendTo("body"); 
                      $('#kosz').click(function() {
                          kosz();
                      });
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Kosz Kont",
                            "id": "kont",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 20px; right: 82px;"
                        }).appendTo("body"); 
                      $('#kont').click(function() {
                          kont();
                      });
                     $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Up Do Poprawy",
                            "id": "udp",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 50px; right: 5px;"
                        }).appendTo("body"); 
                      $('#udp').click(function() {
                          udp();
                      });
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Niezatwierdzone",
                            "id": "niezatwierdzony",
                            value: "niezatwierdzony",
                            type: "button",
                            style: "position: fixed; top: 50px; right: 176px;"
                        }).appendTo("body"); 
                      $('#niezatwierdzony').click(function() {
                          niezatwierdzony();
                      });
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Dubel",
                            "id": "dubel",
                            value: "Dubel",
                            type: "button",
                            style: "position: fixed; top: 50px; right: 118px;"
                        }).appendTo("body"); 
                      $('#debul').click(function() {
                          dubell();
                      });
                      
    					  // added by melman
					  
					   $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Wykonane REQ",
                            "id": "req",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 20px; right: 164px;"
                        }).appendTo("body"); 
                      $('#req').click(function() {
                          req();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Polskie",
                            "id": "pl",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 90px; right: 5px;"
                        }).appendTo("body"); 
                      $('#pl').click(function() {
                          pl();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "LEK/DUB",
                            "id": "lek",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 90px; right: 73px;"
                        }).appendTo("body"); 
                      $('#lek').click(function() {
                          lek();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Cam/TS",
                            "id": "cam",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 150px; right: 5px;"
                        }).appendTo("body"); 
                      $('#cam').click(function() {
                          cam();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "ENG HQ",
                            "id": "eng",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 90px; right: 144px;"
                        }).appendTo("body"); 
                      $('#eng').click(function() {
                          eng();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Animowane",
                            "id": "anim",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 120px; right: 5px;"
                        }).appendTo("body"); 
                      $('#anim').click(function() {
                          anim();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Anime",
                            "id": "anime",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 120px; right: 95px;"
                        }).appendTo("body"); 
                      $('#anime').click(function() {
                          anime();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "720/1080",
                            "id": "hd",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 150px; right: 72px;"
                        }).appendTo("body"); 
                      $('#hd').click(function() {
                          hd();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "x264",
                            "id": "x264",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 150px; right: 188px;"
                        }).appendTo("body"); 
                      $('#x264').click(function() {
                          x264();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "x265",
                            "id": "x265",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 150px; right: 239px;"
                        }).appendTo("body"); 
                      $('#x265').click(function() {
                          x265();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "3D",
                            "id": "trzy",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 150px; right: 150px;"
                        }).appendTo("body"); 
                      $('#trzy').click(function() {
                          trzy();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Dokumentalne",
                            "id": "doku",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 120px; right: 153px;"
                        }).appendTo("body"); 
                      $('#doku').click(function() {
                          doku();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Pełne sezony",
                            "id": "sezon",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 190px; right: 251px;"
                        }).appendTo("body"); 
                      $('#sezon').click(function() {
                          sezon();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Pojedyńcze odcinki",
                            "id": "poj",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 190px; right: 112px;"
                        }).appendTo("body"); 
                      $('#poj').click(function() {
                          poj();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Seriale Anime",
                            "id": "sanime",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 190px; right: 5px;"
                        }).appendTo("body"); 
                      $('#sanime').click(function() {
                          sanime();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Gry PC PL",
                            "id": "grypl",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 230px; right: 92px;"
                        }).appendTo("body"); 
                      $('#grypl').click(function() {
                          grypl();
                      });
					  $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Gry PC ENG",
                            "id": "gryeng",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 230px; right: 5px;"
                        }).appendTo("body"); 
                      $('#gryeng').click(function() {
                          gryeng();
                      });
					  
					  function req()
                      {
                         $("select[id='destforumid']").val('490');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					    function pl()
                      {
                         $("select[id='destforumid']").val('52');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function lek()
                      {
                         $("select[id='destforumid']").val('51');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					   function cam()
                      {
                         $("select[id='destforumid']").val('165');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function eng()
                      {
                         $("select[id='destforumid']").val('166');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function anim()
                      {
                         $("select[id='destforumid']").val('126');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function anime()
                      {
                         $("select[id='destforumid']").val('392');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function hd()
                      {
                         $("select[id='destforumid']").val('167');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function x264()
                      {
                         $("select[id='destforumid']").val('170');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function x265()
                      {
                         $("select[id='destforumid']").val('804');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function trzy()
                      {
                         $("select[id='destforumid']").val('725');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function doku()
                      {
                         $("select[id='destforumid']").val('512');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function sezon()
                      {
                         $("select[id='destforumid']").val('122');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function poj()
                      {
                         $("select[id='destforumid']").val('54');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function sanime()
                      {
                         $("select[id='destforumid']").val('755');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					   function grypl()
                      {
                         $("select[id='destforumid']").val('271');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  function gryeng()
                      {
                         $("select[id='destforumid']").val('274');
                         $("input[value='Przenieś wątki']").first().click()
                      }
					  
					  // end
    
                      function kosz()
                      {
                         $("select[id='destforumid']").val('21');
                         $("input[value='Przenieś wątek']").first().click()
                      }
                       function udp()
                      {
                         $("select[id='destforumid']").val('132');
                         $("input[value='Przenieś wątek']").first().click()
                      }
                       function niezatwierdzony()
                      {
                         $("select[id='destforumid']").val('507');
                         $("input[value='Przenieś wątek']").first().click()
                      }
                      function dubel()
                      {
                         $("select[id='destforumid']").val('501');
                         $("input[value='Przenieś wątek']").first().click()
                      }
                      function kont()
                      {
                         $("select[id='destforumid']").val('176');
                         $("input[value='Przenieś wątek']").first().click()
                      }
   })