Bitcoin Forum
June 21, 2024, 02:15:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A script to count the number of symbols in a message  (Read 106 times)
DimNik (OP)
Jr. Member
*
Offline Offline

Activity: 98
Merit: 8


View Profile
February 07, 2018, 07:03:35 AM
Merited by Welsh (2)
 #1

I present to your attention a user script for Greasemonkey, Tampermonkey and others.

The script adds the "Count symbols" button next to the "Post" and "Preview" buttons.

When you click this button, the script performs the following actions:
1. Takes everything from the "Reply" field.
2. Removes all citations and defines only your message.
3. Removes extra spaces.
4. Counts and displays count symbols in your message With Whitespaces.
5. Counts and displays count symbols in your message Without whitespaces.

Example:



GitHub: https://github.com/DimNS/UserScripts
OpenUserJS: https://openuserjs.org/scripts/DimNS/Bitcointalk_Message_Symbols_Count
Vod
Legendary
*
Offline Offline

Activity: 3738
Merit: 3099


Licking my boob since 1970


View Profile WWW
February 07, 2018, 07:54:33 AM
 #2

The script adds the "Count symbols" button next to the "Post" and "Preview" buttons.


A good idea.... we don't want the shitposters to type any more than they have to, right?   Roll Eyes

https://nastyscam.com - featuring 13 years of OGNasty bitcoin scams     https://vod.fan - advanced image hosting - coming sooner than you think!
DimNik (OP)
Jr. Member
*
Offline Offline

Activity: 98
Merit: 8


View Profile
February 07, 2018, 08:03:43 AM
 #3

The script adds the "Count symbols" button next to the "Post" and "Preview" buttons.
A good idea.... we don't want the shitposters to type any more than they have to, right?   Roll Eyes
About the subtext let everyone guess himself Smiley
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!