JavaScript status indicator - request for a snippet of code

2016-02-17 Thread John Williams
Can anyone who understands JS provide a snippet of JS code that I can insert in the footer of my local HTML index page to conditionally print, say, "JavaScript is enabled!" as a reminder of NetSurf's current JS status. If anyone wants to "go the whole hog" and reflect the two possible states, the

Re: JavaScript status indicator - request for a snippet of code

2016-02-17 Thread John Rickman Iyonix
John Williams wrote > Can anyone who understands JS provide a snippet of JS code that I can > insert in the footer of my local HTML index page to conditionally print, > say, "JavaScript is enabled!" as a reminder of NetSurf's current JS status. > If anyone wants to "go the whole hog" and reflec

Re: JavaScript status indicator - request for a snippet of code

2016-02-17 Thread John Williams
In article <60ac4d5355.iyoj...@rickman.argonet.co.uk>, John Rickman Iyonix wrote: > try this: > document.write("javascript is enabled"); Perfick, as HE Bates was prone to write! Thank you. John -- | John Williams | joh...@ukgateway.net Names for Soul Band:- Soul Supplier

Re: JavaScript status indicator - request for a snippet of code

2016-02-17 Thread Richard Porter
On 17 Feb 2016 John Rickman Iyonix wrote: >> I suspect that what I require is very simple/trivial and can be done in one >> line of JS. > try this: > document.write("javascript is enabled"); alternatively / additionally: JS Off -- Richard Porterhttp://www.minijem.

Re: JavaScript status indicator - request for a snippet of code

2016-02-17 Thread John Williams
In article , Richard Porter wrote: > > document.write("javascript is enabled"); > alternatively / additionally: > JS Off Excellent! I drop out of PHP and do them both, then drop back in: ?> document.write("JavaScript is enabled!
"); JavaScript is disabled