Re: RISC OS Javascript support
Thankyou for all your feedback. As some of you discovered there was no user interface to enable javascript so you would need to add: enable_javascript:1 to your configuration manually. It seems that the RISC OS edition of spidermonkey is failing to even initialise as can be seen within the log as: javascript/jsapi.c js_initialise 39: New runtime handle 0x0 which effectively means the javascript support is disabled and will not be able to use any script code on this platform (many of your examples work fine on the Linux platforms being used for development). If time permits I may look into this further but as I have limited access to RISC OS systems myself and the platform maintainer is currently not active I cannot promise progress in the immediate future. Sorry this was not more useful at this time but I do feel progress is being made albeit slowly. -- Regards Vincent http://www.kyllikki.org/
Re: RISC OS Javascript support
On 14 Dec 2012 Vincent Sanders wrote: > Thankyou for all your feedback. [snip] > Sorry this was not more useful at this time but I do feel progress is > being made albeit slowly. At the very least it's a start, and a lot sooner than we had all expected. Many thanks for the work so far, and looking forward to progress when it's possible, and not before! With best wishes, Peter. -- Peter Young (zfc Ta) and family Prestbury, Cheltenham, Glos. GL52, England http://pnyoung.orpheusweb.co.uk pnyo...@ormail.co.uk
Re: RISC OS Javascript support
In article <20121214122314.gg15...@kyllikki.org>, Vincent Sanders wrote: > Thankyou for all your feedback. > As some of you discovered there was no user interface to enable > javascript so you would need to add: > enable_javascript:1 > to your configuration manually. Okay, that line added to top of Boot:Choices.WWW.NetSurf.Choices > It seems that the RISC OS edition of spidermonkey is failing to even > initialise as can be seen within the log as: > javascript/jsapi.c js_initialise 39: New runtime handle 0x0 That line is indeed present. [Snip] > Sorry this was not more useful at this time but I do feel progress is > being made albeit slowly. Better a little progress than none. :-) -- Tim Hill .. www.timil.com
Re: RISC OS Javascript support
In message <52fdf4eea8...@timil.com> Tim Hill wrote: > In article <20121214122314.gg15...@kyllikki.org>, Vincent Sanders > wrote: >> Thankyou for all your feedback. > >> As some of you discovered there was no user interface to enable >> javascript so you would need to add: > >> enable_javascript:1 > >> to your configuration manually. > > Okay, that line added to top of Boot:Choices.WWW.NetSurf.Choices > ? I found that adding that line (enable_javascript:1) to my Choices file /dis/abled javascript: commenting it out restored the status quo (i.e., partial operation of js). I'm running the #727 build. George -- george greenfield
Re: RISC OS Javascript support
Harriet Bazley wrote: > ... a file of what looks like JavaScript variables >({"model":{"values":[{"title":"UK 1","selected":false,"disabled":false, >etc.) with a source URL ending in "&_jsoff=1" You may know this already: this is a string in "JSON" format. It's used to "serialise" or "flatten" one or more simple or hierarchical / structured variables into one long string of characters which can be sent somewhere and then parsed to recreate that set of variables. It's a bit more complicated than just a series of name/value pairs. See: http://en.wikipedia.org/wiki/JSON and: http://www.json.org/ There's a useful utility at: http://amfview.org which lets you upload a file (or provide the URL of one), containing AMF3 or JSON or XML data, & then it will display the contained data in either plain text or as an expandable/ collapsable tree structure. (I found this website when trying to make sense of the data.dat files that are downloaded as part of BBC iPlayer file sets; they contain AMF3 which has a similar prpose to JSON but is quite a lot more complicated, containing binary flags describing data attributes and allowing elimination of duplicate substrings from what gets transmitted). AMF3 is an Adobe data format used by Flash applications.) -- Jeremy C B Nicoll - my opinions are my own.