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: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x
- 5Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10