Bitcoin Forum
August 31, 2026, 07:47:54 AM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SCRIPT] Bitcointalk Mention Username Autocomplete Typing  (Read 62 times)
masulum (OP)
Legendary
*
Offline

Activity: 2842
Merit: 1996


NO DEPO CODE VEGAR7, NO KYC Casino


View Profile WWW
Today at 01:18:13 AM
Merited by Welsh (8), bitmover (3), EcuaMobi (3), klarki (2), ryzaadit (2)
 #1

I think some users here frequently typing usernames manually, or sometimes need to copy and paste to mention usernames in their replies, so I have an idea to make this process easier.

Note: I’m experimenting with using AI for coding

This time, it’s not create a website, bot, or extension, I decided to go with a userscript because I noticed a lot of users are already using a lot of extensions for BitcoinTalk.

Example of the script’s output:


HOW TO INSTALL:
1. Please install the code: https://greasyfork.org/en/scripts/593647-bitcointalk-mention-autocomplete
2. Be sure to scan it on VirusTotal first
3. Install Tampermonkey (if not installed yet)
4. Make sure this is enabled: https://www.tampermonkey.net/faq.php?q=Q209#Q209 if the script fails to run.
5. Once installed, open the thread and reply, type @ and the username autocomplete will appear.

SCRIPT INFORMATION:
1. This script only works on bitcointalk.org
2. This script requires your local storage
3. This script will store maximum 10,000 usernames from the threads you visit.
4. The script only crawls the first 3 pages of each thread to prevent blocked IP (limit rate) by bitcointalk because of unusual crawling
5. The script only saves data once for each username

HOW TO DELETE/RESET DATA



1. click the Tampermonkey extension
2. find “Bitcointalk Mention Autocomplete”
3. select “Reset Consent” to revoke permission to use local storage
4. select “Clear Usernames” to delete all stored username data

UPDATING SETTINGS
If you want to change the script settings from crawling 3 pages to lower/higher number, or change the username limit from 10,000 to lower/higher number, you can modify the code line:
Code:
const MAX_PAGES   = 3;
const MAX_CACHE   = 10000;
how to modify:

1. Click the arrow > to the saved bitcointalk mention script from your tampermonkey extension
2. Click “Edit,” and locate the two lines of code above
3. When finished, select “File” from the menu and click “Save”

Hopefully, this small tip will make your forum experience easier. feel free to provide feedback.


██████
██
██

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










██
██
██████
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄█████████████████████▄
▄███████████████████████
████████████████████████
█████████████████████████
████████████████████████
▀███████████████████████▀
█████████████████████▀
▀███████████████████▀
▀███████████████▀
▀▀███████▀▀
 
  150 FS NO DEPOSIT BONUS ..... Subscribe to Our Telegram ( > ) .....   PLAY NOW   
EcuaMobi
Legendary
*
Offline

Activity: 1946
Merit: 1531



View Profile
Today at 01:41:12 AM
Merited by vapourminer (1), masulum (1)
 #2

This looks great.

It'd be great to add support for the trust list. I've seen several people adding the wrong user because of a simple typo.
The fact the user list populates from visited threads and not from the whole users DB would be a big advantage there.
masulum (OP)
Legendary
*
Offline

Activity: 2842
Merit: 1996


NO DEPO CODE VEGAR7, NO KYC Casino


View Profile WWW
Today at 02:44:50 AM
Merited by vapourminer (1)
 #3

It'd be great to add support for the trust list. I've seen several people adding the wrong user because of a simple typo.
the code has been updated to v1.8, this version now support autocomplete in the text area on the trust settings page. The difference from the autocomplete feature in the reply section, when user select a name by typing @ in trust settings, the @ symbol will be removed. This is necessary to match with default format of trust settings page. Thank you for this feedback, this is will be very helpful for all.

██████
██
██

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










██
██
██████
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄█████████████████████▄
▄███████████████████████
████████████████████████
█████████████████████████
████████████████████████
▀███████████████████████▀
█████████████████████▀
▀███████████████████▀
▀███████████████▀
▀▀███████▀▀
 
  150 FS NO DEPOSIT BONUS ..... Subscribe to Our Telegram ( > ) .....   PLAY NOW   
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!