Re: Controlling Javascript

2013-01-14 Thread Chris Newman
In article fb57ad0d53.harr...@blueyonder.co.uk,
   Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:
 On 14 Jan 2013 as I do recall,
   Chris Newman  wrote:

  Hi,
 
  Sojourning temporarily in Australia, I've not kept au fait with all the
  latest postings so could somebody please remind me how to enable/disable
  JavaScript.
 

 Iconbar menu: Choices-Content
 Disable JavaScript on/off.

Thanks, Harriet. Found that now.

 I'm assuming that the -jsoff versions don't have this extra option icon
 at all, since the -json versions seem to have the Disable option set by
 default.   (Probably wisest as it makes the application less stable.)

Er! I must be a luddite. I don't understand the term -jsoff. However, my
version had the option so I must have the non -jsoff version; whatever that
means.

 Otherwise I'm not aware of any other mechanism for discerning which of
 the versions you have (other than a much larger !RunImage on disc!)

-- 
Chris



Re: Controlling Javascript

2013-01-14 Thread ChrisF
In message 530de884c2cvj...@waitrose.com
  Chris Newman cvj...@waitrose.com wrote:

 In article fb57ad0d53.harr...@blueyonder.co.uk,
Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:
 On 14 Jan 2013 as I do recall,
   Chris Newman  wrote:

 Hi,

 Sojourning temporarily in Australia, I've not kept au fait with all the
 latest postings so could somebody please remind me how to enable/disable
 JavaScript.


 Iconbar menu: Choices-Content
 Disable JavaScript on/off.

 Thanks, Harriet. Found that now.

 I'm assuming that the -jsoff versions don't have this extra option icon
 at all, since the -json versions seem to have the Disable option set by
 default.   (Probably wisest as it makes the application less stable.)

 Er! I must be a luddite. I don't understand the term -jsoff. However, my
 version had the option so I must have the non -jsoff version; whatever that
 means.

 Otherwise I'm not aware of any other mechanism for discerning which of
 the versions you have (other than a much larger !RunImage on disc!)

 --
 Chris

Think she means javasoft on and javasoft off.
If a  version of netsurf is pre java soft, there isnt a json or jsoff 
option in the menu cos its not relevant.

-- 
BW Chris F. [Supporting British RISC OS computing.]
Skype: c.n.l.f Twitter: MrChrisGB Blogsite: mr-chris-gb.blogspot.com
..and so, Milords, I'm cutting the price of my Worsley coal by half. 
Duke Bridgewater.



Re: Controlling Javascript

2013-01-14 Thread Rob Kendrick
On Mon, Jan 14, 2013 at 12:44:37PM +, Chris Newman wrote:
 Er! I must be a luddite. I don't understand the term -jsoff. However, my
 version had the option so I must have the non -jsoff version; whatever that
 means.

There are two builds of each version; -json (JavaScript on) and -jsoff
(JavaScript off).  This does not reflect the default setting, it's imply
that the -jsoff builds do not include any JavaScript functionality at
all.

If you're running a release version (did you say what version you were
running, and where you got it from) then the whole of the above is moot:
we've not made a release with JavaScript support, only test versions.

B.



Re: Controlling Javascript

2013-01-14 Thread Chris Newman
In article 444ae90d53.c.n@virgin.net, ChrisF c.n@virgin.net wrote:
 In message 530de884c2cvj...@waitrose.com Chris Newman
   cvj...@waitrose.com wrote:

  In article fb57ad0d53.harr...@blueyonder.co.uk, Harriet Bazley
 li...@orange.wingsandbeaks.org.uk wrote:
  On 14 Jan 2013 as I do recall, Chris Newman  wrote:

  I'm assuming that the -jsoff versions don't have this extra option icon
  at all, since the -json versions seem to have the Disable option set by
  default.   (Probably wisest as it makes the application less stable.)

  Er! I must be a luddite. I don't understand the term -jsoff. However, my
  version had the option so I must have the non -jsoff version; whatever
  that means.

  Otherwise I'm not aware of any other mechanism for discerning which of
  the versions you have (other than a much larger !RunImage on disc!)

  -- Chris

 Think she means javasoft on and javasoft off. If a  version of netsurf is
 pre java soft, there isnt a json or jsoff option in the menu cos its not
 relevant.

Ah! Obvious now.Ta.

-- 
Chris



