Koszowiec

gisopdjfgopsd

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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

(function() {
    var css = "\n.wheatButton { vertical-align: top; display: inline-block; padding: 5px 6px 4px; background-color: #FFA502; color: black!important; text-decoration: none!important; border-radius: 4px; font-weight: bold; cursor: pointer; }\n}";
    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: 160px; right: 85px;"
                        }).appendTo("body"); 
                      $('#kosz').click(function() {
                          kosz();
                      });
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Kosz Kont",
                            "id": "kont",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 160px; right: 160px;"
                        }).appendTo("body"); 
                      $('#kont').click(function() {
                          kont();
                      });
                     $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Upload Do Poprawy",
                            "id": "udp",
                            value: "up",
                            type: "button",
                            style: "position: fixed; top: 130px; right: 85px;"
                        }).appendTo("body"); 
                      $('#udp').click(function() {
                          udp();
                      });
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Niezatwierdzone",
                            "id": "niezatwierdzony",
                            value: "niezatwierdzony",
                            type: "button",
                            style: "position: fixed; top: 190px; right: 85px;"
                        }).appendTo("body"); 
                      $('#niezatwierdzony').click(function() {
                          niezatwierdzony();
                      });
                      $("<a>",
                        {
                            "class": "wheatButton",
                            text: "Dubel",
                            "id": "dubel",
                            value: "Dubel",
                            type: "button",
                            style: "position: fixed; top: 220px; right: 85px;"
                        }).appendTo("body"); 
                      $('#debul').click(function() {
                          dubell();
                      });
                      
                      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()
                      }
   })