Untitled

 avatar
unknown
plain_text
a year ago
2.3 kB
8
Indexable
// ==UserScript==
// @name         Uçur+
// @version      1.6
// @description  Uçur plus !
// @author       Qwyua
// @match        *://*/*
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_addValueChangeListener
// @grant        GM_addStyle
// ==/UserScript==
function GM_onMessage(label, callback) {GM_addValueChangeListener(label,function(){
    callback.apply(undefined, arguments[2]);});}
function GM_sendMessage(label){GM_setValue(label, Array.from(arguments).slice(1));}

GM_onMessage('nick', function(message) {
    if(message!=null){
        for(let i of document.querySelectorAll(".nick"))
        {
            if(message==i.innerText)
            {
                i.click();
                document.querySelectorAll(".ic-votekick")[0].click()
            }
        }
    }
});
let mesajbt = document.createElement('button');
mesajbt.innerHTML ='<button id="mesajbt" class="btYellowBig" style="margin-top:15px"></span><div name="qwyuaxd"><svg width="30" height="30" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.747 21.75H7.5a.75.75 0 0 1-.683-1.06l3.021-6.667-4.537-.101-1.655 2.005c-.315.396-.567.573-1.209.573h-.84a.828.828 0 0 1-.689-.33c-.112-.151-.221-.406-.114-.77l.929-3.328a.851.851 0 0 1 .024-.074v-.007a.69.69 0 0 1-.024-.075l-.93-3.35c-.101-.356.009-.605.12-.752A.789.789 0 0 1 1.55 7.5h.887c.48 0 .945.215 1.219.563l1.62 1.97 4.562-.067-3.02-6.656A.75.75 0 0 1 7.5 2.25h1.26a1.172 1.172 0 0 1 .908.46l5.862 7.124 2.708-.07c.198-.012.747-.015.874-.015 2.59.001 4.138.842 4.138 2.251 0 .443-.178 1.266-1.363 1.789-.7.31-1.634.466-2.776.466-.125 0-.673-.004-.874-.015l-2.708-.072-5.876 7.125a1.174 1.174 0 0 1-.906.457Z"></path></svg></div><strong>UÇUR</strong></button>';
mesajbt.onmousedown=()=>{

    GM_sendMessage('nick', document.getElementsByClassName("content profile")[0].innerText.split("\n")[1]);
    setTimeout(function(){
        GM_sendMessage('nick', document.getElementsByClassName("content profile").innerText);
    },2000);

}
setInterval(function() {
    if(document.querySelector(".content.profile")){
        if(document.querySelector('#mesajbt')==null){
            document.querySelector('div[class="buttons"]').appendChild(mesajbt);
        }

    }

});
Editor is loading...
Leave a Comment