Re: Controlling Javascript

2013-01-14 Thread Chris Newman
In article 20130114130007.gd15...@pepperfish.net,
   Rob Kendrick r...@netsurf-browser.org wrote:
 On Mon, Jan 14, 2013 at 12:44:37PM +, Chris Newman wrote:
  Er! I must be a luddite. I don't understand the term -jsoff. However, my
  version had the option so I must have the non -jsoff version; whatever that
  means.

 There are two builds of each version; -json (JavaScript on) and -jsoff
 (JavaScript off).  This does not reflect the default setting, it's imply
 that the -jsoff builds do not include any JavaScript functionality at
 all.

 If you're running a release version (did you say what version you were
 running, and where you got it from) then the whole of the above is moot:
 we've not made a release with JavaScript support, only test versions.

I get the test versions using !Fetch_NS. I'm now up to 809.
JavaScript option now duly found.

Ta,

-- 
Chris



Re: On line passport application

2013-01-14 Thread Vincent Sanders
On Sun, Jan 13, 2013 at 11:32:14PM +, Tim Hill wrote:
 In article
 56966.82.153.33.53.1358117198.squir...@email.orpheusnet.co.uk, Gerald
 Dodson gerald.dod...@argonet.co.uk wrote:
   In message
   55612.82.153.33.53.1358077313.squir...@email.orpheusnet.co .uk
 Gerald Dodson gerald.dod...@argonet.co.uk wrote:
  
   Trouble with this on the UK gov site: goes to an error 404 screen.
   Has anyone had success with this?
  
   Hi Gerald
  
   Can you give the URL? I'll have a go.
  
   Chris.
  
 
 
  It is:
 
  https://passports.ips.gov.uk/epa1r1a/ctl04 On Suirrel it does not show
  distinction between lower case 'l' and number 1. The string epa is
  followed by number 1r1: the 'ct' by lower case 'l'.
 
 Perhaps you should use a better font. (What's Suirrel?)
 
 As usual, this seems to be a NetSurf+Javascript issue. On 'another
 platform' with a modern browser, the page linked to from
 passports.ips.gov.uk is
 https://passports.ips.gov.uk/epa1r1a/Rich/Formpage.aspx and not what
 Netsurf comes up with that you quote; it uses a javascript link. Even
 NetSurf's partial javascript is obviously not catered for.

Actually the *correct* analysis is:

https://passports.ips.gov.uk/ -302 redirect - 
https://passports.ips.gov.uk/epa1r1a/index.html

All the links use old style javascript: URI scheme links (instead on onclick) 
calling __doPostBack();

unfortunately because out User-Agent reply is truthful and not a pack
of lies. The site is not serving any of the javascript code to provide
the actual implementation for __doPostBack

which, unsurprisingly, results in bad page navigation. 

I will open the discussion with the other developers on our UA string
again...trouble is I agree with the principle of not lieing so this is
a difficult issue to think about.



 
 Whether you can get any further with NetSurf is not something I would
 bother to try. I long ago gave up using RISC OS for 'serious' surfing.
 Even a £28 Android tablet is more capable, unfortunately.

This is not a helpful statement, especialy not on the NetSurf users
mailing list, you are of course entitled to express your
opinion...elsewhere.

 
 -- 
 Tim Hill
 ..

-- 
Regards Vincent
http://www.kyllikki.org/



Re: On line passport application

2013-01-14 Thread Tim Hill
In article 20130114133944.gv15...@kyllikki.org, Vincent Sanders
vi...@netsurf-browser.org wrote:
 I will open the discussion with the other developers on our UA string
 again...trouble is I agree with the principle of not lieing so this is
 a difficult issue to think about.

If it helps, anyone using Android browsers may get used to the idea of
browsers' User Agent string lying in order for the page you want (i.e.
not the mobile one) to be served. Some (e.g Dolphin) even have quite a
few choices.

[Snip]

-- 
Tim Hill
..
www.timil.com




Re: Controlling Javascript -- button suggestion

2013-01-14 Thread Jim Nagel
Chris Newman  wrote on 14 Jan:
 I get the test versions using !Fetch_NS. I'm now up to 809.
 JavaScript option now duly found.

A wee handy-feature suggestion (if it's not a lot of programming 
effort):
A Javascript on/off button on the toolbar.

