Re: Page which doed not display properly
In article , Jim Nagel wrote: > (Meanwhile my Netsurf "welcome" page does include Tim's welcome > workaround from 2016nov, to indicate Javascript on/off status.) Mine doesn't. Boo, hoo. More details, please. -- Chris
Re: Page which doed not display properly
On Thu, 08 Mar 2018 17:31:51 + (GMT) "Richard Torrens (lists)" wrote: > 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. It's completely not true. If the website relies on JS to display its contents and that JS code doesn't work under NetSurf, removing it won't change anything. The only way to check whether it's a JS issue or not is to test the website with a more capable browser (like Firefox or Chrome) with JS disabled. The page is completely blank on Opera with JS disabled which proves that it *is* a JS issue.
Re: Page which doed not display properly
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
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
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
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
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
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
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
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
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
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!