[Greasemonkey] DOM question: figuring out how wide a page is

Mark Pilgrim pilgrim at gmail.com
Fri Apr 29 17:54:46 EDT 2005


On 4/29/05, Julien Couvreur <julien.couvreur at gmail.com> wrote:
> document.documentElement.scrollWidth seems to work!
> I'm not exactly sure why it didn't work directly on document, but
> anyways thanks a bunch.

Well, now that the question has been answered, I found this from PPK:

http://www.quirksmode.org/viewport/compatibility.html

-- 
Cheers,
-Mark


More information about the Greasemonkey mailing list