4 ms·
Would this make it possible to have the whole page in <noscript> tags to make it crawlable by all bots and browsable in Links, Lynx, Dillo, w3m and offByOne?
by iso8859-1 12y ago
Would this make it possible to have the whole page in <noscript> tags to make it crawlable by all bots and browsable in Links, Lynx, Dillo, w3m and offByOne?
- Raphael 12y agoWouldn't that hide the page for JS clients? Or would the JS client remove the <noscript> tags?
- Sir_Cmpwn 12y ago<noscript> is only rendered if JavaScript is disabled.
- couchand 12y agoYes, that's a good idea. You'd just need to introduce a little wrapper around the client-side rehydrate to move the contents of the <noscript> tag out of the <noscript> before calling React.render. Then again, you don't really need <noscript> in that case. It's rendering server-side, so the page already displays correctly, you just need to make sure all your links work.
- aphexairlines 12y agoI've been burned by trying to read the contents of noscript nodes before. Some browsers don't support that at all.
- couchand 12y agoOh wow that's annoying.
- masklinn 12y agoWhy? The whole content is renderable server-side and all links should work. What purpose would <noscript> serve?