summaryrefslogtreecommitdiff
path: root/viable.js
blob: 23d6fdab0c1abbda97fe4d22fe49f4967700f6ad (plain)
1
2
3
4
5
6
7
8
/* See COPYING file for copyright, license and warranty details. */

function simplyread_viable() {
	var doc;
	doc = (document.body === undefined)
	      ? window.content.document : document;
	return doc.getElementsByTagName("p").length;
}