KurwoSkrypt Community Edyszyn

community Edyszyn

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         KurwoSkrypt Community Edyszyn
// @version      2.7 MOD
// @author       Kerai (mod by polaq)
// @match        http://*/*
// @match        https://*/*
// @exclude      https://*.google.*/*
// @grant          GM_addStyle
// @description community Edyszyn
// @namespace https://greasyfork.org/users/63925
// ==/UserScript==

(function() {
    'use strict';
    /*
                / _(_)
   ___ ___  _ __ | |_ _  __ _
  / __/ _ \| '_ \|  _| |/ _` |
 | (_| (_) | | | | | | | (_| |
  \___\___/|_| |_|_| |_|\__, |
                         __/ |
                        |___/
    */

    let word = 'kurwa'; // <------------- TU WPISZ JAKIE SLOWO MA BYC WSTAWIANE
    let autokurwifi = false;

    /*
      _               _                              __ _
 | |             (_)                            / _(_)
 | | _____  _ __  _  ___  ___    ___ ___  _ __ | |_ _  __ _ _   _
 | |/ / _ \| '_ \| |/ _ \/ __|  / __/ _ \| '_ \|  _| |/ _` | | | |
 |   < (_) | | | | |  __/ (__  | (_| (_) | | | | | | | (_| | |_| |
 |_|\_\___/|_| |_|_|\___|\___|  \___\___/|_| |_|_| |_|\__, |\__,_|
                                                       __/ |
                                                      |___/
    */

    if (autokurwifi){
        function kmain(){
            /** * Made by kurwa Kerai * chcesz rozpowszechniac? podawaj źródło * chcesz cos zmieniac? wszystkie komentarze pisz * w komentarzach wieloliniowych, bo sie moze popsuc pod chrome i opera... */
            var whitespace = "-\/|.,!:;'\" \t\n\r{}[]()";
            var stack = [];
            var curNIndex = 0;
            var curNode = null;
            var curIndex = -1;
            var state = 1;
            var lastword = '';
            String.prototype.startsWith = function(prefix) {
                return this.indexOf(prefix) === 0;
            };
            String.prototype.endsWith = function(suffix) {
                return this.match(suffix + "$") == suffix;
            }; /* Nie moge tak robić niestety */
            function kurwizeLink(url) {
                if (url.startsWith('javascript:')) return url; /* chyba niewiele moge zrobic kurwa */
                if (url.startsWith('#')) return url;
                if (url.startsWith('http://kurwa.keraj.net/?url=')) return url; /* no, bo kurwa, bez jaj ;p */
                var base = '';
                if (!url.startsWith('http')) {
                    base = location.protocol + "://" + location.host;
                    if (!url.startsWith('/')) {
                        var pathname = location.pathname;
                        base += pathname.substring(0, pathname.lastIndexOf('/'));
                    }
                }
                return 'http://kurwa.keraj.net/?url=' + base + url;
            }

            function nextLetter() {
                if (curNode === null) return null;
                if (curIndex >= curNode.data.length) {
                    curNode = stack[++curNIndex];
                    curIndex = -1;
                    if (curNode === null) return null;
                }
                curIndex++;
                if (curIndex >= curNode.data.length) {
                    return ' ';
                }
                return curNode.data[curIndex];
            }

            function nextAfterWord() { /* lastword = ''; */ /* szukamy poczatku kurwa wyrazu */
                dupa: while (true) {
                    do {
                        var
                        lett = nextLetter();
                        if (lett === null) return false;
                    } while (whitespace.indexOf(lett) != -1);
                    if (state == 1) { /* byliszmy na poczatku, teraz kurwa bedziemy szukac konca wyrazu */
                        state = 2;
                        return true;
                    }
                    state = 3;
                    var starting = curIndex;
                    do {
                        var lett = nextLetter();
                        if (lett === null) return false;
                        if (state == 1) continue dupa;
                    } while (whitespace.indexOf(lett) == -1); /* ostatni wyraz, moze sie kurwa przydac pozniej zeby nasz algorytm byl bardziej inteligentny */ /* trza to jeszcze kurwa usprawnic */
                    lastword = curNode.data.substr(starting, curIndex - starting).toLowerCase();
                    return true;
                }
            }

            function putHere(text) {
                if (curNode === null) return; /** oj, trzeba to kurwa fixn%C4%85%C4%87 kiedy%C5%9B */
                curNode.data = curNode.data.substr(0, curIndex) + (state != 2 ? ' ' : '') + text + (state == 2 ? ' ' : '') + curNode.data.substr(curIndex);
                curIndex += text.length + 2;
            }

            function replaceLast(text) {
                var s2 = curNode.data.substr(curIndex);
                curIndex -= lastword.length;
                var s1 = curNode.data.substr(0, curIndex);
                curIndex += text.length;
                curNode.data = s1 + text + s2;
            } /** rekurencyjnie szukamy tylko tekstu kurwa */
            function przelec(node) {
                if (typeof node != "object" || typeof node.childNodes != "object") return;
                var children = node.childNodes;
                for (var i = 0; i < children.length; i++) {
                    var child = children[i]; /* nie IFRAME, bo sie moze kurwa crashn%C4%85%C4%87, nie SCRIPT... wiadomo, nie PRE - bo to moze byc kurwa kod %C5%BAr%C3%B3d%C5%82owy... chocia%C5%BC mo%C5%BCe fajnie by by%C5%82o widzie%C4%87 co%C5%9B w stylu std:kurwa:cout */
                    if (child.nodeType == 1 && child.tagName != "SCRIPT" && child.tagName != "IFRAME" /*&& child.tagName!="PRE"*/ ) {
                        przelec(child);
                    }
                    if (child.nodeType == 3) {
                        stack.push(child);
                    }
                    if (child.tagName == "A") { /* child.href=kurwizeLink(child.href+''); */ }
                }
            }

            przelec(document.body);
            curNode = stack[0];
            var i = Math.floor(Math.random() * 9);
            var forpe = window.location.href.indexOf("4programmers") > -1; /* a tak se sprawdzimy :D if(forpe){while(nextAfterWord()) {var word = 'Adam Boduch';var rnd = Math.random() * 5;if(rnd<1)word = "Adam";else if(rnd<2) word = "Boduch";else if(rnd<3)word = "klacze";replaceLast(word);}return;} */
            while (nextAfterWord()) {
                if (i-- <= 0) {
                    if (lastword == 'na') continue;
                    if (lastword == 'do') continue;
                    if (lastword == 'jak') continue;
                    if (forpe) {
                        if (lastword == 'i') continue;
                        if (lastword == 'o') continue;
                        if (lastword == 'w') continue;
                        if (lastword == 'z') continue;
                        if (lastword == 'a') continue;
                        if (lastword == 'u') continue;
                        if (lastword == 'si%C4%99') continue;
                        if (lastword.startsWith('niekt')) continue;
                        if (lastword.startsWith('r%C3%B3%C5%BCn')) continue;
                        if (lastword == 'boduch') {
                            replaceLast('( %CD%A1%C2%B0 %CD%9C%CA%96 %CD%A1%C2%B0)');
                        } else {
                            replaceLast('Adam Boduch');
                        }
                    } else {
                        if (lastword == 'nie') continue;
                        if (lastword == 'kurwa') continue;
                        putHere(word);
                    }
                    var i = 2 + Math.floor(Math.random() * 8);
                }
            }
            /** USUNIETE - STRONA NIE ISNIEJE
        function reqListener() {
            var ver = this.responseText;
            if (ver > 2.7) {
                var cnf = confirm("Nowa wersja skryptu KURWA jest dost%C4%99pna!\nUsu%C5%84 star%C4%85 i ustaw now%C4%85\n\n");
                if (cnf) window.location = 'http://kurwa.keraj.net/?new';
            }
        };
        var oReq = new XMLHttpRequest();
        oReq.onload = reqListener;
        try {
            oReq.open("get", "https://kurwa.keraj.net/kurwa.ver", true);
            oReq.send();
        } catch (e) {}
        */
            void 0;
        }} else {
            const styl = `#ksbtn {
display: block;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: blue;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
}
`;
            const html = `<button onclick="dokurw()" id="ksbtn">kurw</button>`;
            const scr = `function dokurw(){
 /** * Made by kurwa Kerai * chcesz rozpowszechniac? podawaj źródło * chcesz cos zmieniac? wszystkie komentarze pisz * w komentarzach wieloliniowych, bo sie moze popsuc pod chrome i opera... */
            var stack = [];
var whitespace = \"-\\\/|.,!:;'\\\" \\t\\n\\r{}[]()\"; var word = "`+ word +`";
            var curNIndex = 0;
            var curNode = null;
            var curIndex = -1;
            var state = 1;
            var lastword = '';
            String.prototype.startsWith = function(prefix) {
                return this.indexOf(prefix) === 0;
            };
            String.prototype.endsWith = function(suffix) {
                return this.match(suffix + "$") == suffix;
            }; /* Nie moge tak robić niestety */
            function kurwizeLink(url) {
                if (url.startsWith('javascript:')) return url; /* chyba niewiele moge zrobic kurwa */
                if (url.startsWith('#')) return url;
                if (url.startsWith('http://kurwa.keraj.net/?url=')) return url; /* no, bo kurwa, bez jaj ;p */
                var base = '';
                if (!url.startsWith('http')) {
                    base = location.protocol + "://" + location.host;
                    if (!url.startsWith('/')) {
                        var pathname = location.pathname;
                        base += pathname.substring(0, pathname.lastIndexOf('/'));
                    }
                }
                return 'http://kurwa.keraj.net/?url=' + base + url;
            }

            function nextLetter() {
                if (curNode === null) return null;
                if (curIndex >= curNode.data.length) {
                    curNode = stack[++curNIndex];
                    curIndex = -1;
                    if (curNode === null) return null;
                }
                curIndex++;
                if (curIndex >= curNode.data.length) {
                    return ' ';
                }
                return curNode.data[curIndex];
            }

            function nextAfterWord() { /* lastword = ''; */ /* szukamy poczatku kurwa wyrazu */
                dupa: while (true) {
                    do {
                        var
                        lett = nextLetter();
                        if (lett === null) return false;
                    } while (whitespace.indexOf(lett) != -1);
                    if (state == 1) { /* byliszmy na poczatku, teraz kurwa bedziemy szukac konca wyrazu */
                        state = 2;
                        return true;
                    }
                    state = 3;
                    var starting = curIndex;
                    do {
                        var lett = nextLetter();
                        if (lett === null) return false;
                        if (state == 1) continue dupa;
                    } while (whitespace.indexOf(lett) == -1); /* ostatni wyraz, moze sie kurwa przydac pozniej zeby nasz algorytm byl bardziej inteligentny */ /* trza to jeszcze kurwa usprawnic */
                    lastword = curNode.data.substr(starting, curIndex - starting).toLowerCase();
                    return true;
                }
            }

            function putHere(text) {
                if (curNode === null) return; /** oj, trzeba to kurwa fixn%C4%85%C4%87 kiedy%C5%9B */
                curNode.data = curNode.data.substr(0, curIndex) + (state != 2 ? ' ' : '') + text + (state == 2 ? ' ' : '') + curNode.data.substr(curIndex);
                curIndex += text.length + 2;
            }

            function replaceLast(text) {
                var s2 = curNode.data.substr(curIndex);
                curIndex -= lastword.length;
                var s1 = curNode.data.substr(0, curIndex);
                curIndex += text.length;
                curNode.data = s1 + text + s2;
            } /** rekurencyjnie szukamy tylko tekstu kurwa */
            function przelec(node) {
                if (typeof node != "object" || typeof node.childNodes != "object") return;
                var children = node.childNodes;
                for (var i = 0; i < children.length; i++) {
                    var child = children[i]; /* nie IFRAME, bo sie moze kurwa crashn%C4%85%C4%87, nie SCRIPT... wiadomo, nie PRE - bo to moze byc kurwa kod %C5%BAr%C3%B3d%C5%82owy... chocia%C5%BC mo%C5%BCe fajnie by by%C5%82o widzie%C4%87 co%C5%9B w stylu std:kurwa:cout */
                    if (child.nodeType == 1 && child.tagName != "SCRIPT" && child.tagName != "IFRAME" /*&& child.tagName!="PRE"*/ ) {
                        przelec(child);
                    }
                    if (child.nodeType == 3) {
                        stack.push(child);
                    }
                    if (child.tagName == "A") { /* child.href=kurwizeLink(child.href+''); */ }
                }
            }

            przelec(document.body);
            curNode = stack[0];
            var i = Math.floor(Math.random() * 9);
            var forpe = window.location.href.indexOf("4programmers") > -1; /* a tak se sprawdzimy :D if(forpe){while(nextAfterWord()) {var word = 'Adam Boduch';var rnd = Math.random() * 5;if(rnd<1)word = "Adam";else if(rnd<2) word = "Boduch";else if(rnd<3)word = "klacze";replaceLast(word);}return;} */
            while (nextAfterWord()) {
                if (i-- <= 0) {
                    if (lastword == 'na') continue;
                    if (lastword == 'do') continue;
                    if (lastword == 'jak') continue;
                    if (forpe) {
                        if (lastword == 'i') continue;
                        if (lastword == 'o') continue;
                        if (lastword == 'w') continue;
                        if (lastword == 'z') continue;
                        if (lastword == 'a') continue;
                        if (lastword == 'u') continue;
                        if (lastword == 'si%C4%99') continue;
                        if (lastword.startsWith('niekt')) continue;
                        if (lastword.startsWith('r%C3%B3%C5%BCn')) continue;
                        if (lastword == 'boduch') {
                            replaceLast('( %CD%A1%C2%B0 %CD%9C%CA%96 %CD%A1%C2%B0)');
                        } else {
                            replaceLast('Adam Boduch');
                        }
                    } else {
                        if (lastword == 'nie') continue;
                        if (lastword == 'kurwa') continue;
                        putHere(word);
                    }
                    var i = 2 + Math.floor(Math.random() * 8);
                }
            }
            /** USUNIETE - STRONA NIE ISNIEJE
        function reqListener() {
            var ver = this.responseText;
            if (ver > 2.7) {
                var cnf = confirm("Nowa wersja skryptu KURWA jest dost%C4%99pna!\nUsu%C5%84 star%C4%85 i ustaw now%C4%85\n\n");
                if (cnf) window.location = 'http://kurwa.keraj.net/?new';
            }
        };
        var oReq = new XMLHttpRequest();
        oReq.onload = reqListener;
        try {
            oReq.open("get", "https://kurwa.keraj.net/kurwa.ver", true);
            oReq.send();
        } catch (e) {}
        */
            void 0;
        }
`;
                        document.body.innerHTML = document.body.innerHTML + html;

function ButtonClickAction (zEvent) {
kmain();
}
            unsafeWindow.eval(scr);
            GM_addStyle(styl);
        }
})();