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.
- Visualizza il profilo dell'utente che desideri nascondere dagli elenchi.
- L'URL del profilo termina con un numero, che è l'ID utente. Prendi nota di quel numero.
- Accedi al tuo account Website Toolbox.
- Fai clic su Integra link nel menu principale.
- Fai clic su HTML collegamento.
- 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> - Sostituisci
10026815nel 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. - Fai clic su Salva pulsante.
If you still need help, please contact us.