|
Posted by Philip on 06/20/06 19:10
In article <gdWlg.8644$f76.988@dukeread06>,
"Peter Olcott" <olcott@att.net> wrote:
> If it would be easier to do, I could write some code that runs in the context
> of
> the browser and then pass the results to the code that needs it that does not
> run within the context of the browser.
I see two possibilities. First, you might be able to get this
information via Javascript. This page might point you in the right
direction:
http://www.quirksmode.org/dom/getstyles.html
You might also want to consider creating a document and using Javascript
to measure the size of the text in it.
The second possibility is to write a browser plugin which means it is
time for you to start hunting through the Plugin Writer's Guides for the
browsers you intend to support. It is up to the individual browser
whether or not they expose the kind of information you're looking for.
Neither one of these methods is very portable from one browser to
another. The first one might be somewhat portable, but the second is not
at all.
HTH
--
Philip
http://NikitaTheSpider.com/
Bulk HTML validation, link checking and more
Navigation:
[Reply to this message]
|