[jQuery] Re: OT: Suppress Apache Authentication

2007-05-22 Thread Bil Corry
Sean Catchpole wrote on 5/22/2007 2:03 PM: So I've finally been able to suppress that error in Google Icon (https://addons.mozilla.org/en-US/firefox/addon/4676) I have favicons disabled in Firefox because some sites use it to serve 3rd-party tracking cookies. Took me a while to figure it o

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-22 Thread Sean Catchpole
To follow up on the result of this. I can not use ajax for requesting information from another site (bummer). However I only originally wanted an image that wouldn't popup a security login window. Using this works beautifully: var img = new Image(); //Don't use document.createElement("img"); img

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-02 Thread Kenneth
Is this an internet or intranet application? As for a 'creative' solution, you could possibly try having your server act as a proxy to fetch the data (and then serve it to the user). Most server-scripting languages allow for making HTTP requests as well as handling assorted headers, however, I ha

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-02 Thread Ⓙⓐⓚⓔ
I found it's easy to catch a 400 range error in jquery, but not in safari! I ran a tiny $.ajax program where it tries to get a file from behind a .htaccess'ed directory... firefox & opera returned .status = 401 and .statusText but safari returned null for .status (webkit returned 0)

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-02 Thread Sean Catchpole
Thanks Erik, I've given that a try and it can not catch the request.status == 401 until after it prompts the user. Shame really. I've even tried supplying a fake username/password, but it still prompts for login if it doesn't authenticate with the user/pass provided. I'm trying to look into othe

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-01 Thread Erik Beeson
By "suppress", I assume you mean you want to be notified of the authentication request so you can handle it in your own UI or just ignore it? Obviously, if something requires authentication to access, you have to authenticate to access it... I'd say you need to get at the XHR and check for reque

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-01 Thread Matt Stith
short answer: nope. :-/ On 5/1/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: Ok, so now I have this same scenario where I am trying to load ajax from a apache authenticated area and it popping up with the login box. Is there any way to hide that? I'm looking all over the web, but I haven't fou

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-01 Thread Sean Catchpole
Ok, so now I have this same scenario where I am trying to load ajax from a apache authenticated area and it popping up with the login box. Is there any way to hide that? I'm looking all over the web, but I haven't found anything yet. ~Sean