Author

Topic: A script to count the number of symbols in a message (Read 106 times)

jr. member
Activity: 98
Merit: 8
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
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
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
jr. member
Activity: 98
Merit: 8
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
Jump to: