DotNetNuke Skins and Resources by ThinkofDesign

Forums

Subject: HTML elements counter - greasemonkey script
Prev Next
You are not authorized to post a reply.

Author Messages
Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


07/04/2006 02:14 AM  
During testing and debugging your site you might find useful a greasemonkey script I wrote that throws an alert when a page is loaded in Firefox. The script counts several details of the page source and put them in the alert box.

The counted details are:

CSS files attached
Script tags
Tables
Table rows
Table cells
DIVs
H1
H2
H3
Paragraphs
Spans
Links
Images

If you don't want to use the script with greasemonkey, you can download the file and copy the code of the script to embed it in a skin for testing or anything.

Attachment: HTMLElementsCounter.user.js

You are not authorized to post a reply.
Forums > Other > JavaScript > HTML elements counter - greasemonkey script



ActiveForums 3.7