Re: Page which doed not display properly

2018-03-08 Thread Richard Torrens (lists)
In article ,
   Jim Nagel  wrote:
> Would be nice to add a colour for ...  to the HTML 
> mode in StrongEd so that JS would immediately jump out at you in a 
> page where "the html is terrible to decipher".

> I think somebody is working to update that mode but I can't remember 
> who.  Is it you, Tim?

Having got to grips with advanced Search and Replace, I have it in mind to
next get to grips with Modes. If so one thing I may well do is to update
the HTML mode.

But doing the script removal will highlight the scripts you are removing.
I have now written this up as an example:
http://stronged.torrens.org/man/search/examples/js.html

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: Page which doed not display properly

2018-03-08 Thread Richard Torrens (lists)
In article <56d5995dc6...@timil.com>,
   Tim Hill  wrote:
> With the luxury of a PC at my elbow, I tend to throw recalcitrant pages
> at it rather than try and decipher them. WYSIWYG page design tools, such
> as WordPress used to construct Richard's page

I woul point out that this Richard dos not use anything other than
StrongED!

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: Page which doed not display properly

2018-03-08 Thread Richard Torrens (lists)
In article <455569058123901cbf28cd87c0dab...@wingsandbeaks.org.uk>,
   Jeremy Nicoll - ml netsurf  wrote:
> > The page still does not display properly - so as I said, it is not a 
> > J/S
> > thing!

> That does not follow.  Maybe the code you removed was essential... and
> that WOULD make it a script issue.

If removing _all_ script from a page does not alter the way the page
displays, then the way it displays is nothing to do with the removed
script.

I would have thought that did not require explaining. Apologies for not
being clear enough.

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: Page which doed not display properly

2018-03-08 Thread Tim Hill
In article , Jim Nagel
 wrote:

[Snip]

> Would be nice to add a colour for ...  to the HTML
> mode in StrongEd so that JS would immediately jump out at you in a
> page where "the html is terrible to decipher".

A workaround - to make your own scripts stand out - is to put them in
HTML comments per ye olde stylee:





With the luxury of a PC at my elbow, I tend to throw recalcitrant pages
at it rather than try and decipher them. WYSIWYG page design tools, such
as WordPress used to construct Richard's page or online tools such as Wix
often produce a mass of unformatted garbage; even though this page could
be created with a half-dozen DIVs, the 'info panel' and 'menu' both
require either CSS, JS or both that NetSurf cannot render.

Such a page also fails google's mobile test. Quelle surprise.

> I think somebody is working to update that mode but I can't remember
> who.  Is it you, Tim?

Not me, no, sorry.

T

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk



Re: Page which doed not display properly

2018-03-08 Thread Jeremy Nicoll - ml netsurf

On 2018-03-08 12:58, Richard Torrens (lists) wrote:

In article <56d58e70b8...@timil.com>,
   Tim Hill  wrote:

In article <56d587af09li...@torrens.org>, Richard Torrens (lists)
 wrote:
> http://www.magheragenealogy.org/



> Most of of the page's text does not display in Netsurf.



> It is not a J/S thing. But the html is terrible to decipher!



It is. The >26  tags would beg to differ.


Languages other than Javascript can implement script sections...



I removed all "" bits with StrongED. - there are 
indeed

27!

The page still does not display properly - so as I said, it is not a 
J/S

thing!


That does not follow.  Maybe the code you removed was essential... and 
that

WOULD make it a script issue.


--
Jeremy Nicoll - my opinions are my own



Re: Page which doed not display properly

2018-03-08 Thread Tim Hill
In article <56d59185celi...@torrens.org>, Richard Torrens (lists)
 wrote:

[Snip]

> The page still does not display properly - so as I said, it is not a
> J/S thing!

If you say so.

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk



Re: Page which doed not display properly

2018-03-08 Thread Jim Nagel
Richard Torrens wrote:
>> It is not a J/S thing. But the html is terrible to decipher!

Tim Hill wrote on 8 Mar:
> It is. The >26  tags would beg to differ.

Would be nice to add a colour for ...  to the HTML 
mode in StrongEd so that JS would immediately jump out at you in a 
page where "the html is terrible to decipher".

I think somebody is working to update that mode but I can't remember 
who.  Is it you, Tim?

Indeed, it'd be nice if the Netsurf toolbar were to include a graphic 
that would light up to alert that a page contains Javascript.  I have 
often wished for a button that would switch Javascript on or off and 
indicate the status (just a shortcut for iconbar choices > Content).

(Meanwhile my Netsurf "welcome" page does include Tim's welcome 
workaround from 2016nov, to indicate Javascript on/off status.)

-- 
Jim Nagel www.archivemag.co.uk



Re: Page which doed not display properly

2018-03-08 Thread Richard Torrens (lists)
In article <56d58e70b8...@timil.com>,
   Tim Hill  wrote:
> In article <56d587af09li...@torrens.org>, Richard Torrens (lists)
>  wrote:
> > http://www.magheragenealogy.org/

> > Most of of the page's text does not display in Netsurf.

> > It is not a J/S thing. But the html is terrible to decipher!

> It is. The >26  tags would beg to differ.

> The best result from a page like that? 
> Menu > Page > Export > Text

I removed all "" bits with StrongED. - there are indeed
27!

The page still does not display properly - so as I said, it is not a J/S
thing!

And yes, there are various ways of readuing it!

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: Page which doed not display properly

2018-03-08 Thread Tim Hill
In article <56d587af09li...@torrens.org>, Richard Torrens (lists)
 wrote:
> http://www.magheragenealogy.org/

> Most of of the page's text does not display in Netsurf.

> It is not a J/S thing. But the html is terrible to decipher!

It is. The >26  tags would beg to differ.

The best result from a page like that? 
Menu > Page > Export > Text

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk



Page which doed not display properly

2018-03-08 Thread Richard Torrens (lists)
http://www.magheragenealogy.org/

Most of of the page's text does not display in Netsurf.

It is not a J/S thing. But the html is terrible to decipher!

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!