[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


AJAX Support?
by Devon on Tuesday 11/Jul/2006, @14:08
Please, oh, please tell me this will make Konqueror have good support for AJAX pages. If so I might just have to learn C++ and help out X-D.
  Related Links
 ·   Articles on Konqueror
 ·   Also by Devon
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: AJAX Support?
by Peter on Tuesday 11/Jul/2006, @14:51
What exactly do you mean by 'good support for AJAX pages'? Konqueror does support XMLHttpRequest, the only problem is that various 'hacks' are used to make DOM-manipulation cross-browser, and once again, people conclude your browser is either IE (which does not support all W3C's DOM methods), or Mozilla/FireFox (which has some oddities as well).

I mainly develop on Konqueror, using the W3 methods (using AJAX as well), and 'hack' around the various buggy implementations found in other browsers.
[ Reply To This | View ]
  • Re: AJAX Support?
    by Devon on Tuesday 11/Jul/2006, @15:55
    Well http://alpha.qunu.com/ doesn't work right, http://www.bestbuy.com's menus don't pop down after a mouseover (not AJAX but its in JavaScript I think), and http://www.bluedot.us's edit Dot feature doesn't work right. None of them are sporting the W3C seal of approval so I guess they might not be W3C standards compliant. Note that all of those work in Firefox 1.5 and I thought that Firefox 1.5 would be sticking just with the standards and not pulling a Microsoft on us but maybe not.

    btw I might make a ebuild for the Konqueror SVN. What folders would be the ones I would want to work with? The SVN layout confuses me :/
    [ Reply To This | View ]
    • Re: AJAX Support?
      by Corbin on Tuesday 11/Jul/2006, @18:26
      BestBuy's site works fine here (Konqi/KDE 3.5.3), though alpha.qunu.com didn't load right for me. Also the 'J' in AJAX is 'JavaScript' ("Asynchronous JavaScript and XML" is the whole acronym).
      [ Reply To This | View ]
  • Re: AJAX Support?
    by EY on Tuesday 11/Jul/2006, @16:08
    Konqueror itself had a moderately annoying bug in XMLHttpRequest back in KDE 3.4 where it was appending a null byte to the end of every POST request (bug 113393). Can't say that any of the other browsers have been very fun to work with either, though.
    [ Reply To This | View ]
    • Re: AJAX Support?
      by DA on Monday 07/Aug/2006, @10:33
      Did you even check to see if the bug you mentioned was fixed or not ?
      [ Reply To This | View ]
Re: AJAX Support?
by Chani on Tuesday 11/Jul/2006, @21:12
me too ;) the only reason I'm sometimes forced to use firefox is those fancy websites that do weird complicated things with javascript n'stuff. I'd much rather do everything in konq; firefox reminds me more of windows every time I try to use it :(
[ Reply To This | View ]
  • Re: AJAX Support?
    by Ian Monroe on Wednesday 12/Jul/2006, @08:44
    I'm in the same boat. I pretty much only use Konqueror for the kde: and qt: shortcuts now or when I'm doing something like uploading a file (KDE's file dialog is so much easier).
    [ Reply To This | View ]
HTMLElement.prototype ... workarround
by Jan on Thursday 13/Jul/2006, @11:01
http://alpha.qunu.com/
in Konqueror-3.5.3 I get
Fehler: http://alpha.qunu.com/qunu.js: ReferenceError: Can't find variable: HTMLElement
[...]

Line 532: {HTMLElement.prototype.removeNode=....
hmm ... we know that HTMLElement prototyping doesn't work out of the box in KTHML-based Browsers - so it seems like they didn't even test their stuff in Safari!

But we are lucky - there is a simple workarround:
http://www.codingforums.com/archive/index.php?t-60406.html

Ajax problems are manly caused by small javascript-cross-browser-differences. But there are well done libraries like http://www.mochikit.com to fix this.

regards, Jan
[ Reply To This | View ]
  • Re: HTMLElement.prototype ... workarround
    by SadEagle on Thursday 13/Jul/2006, @11:22
    Of course it didn't work --- it's non-standard behavior that's basically an implementation detail of Gecko! Comparable code for Konqueror would be to use
    window["[[Element.prototype]]"]. Unfortunately typical "Web 2.0" webmasters seem to think that IE and Mozilla are the only browsers, forcing other browsers to emulate things like this, and also non-standard language extensions like getters/setters (typical pattern seems to be to use Mozilla extensions to emulate IE extensionw). This does, BTW work in upcoming 3.5.4 to some extent (just for the base classes, KHTML doesn't have separate prototypes for divs and such); and to a fuller extent in development version of Safari.
    [ Reply To This | View ]
Re: AJAX Support?
by Ludvic on Sunday 25/Mar/2007, @04:35
why Konqueror is not compatible with gmail?
[ Reply To This | View ]
  • Re: AJAX Support?
    by Universe on Sunday 25/Mar/2007, @06:27
    Have you tried setting a different user agent?

    One of the widely known issues ith GMail is that they have a broken browser check and seem to not detect capable Konqueror/KHTML versions correctly.
    [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "That's something I don't know." -- David Faure
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]