The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Disabling AJAX support for debugging

DritzDritz CanadaRegistered User regular
edited June 2007 in Help / Advice Forum
Alright I suppose the only necessary bit of information about me you need to answer the question is that I'm using Linux with access to Windows. I'd prefer a Linux solution but anything'll work.

What's the best way to test a site which is utilizing AJAX to ensure that it works on non-ajax compatible browsers?

There I was, 3DS: 2621-2671-9899 (Ekera), Wii U: LostCrescendo
Dritz on

Posts

  • CaswynbenCaswynben Registered User regular
    edited June 2007
    The only way is to test it in a browser that doesn't support it. Fortunately, if a browser supports javascript, it should support AJAX. You should just grab a copy of IE 5.0 and see if your site works and bam. There is no way to "disable" AJAX, as it is just JS.

    Caswynben on
  • DritzDritz CanadaRegistered User regular
    edited June 2007
    Alright thanks. I wasn't aware that XMLHttpRequest is available in all versions of JS. Thanks for the help.

    Dritz on
    There I was, 3DS: 2621-2671-9899 (Ekera), Wii U: LostCrescendo
  • Jimmy KingJimmy King Registered User regular
    edited June 2007
    You could just disable JS in your browser and load the page.

    Jimmy King on
  • DritzDritz CanadaRegistered User regular
    edited June 2007
    What I really want to check if if I got all the redirect stuff working properly. For example if someone is using a browser incapable of AJAX but is using Javascript so when they click on a link it'll actually act like a link. Everything looks clear but there is always an error somewhere when I make a script no matter what I want to do.

    Dritz on
    There I was, 3DS: 2621-2671-9899 (Ekera), Wii U: LostCrescendo
  • japanjapan Registered User regular
    edited June 2007
    Well, Wiki says:
    The Microsoft implementation is called XMLHTTP. It has been available since Internet Explorer 5.0[2] and is accessible via JScript, VBScript and other scripting languages supported by IE browsers.

    The Mozilla project incorporated the first compatible native implementation of XMLHttpRequest in Mozilla 1.0 in 2002. This implementation was later followed by Apple since Safari 1.2, Konqueror, Opera Software since Opera 8.0 and iCab since 3.0b352.

    So to find a Javascript-capable browser not capable of using XMLHttpRequest, you're looking at tracking down Netscape Navigator, Opera 7, or IE4.

    japan on
  • misbehavinmisbehavin Registered User regular
    edited June 2007
    For the millionth time, AJAX is not a language or feature. Browsers don't support AJAX. They support JavaScript with XMLHTTP for IE or XMLHttpRequest for all other browsers, which is just a method for calling scripts from the server without reloading the page... But even that is irrelevant, since it all comes back to JavaScript... No JS, no AJAX. So, just disabled JS, and you have an AJAX-free page.

    misbehavin on
Sign In or Register to comment.