Bitcoin Forum
May 10, 2024, 06:13:49 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 103 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
1715321629
Hero Member
*
Offline Offline

Posts: 1715321629

View Profile Personal Message (Offline)

Ignore
1715321629
Reply with quote  #2

1715321629
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715321629
Hero Member
*
Offline Offline

Posts: 1715321629

View Profile Personal Message (Offline)

Ignore
1715321629
Reply with quote  #2

1715321629
Report to moderator
1715321629
Hero Member
*
Offline Offline

Posts: 1715321629

View Profile Personal Message (Offline)

Ignore
1715321629
Reply with quote  #2

1715321629
Report to moderator
Vod
Legendary
*
Offline Offline

Activity: 3696
Merit: 3073


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 - landing page up     https://vod.fan - advanced image hosting - coming soon!
OGNasty has early onset dementia; keep this in mind when discussing his past actions.
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!