JavaScript.htmlTEXTiCAB! EE InScript

InScript

(Beta version 2000-04-07)

What is InScript?

InScript is the scripting language used by iCab to generate HTML documents dynamically. The core language is compatible with ECMAScript.

At present InScript features only parts of Netscape's JavaScript 1.1 or Microsoft's JScript.

A demo of the possibilities you'll find here.

 

Restrictions of the beta version

Warning: At the moment no security policy is implemented in InScript, i.e. every frame in one window can access all other frames in that window without any restrictions. Who considers this too dangerous has to switch off InScript in "Preferences - InScript".

The Document Object Model (DOM) is still missing many parts. Especially many W3C-DOM standard objects are still missing, and the changing of images will not work yet.

Some scripts might cause problems because they require JavaScript 1.2 (or later), but fail to declare this in the SCRIPT tag.

 

Bugs

If iCab crashes on certain web pages, but it does not crash on these pages if InScript is turned off in the "Preferences", please report the URL to the iCab support.

 

Technical comments

InScript implements the 2nd edition of the ECMA-262 standard ("ECMAScript"). Therefore it has roughly all the features of JavaScript 1.1.

Compared to newer versions of JavaScript the following parts of the language are missing:

As soon as DOM level 0 has been implemented sufficiently, InScript will be extended to the upcoming ECMAScript standard (3rd edition), which corresponds to JavaScript 1.5. After that, DOM level 1 (and later on level 2) can be realized.

At the moment InScript implements properties defined by the DOM and some Navigator/Explorer extensions as follows:
ObjectProperties
HTMLAnchorElement (inherits from Link)
charset, hreflang, rel, rev, text, type, x,y
HTMLAreaElement (inherits from Link)
alt, noHref
HTMLCollection item, length
HTMLDocument (inherits from HTMLElement)
anchors, applets, close, cookie, domain, embeds, getSelection, images, lastModified, links, location, open, plugins, referrer, title, URL, write, writeln
HTMLElement all, document, getAttribute, id, innerHTML, innerText, insertAdjacentHTML, insertAdjacentText, lang, length, name, outerHTML, outerText, parentElement, removeAttribute, setAttribute, sourceIndex, tagName, title
HTMLFormElement (inherits from HTMLElement)
action, elements, encoding, method, reset, submit, target
HTMLInputElement (inherits from HTMLElement)
blur, focus, form, type, value
(Checkbox and Radio elements: checked, defaultChecked)
HTMLOptionElement (inherits from HTMLInputElement)
defaultSelected, index, selected, text
HTMLSelectElement (inherits from HTMLInputElement)
options, selectedIndex, options.selectedIndex
Link (internal) (inherits from HTMLElement)
coords, hash, host, hostname, href, pathname, port, protocol, search, shape, target
Window alert, blur, clearInterval, clearTimeout, clientInformation, close, closed, confirm, defaultStatus, focus, frames, history, length, location, moveBy, moveTo, name, navigate, navigator, open, opener, parent, prompt, resizeBy, resizeTo, screen, ScriptEngine, ScriptEngineBuildVersion, ScriptEngineMajorVersion, ScriptEngineMinorVersion, scroll, scrollBy, scrollTo, self, setInterval, setTimeout, status, top

A list of known and fixed bugs you'll find here.

More links on JavaScript you'll find here.

 

Version history

iCab Pre 2.0
iCab Pre 1.9a
iCab Pre 1.9
First public InScript beta version.

InScript - Copyright ©2000 by Thomas Much.

 Z  6 `  6 `  6 `  8`   `  "6a  "7a  "8a  (  UVUUUU`  a  UVUUUUm  n  UVUUUUu  "a/Q}  UVUUUU   UVUUUU   UVUUUU   UVUUUU  UVUUUU      UVUUUU  UVUUUU   UVUUUU  w  33    33    UVUUUU    UVUUUU  *  33I  M  33Q  T  UVUUUUW  _  UVUUUUc  UVUUUU    UVUUUU    UVUUUU    UVUUUU  F  UVUUUUI    UVUUUU    UVUUUU  UVUUUU    UVUUUU  }  33    33    UVUUUU    UVUUUU  UVUUUU    UVUUUU  33    33  5  33R  V  33Z  j  33    33    UVUUUU  H  L  N  R  e  i        UVUUUU    UVUUUU    UVUUUU    UVUUUU    UVUUUU    UVUUUU        UVUUUU    UVUUUU    UVUUUU    UVUUUU        UVUUUU    UVUUUU    UVUUUU"  (  UVUUUU/  1  5  A  UVUUUUG  M  UVUUUUP  U  UVUUUU`  e  UVUUUUk  t  UVUUUUw  |  UVUUUU            UVUUUU   UVUUUU     ffff   !  34ff )  /  34ff 8  B  34ff L  O  34ff S  U  ffff Y  j  ffff o  q  ffff u   UVUUUU    ffff    34ff    34ff    ffff    ffff    ffff     UVUUUU     ffff   "  34ff '  *  34ff .  0  ffff 4  B  ffff G  I  ffff M  ]  ffff b  d  34ff i  l  34ff p  r  ffff v   ffff    ffff    UVUUUU   K  ffff P  R  34ff W  Z  34ff ^  `  ffff d  o  ffff t  v  ffff z  P  ffff U  W  34ff \  _  34ff c  e  ffff i  x  ffff }    ffff    UVUUUU    ffff    34ff    34ff    ffff     ffff    ffff  2  UVUUUU6  V  UVUUUU\    ffff    34ff    34ff    ffff    ffff    ffff    UVUUUU    ffff    34ff%  (  34ff,  .  ffff2  C  ffffH  J  ffffN  p  UVUUUUt    ffff    34ff    34ff    ffff    ffff    ffff    UVUUUU  P  ffffU  W  34ff\  _  34ffc  e  ffffi  o  fffft  v  ffffz    ffff    34ff  !  ffff)  +  UVUUUU.  Y  33    33    UVUUUU    33    33    UVUUUU    UVUUUU   UVUUUU    UVUUUU#  $  ff(  )  -  ;  ?  A  E  G  K  }                     '  +  U  Y          Y  ]  w  {                      p  t      7  ;  l  p            UVUUUU    UVUUUU     UVUUUU    UVUUUU   "  '  )  -  ;  ?  d  ffi  k  o  q  UVUUUU    UVUUUU    UVUUUU    UVUUUU   Z Fx$\Zstylsoup&88592 ] ]