Help

Help > Forum > Utenti > Nascondi un utente negli elenchi Top Poster e Most Reputed

Nascondi un utente negli elenchi Top Poster e Most Reputed

Segui le istruzioni riportate di seguito per nascondere utenti specifici dal I migliori poster o I più rinomati elenchi.

  1. Visualizza il profilo dell'utente che desideri nascondere dagli elenchi.
  2. L'URL del profilo termina con un numero, che è l'ID utente. Prendi nota di quel numero.
  3. Accedi al tuo account Website Toolbox.
  4. Fai clic su Integra link nel menu principale.
  5. Fai clic su HTML collegamento.
  6. Inserisci il seguente codice JavaScript nel Etichetta per la testa casella di testo:

    <script>
    (function () {
      // Replace the ID(s) below with ID(s) of the users you want to hide from the Top Posters and Most Reputed lists
      const hiddenUserIds = ['10026815'];
    
      // Here is an example of how you could list multiple user IDs above:
      // const hiddenUserIds = ['10026815','10012345','10054321'];
    
      function hideSelf() {
        document.querySelectorAll('a[href*="/profile/"]').forEach(a => {
          const href = a.getAttribute('href') || a.href || '';
          hiddenUserIds.forEach(id => {
            if (href.includes('/profile/' + id)) {
              const card = a.closest('.member, .user, .user-card, .row, li, .grid-item');
              if (card) card.style.display = 'none';
            }
          });
        });
      }
    
      hideSelf();
      new MutationObserver(hideSelf).observe(document.documentElement, { childList: true, subtree: true });
    })();
    </script>
    
  7. Sostituisci 10026815 nel codice con l'ID utente che hai annotato nel passaggio 2. Per nascondere più di un utente, fai riferimento all'esempio nel codice che mostra come includere più ID utente.
  8. Fai clic su Salva pulsante.


If you still need help, please contact us.