Post
Topic
Board Meta
Merits 30 from 7 users
Re: Hide my name
by
TryNinja
on 06/04/2019, 21:05:11 UTC
⭐ Merited by LoyceV (12) ,suchmoon (9) ,Welsh (4) ,o_e_l_e_o (2) ,vit05 (1) ,Husna QA (1) ,Bitcoin_Arena (1)
Thank you Suchmoon for the script. This is the kind of thing i needed especially when I am out in a public place but need to discuss in the forum without people having to see my username.

However am not a geek in stuff involving webpages and script injections so i would love you guys to somehow guide me.
Where exactly do i put the code? Is it correctly put as shown in the picture?
Thanks

http://i.imgur.com/6E87CBv.png

Almost right... Remove everything and paste this:
Code:
// ==UserScript==
// @name     Hide BitcoinTalk Username and Avatar
// @include   https://bitcointalk.org/*
// @version  1
// @grant    none
// ==/UserScript==

try {
    document.getElementById("smfheader").style.visibility = "hidden";
    document.getElementById("hellomember").style.visibility = "hidden";
    document.getElementsByClassName("avatar")[0].style.visibility = "hidden";
} catch { }

I also added a small line on it to only work on BitcoinTalk.