So here is a Feature Request for Jeremy:
TW should display a warning or an error message when Javascript is off.
(It's probably just a matter of adding a <noscript>...</noscript>
message)
In addition of that warning, it is maybe possible to see the contents
of the tiddlers (not formatted of course). What do you think?
So here is a request:
Vegetarian restaurants should display a warning: "no steaks served".
(It's probably just a matter of adding a <nosteak>...</nosteak>
message)
In addition to the warning, it may be possible to see a steak (not to
eat it, of course). What do you think?
Well, it's a matter of expectations, isn't it? Disabling javascript is
more secure, but: no risk no fun?
Of course, with no javascript, it is the wiki notation that would
appear. So basically, it would show the same way that when you edit a
tiddler (except \n). So it is not-too-bad.
Here is a small addition to TW that makes it look not-too-bad when js
is disabled. it adds something before and after the </head> and <body>
tag:
...
<noscript>
<style type="text/css">
#contentWrapper { display: none;}
#storeArea { display: block; margin: 4em 17em 3em 17em;}
#storeArea div {
padding: 0.5em; 0.5em; 0.5em; 0.5em;
margin: 1em 0em 0em 0em;
border-color: #f0f0f0 #606060 #404040 #d0d0d0;
border-style: solid;
border-width: 2px;
height: 7em;
overflow: auto;
}
</style>
</noscript>
</head>
<body onload="main();" onunload="checkUnsavedChanges();">
<noscript>
<div style="width:100%; text-align:center; font-weight: bold;
background-color:#dd1100; color:#ffffff; padding:1em 0em 1em 0em;">
WARNING: JavaScript needs to be activated to display this page
properly.
</div>
</noscript>
...
note that I put the style inline for the warning. for some unknown
reason, it didn't display very well when it was defined in the
<noscript><style> part!