summaryrefslogtreecommitdiff
path: root/viable.js
blob: 84244515241539ac17a1af24176200bbce208cf3 (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;
}