Created
March 18, 2021 13:12
-
-
Save noahlearner/105f61d642a64386b00dc4bb83a51d0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var a=(document.selection?document.selection.createRange().text:document.getSelection()).toString();alert(a.length?"Characters: "+a.length+"\nWords: "+a.replace(/\s{2,}/g," ").split(" ").length:"No text selected.")})(); |
Author
noahlearner
commented
Mar 18, 2021
- Select content on page.
- Hit bookmarklet.
- An alert opens with a count of words in slection.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment