Bitcoin Forum
December 14, 2024, 03:09:07 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hide my name  (Read 623 times)
LoyceMobile (OP)
Hero Member
*****
Offline Offline

Activity: 1698
Merit: 701


LoyceV on the road. Or couch.


View Profile WWW
April 06, 2019, 01:07:26 PM
Merited by PowerGlove (4), Welsh (3), The Cryptovator (2), Symmetrick (2), Veleor (1)
 #1

In a public location, I don't like having my name in bold above every page. I'm stuck here for a couple of hours, spending my time reading the forum, but don't want people to see my username (I try not to mix real life and crypto).
Would it be possible to hide the "Hello LoyceMobile" (without logging out)?

As a bonus, this might confuse account farmers and make them post under the wrong name Cheesy

LoyceV on the road Advertise here for LN Don't deal with this account (exception)
Advertise here for LN Tip my kids Exchange LN (20 coins). 1% fee. No KYC <€50/month
My useful topics: Meritt & Trust & Moreee Art Advertise here for LN Foru[url=https://bitcointalk.org/m
Xal0lex
Staff
Legendary
*
Offline Offline

Activity: 2674
Merit: 2639



View Profile WWW
April 06, 2019, 01:52:27 PM
 #2

In a public location, I don't like having my name in bold above every page. I'm stuck here for a couple of hours, spending my time reading the forum, but don't want people to see my username (I try not to mix real life and crypto).
Would it be possible to hide the "Hello LoyceMobile" (without logging out)?

As a bonus, this might confuse account farmers and make them post under the wrong name Cheesy

Possible write a JavaScript for Greasemonkey/Tampermonkey.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
vit05
Hero Member
*****
Offline Offline

Activity: 672
Merit: 526



View Profile
April 06, 2019, 01:54:56 PM
 #3

It would be useful if the negative symbol could occult the name too. You could occult your avatar and other things, but not the "hello" message.
suchmoon
Legendary
*
Offline Offline

Activity: 3892
Merit: 9108


https://bpip.org


View Profile WWW
April 06, 2019, 02:00:17 PM
Last edit: November 30, 2020, 01:34:51 AM by suchmoon
Merited by ABCbits (2), o_e_l_e_o (2), Welsh (1), DdmrDdmr (1), Husna QA (1), Bitcoin_Arena (1), lemipawa (1), bitart (1)
 #4

I use this in my post report extension but you can do it as Xal0lex mentioned with some other tools that inject scripts. You can probably just run it in the dev console (Ctrl-Shift-I) manually. Not sure about mobile browsers though.

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

Looks like this:

Loading... ------ Loading...
Edited 2020-11-30 to fix broken images
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
April 06, 2019, 03:03:12 PM
 #5

I'm stuck here for a couple of hours

If this is a family occasion then it sounds a lot like me Grin.
I'd just leave it there, I get too many people that notice the "Bitcoin Forum" banner anyway in my case.

Although I need something like what suchmoon has done but for mobile. Next year when I set my server up, I'll do something like that with this forum (potentially just for myself or a select few).
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17821


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 06, 2019, 03:39:29 PM
 #6

Possible write a JavaScript for Greasemonkey/Tampermonkey.
I couldn't figure it out on my mobile. I'll see if I can get Tampermonkey to work.

I use this in my post report extension but you can do it as Xal0lex mentioned with some other tools that inject scripts. You can probably just run it in the dev console (Ctrl-Shift-I) manually. Not sure about mobile browsers though.
That's what stopped me indeed, I can't press F12 on mobile.

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

Looks like this:

------
This is exactly what I need!


If this is a family occasion then it sounds a lot like me Grin.
Chasing the kids Cheesy

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Bitcoin_Arena
Copper Member
Legendary
*
Offline Offline

Activity: 2128
Merit: 1814


฿itcoin for all, All for ฿itcoin.


View Profile
April 06, 2019, 09:00:23 PM
 #7

-snip-
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


TryNinja
Legendary
*
Offline Offline

Activity: 3052
Merit: 7466


Top Crypto Casino


View Profile WWW
April 06, 2019, 09:05:11 PM
Last edit: May 14, 2023, 03:57:53 AM by TryNinja
Merited by LoyceV (12), suchmoon (9), Welsh (4), o_e_l_e_o (2), Husna QA (1), Bitcoin_Arena (1), vit05 (1)
 #8

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

https://talkimg.com/images/2023/05/14/blobc68ee8f86f974c9a.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.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Bitcoin_Arena
Copper Member
Legendary
*
Offline Offline

Activity: 2128
Merit: 1814


฿itcoin for all, All for ฿itcoin.


View Profile
April 06, 2019, 09:52:09 PM
 #9

-snip-
Thank you, Works like charm now  Wink
I don't have anymore sMerit left but I really appreciate your help.

bitart
Hero Member
*****
Offline Offline

Activity: 1442
Merit: 629


Vires in Numeris


View Profile
April 09, 2019, 09:57:14 PM
 #10

....
Thanks very much, this is really useful Smiley
I'm interested in these kind of scripts that makes browsing easier/more private/etc...
So if you have something else (and you want to share it) please let us know Smiley
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 2072
Merit: 1353


Top-tier crypto casino and sportsbook


View Profile
April 10, 2019, 02:15:49 AM
Merited by LoyceV (12), Welsh (5), seoincorporation (1), pawanjain (1), nc50lc (1)
 #11

For anyone like me who likes to stay away from the entire Tapermonkey/Greasemonkey stuff, I wrote my own extension which does that. I could put the extension up in the official Chrome store but it's not necessary since one can inject it locally and tweak the code according to your needs. Follow the steps given below.

1. Create a new directory, name it whatever you want.

2. Create a file manifest.json and add the below code to the file

Code:
{
  "name": "Bitcointalk Hide Name",
  "description": "Hides Bitcointalk Avatar & User-Name",
  "version": "0.1",
  "permissions": ["activeTab", "tabs"],
  "content_scripts": [
    {
      "matches": ["*://bitcointalk.org/*"],
      "js": ["contentscript.js"],
      "run_at": "document_end",
      "all_frames": true
    }
  ],
  "manifest_version": 2
}

3. Create a new file contentscript.js in the same directory and add the following code to the file

Code:
document.getElementById("smfheader").style.visibility = "hidden"
document.getElementById("hellomember").style.visibility = "hidden"
document.getElementsByClassName("avatar")[0].style.visibility = "hidden"


Now, this is your extension which you've to upload in your chrome extensions. Google how to do that or

Quote
Open the Extension Management page by navigating to chrome://extensions.

The Extension Management page can also be opened by clicking on the Chrome menu, hovering over More Tools then selecting Extensions.

Enable Developer Mode by clicking the toggle switch next to Developer mode.

Click the LOAD UNPACKED button and select the extension directory.


Should work! You can do much more in the same contentscript.js file.

DarkStar_
Legendary
*
Offline Offline

Activity: 2772
Merit: 3284


View Profile WWW
April 10, 2019, 04:32:59 AM
 #12

I couldn't figure it out on my mobile. I'll see if I can get Tampermonkey to work.

On Android phones, Firefox supports custom addons such as Tampermonkey so you can run the script there.

taking a break - expect delayed responses
darklus123
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 588


View Profile
April 10, 2019, 05:34:25 AM
 #13

If you can't find any software solution, you can try to use this "Anti Spy Tempered Glass"
https://www.youtube.com/watch?v=IN01Ow22g88

I haven't personally tried it  so far since I am still planning to change my smart phone. It works very well especially on a very crowded place I've seen one from my friend.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!