Hide User - Thread Ufficioso :asd: Hide User - Thread Ufficioso :asd:

Risultati da 1 a 20 di 665

Discussione: Hide User - Thread Ufficioso :asd:

Visualizzazione Elencata

Messaggio precedente Messaggio precedente   Nuovo messaggio Nuovo messaggio
  1. #11
    Kallor
    Guest

    Re: Hide User - Thread Ufficioso :asd:

    Per firefox ho fatto uno script Greasemonkey temporaneo. Se volete usarlo installate greasemonkey
    https://addons.mozilla.org/it/firefo.../greasemonkey/

    Quindi fate "Nuovo script utente"
    Nome inserite quello quello che volete
    Spazio dei nomi, bho. Io ho messo tre puntini
    Inclusioni: *://*.thegamesmachine.it/forum/*
    Se volete non vedere gli utenti solo in una sottosezione usate *://*.thegamesmachine.it/forum/Nome_Sezione/
    Es:
    *://*.thegamesmachine.it/forum/the-book-machine/


    Nella finestra che si aprirà copiate



    var elems = document.getElementsByClassName("threadbit");
    for (i = 0; i < elems.length; i++) {
    b=elems[i].getElementsByClassName('username understate');
    c=b[0].text
    if (c==" INSERIRE_NOME_QUI "){
    elems[i].style.display='none';
    }

    }

    var PP=document.getElementsByClassName('postcontainer' )
    for (i = 0; i < PP.length; i++) {
    b=PP[i].getElementsByClassName('registrati')


    if (b[0]==null){
    b=PP[i].getElementsByClassName('moderatori')

    }
    if (b[0]==null){
    b=PP[i].getElementsByClassName('bannati')

    }
    if (b[0]==null){
    b=PP[i].getElementsByClassName('admin')

    }
    if (b[0]!=null){
    c=b[0].textContent
    if (c==" INSERIRE_NOME_QUI "){

    PP[i].style.display='none';
    }
    }

    //Elimino i quote

    Quote=PP[i].getElementsByClassName('bbcode_quote');

    if (Quote[0]!=null) {
    PB=Quote[0].getElementsByClassName('bbcode_postedby');

    //Prende pure i quote della firma, che possono essere senza nome
    if (PB[0]!=null){
    x=PB[0].getElementsByTagName("strong");
    if (x[0].innerHTML==" INSERIRE_NOME_QUI "){
    Quote[0].style.display='none';
    }
    }
    }

    }



    Mettendo il nome dell'utente (in)desiderato al posto di INSERIRE_NOME_QUI



    Edit
    altrimenti
    https://github.com/Kallor37/hide

    L'unico problema è che dura solo per per la sessione corrente di firefox
    Ultima modifica di Kallor; 08-10-16 alle 16:16

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •  
Chi Siamo
Forum ufficiale della rivista
The Games Machine
Seguici su