Basically a handy shortcut to the iconbar Choices  Content  Disable 
Javascript tickbox.  It would be good to have the on/off handier, 
because the user needs it on a per site basis rather than per 
application.  (In days of yore, Fresco had such a button, for that 
reason.)

The presence of such a button would also make it visually obvious to 
the user that a Javascript-enabled version of Netsurf is in use.  At 
present the existence of Javascript is seen only several layers down 
in Choices.

Using build 797 at the moment, on both RiscPC 4.39 and Iyonix 5.18.


-- 
Jim Nagelwww.archivemag.co.uk



Re: Controlling Javascript -- button suggestion

2013-01-14 Thread ChrisF
In message 2f9bf20d53@nails.abbeypress.net
  Jim Nagel nets...@abbeypress.co.uk wrote:

 Chris Newman  wrote on 14 Jan:
 I get the test versions using !Fetch_NS. I'm now up to 809.
 JavaScript option now duly found.

 A wee handy-feature suggestion (if it's not a lot of programming
 effort):
 A Javascript on/off button on the toolbar.

. like Webster has.

-- 
BW Chris F. [Supporting British RISC OS computing.]
Skype: c.n.l.f Twitter: MrChrisGB Blogsite: mr-chris-gb.blogspot.com




Re: Controlling Javascript -- button suggestion

2013-01-14 Thread Peter Young
On 14 Jan 2013  John Rickman Iyonix rick...@argonet.co.uk wrote:

 Jim Nagel  wrote

 Using build 797 at the moment, on both RiscPC 4.39 and Iyonix 5.18.

 did you mean #787?

Why? I'm currently on #809, downloaded this morning by the invaluable 
Fetch_NS.

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: Controlling Javascript -- button suggestion

2013-01-14 Thread Tim Hill
In article 89e6ff0d53.c.n@virgin.net, ChrisF c.n@virgin.net
wrote:
 In message 2f9bf20d53@nails.abbeypress.net Jim Nagel
   nets...@abbeypress.co.uk wrote:

  Chris Newman  wrote on 14 Jan:
  I get the test versions using !Fetch_NS. I'm now up to 809.
  JavaScript option now duly found.

  A wee handy-feature suggestion (if it's not a lot of programming
  effort): A Javascript on/off button on the toolbar.

 . like Webster has.

. or a shortcut keypress which could be added to Buttonbar.

-- 
Tim Hill
..
www.timil.com




Re: On line passport application

2013-01-14 Thread Gerald Dodson
 On Sun, 13 Jan 2013 23:32:14 + (GMT), Tim Hill wrote:

 As usual, this seems to be a NetSurf+Javascript issue. On 'another
 platform' with a modern browser, the page linked to from
 passports.ips.gov.uk is
 https://passports.ips.gov.uk/epa1r1a/Rich/Formpage.aspx and not what
 Netsurf comes up with that you quote; it uses a javascript link. Even
 NetSurf's partial javascript is obviously not catered for.

 The solution is actually to DISABLE JavaScript for it to work.
 When enabled it tries to go to
 javascript:__doPostBack(\'ctl04\',\'\'), whatever that is supposed
 to do is clearly not supported/working in NetSurf currently.

 With JS disabled, NetSurf goes to the following page:
 https://passports.ips.gov.uk/epa1r1a/NoScriptRich/Formpage.aspx
 Which should work perfectly, being a non-JS version of the site.

 Chris

Thanks for that. I must remember to try JS off in future. The Squirrel
queried by Tim Hill is what you get with Orpheus. I have just been too
lazy to set my Iyo up with Pluto yet. As far as I know there are no
options for fonts with Squirrel- certainly no options in its choices.

Gerald





Re: Controlling Javascript -- button suggestion

2013-01-14 Thread Tony Moore
On 14 Jan 2013, Tim Hill t...@timil.com wrote:
 In article 89e6ff0d53.c.n@virgin.net, ChrisF
 c.n@virgin.net wrote:
  In message 2f9bf20d53@nails.abbeypress.net Jim Nagel
nets...@abbeypress.co.uk wrote:

[snip]

   A wee handy-feature suggestion (if it's not a lot of programming
   effort): A Javascript on/off button on the toolbar.

  . like Webster has.

 . or a shortcut keypress which could be added to Buttonbar.

A menu option would be needed for ButtonBar, or Keystroke, to work.

Tony