Quick Firefox Tip: Word Count Bookmarklet
Firefox Bookmarklet Counts Words, Not Tags
Articles written for Linux Planet have to meet a specified word count. Articles must also be HTML-tagged.
That means we authors need a way to count words. It would be easy in emacs ... if you don't mind counting all the HTML tags as words. Otherwise, not so easy. I can view the HTML in a browser, copy, then paste into a terminal where I'm running wc -w. But Firefox sometimes has some issues pasting large chunks of text (I thought it was bug 56219, but that's marked fixed; perhaps it's related to bug 84973) and anyway, it's a hassle to have to use two windows like that.
I've pared it down to make a simple but neat little Count Words bookmarklet. To use it, right-click on the link and Copy Link Location. Then paste it into Firefox when you're pointed at a page where you want to count words. To keep it, make a new bookmark and paste the bookmarklet into the URL field, and you'll be able to call it up on any page. Or give it a Keyword, like countwords, when you're saving the bookmark, then when you're on any page, type
countwords in the URLbar to run the bookmarklet.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: Alienware, KDE and Ubuntu 13.04
- 2Linux Top 3: Linux Mint Olivia, Fedora 19's Cat and Ubuntu's Mission Accomplished Moment
- 3GNOME 3.8 Debuts New Open Source Linux Desktop
- 4Linux Top 3: Linux 3.10 Goes Long, Linux 3.11 Advances as LXDE Merges
- 5Linux Top 3: Ubuntu Kaylin, Debian Wheezy and Linux Mint