Welcome, Guest. Please login or register.

Author Topic: AWeb and IBrowse Javascript implementation info needed  (Read 1714 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
AWeb and IBrowse Javascript implementation info needed
« on: February 22, 2010, 06:44:36 PM »
Hi,

Does anybody know where I can find the Javascript implementation limits for AWeb and IBrowse?

Specifically, I need to know what methods they support from the window, document and browser objects. As I didn't find what I was looking for with 10 minutes and google, I am hoping somebody here knows a bit more :)
int p; // A
 

Offline HammerD

Re: AWeb and IBrowse Javascript implementation info needed
« Reply #1 on: February 22, 2010, 07:48:05 PM »
You could try posting a message on the IBrowse mailing list.  Oliver Roberts reads it.
AmigaOS 4.x Beta Tester - Classic Amiga enthusiast - http://www.hd-zone.com is my Amiga Blog, check it out!
 

Offline futaura

Re: AWeb and IBrowse Javascript implementation info needed
« Reply #2 on: February 22, 2010, 08:28:04 PM »
I still visit this site too :).

IBrowse's core JS engine is up to JavaScript 1.6 standard, but the window and document objects are a separate entity from the core functions/objects.  The completeness of the window, document and other browser-side objects are mostly Netscape 4 standard, although some limited support for newer functions was added such as document.getElementById for example.  The main limitations come from the DOM implementation, which is relatively restrictive in that you can't modify much of an existing HTML except for the images.  If you need to know anything specific, just ask - unfortunately there isn't a list of supported functions available.

I can't speak for AWeb except IBrowse generally supports more JavaScript :D.
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: AWeb and IBrowse Javascript implementation info needed
« Reply #3 on: February 22, 2010, 08:32:34 PM »
document.getElementById() is needed to implement a few features I'm trying to emulate from the site proper in the classic browser proxy. It worked for ibrowse but not aweb.

Which other DOM related methods are implemented?

Quote
unfortunately there isn't a list of supported functions available.

D'Oh, I should have read the post to the end before replying...
« Last Edit: February 22, 2010, 08:40:38 PM by Karlos »
int p; // A
 

Offline futaura

Re: AWeb and IBrowse Javascript implementation info needed
« Reply #4 on: February 27, 2010, 01:10:39 PM »
Basically, just document.getElementById() and document.getElementsByTagName().  However, these are both limited to returning elements that are accessable in the DOM as of NS4, which is generally all elements that are accessable also using document.elementname, document.forms.elementname, etc.  From memory, that means all form elements, images and links.  For example, you can't access things like
elements, tables, or anything else.