[Project_owners] response status with loadURI() ?
Ezequiel Calderara
ezechico at gmail.com
Fri Mar 14 16:41:59 PDT 2008
Using this "hack" u can do it...
http://jeremiahgrossman.blogspot.com/2008/03/login-detection-whose-problem-is-it.html
<img src="https://mail.google.com/mail/pimages/2/icons_ns1.png"
> onload="alert('GMail: Logged-In')" onerror="alert('Gmail: Not Logged-in')">
Try loading a image from the remote server :P
On Fri, Mar 14, 2008 at 5:07 PM, Arturo 'Buanzo' Busleiman <
buanzo at buanzo.com.ar> wrote:
> Jesper Staun Hansen wrote:
> > Take a look at one of the http header projects like LiveHTTPheaders.
> > They should tell you how.
> I know all about observers and event listeners and progress listeners. I
> was just checking if there was something closely related to loadURI()
> that would help me.
>
> Problem is, I can't register an observer for the XUL browser element. I
> can register them globally :( - I don't want that, it's an overkill.
>
> But I can add a progress listener....
>
> well, I wanted soemthing simple, guess I don't have it. Maybe I can
> redesign donkeyfire to use XMLHttpRequest... :(
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
--
______
Ezequiel.
Http://www.ironicnet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mozdev.org/pipermail/project_owners/attachments/20080314/e2cb7869/attachment.html
More information about the Project_owners
mailing list