element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.14k stars 1.98k forks source link

Javascript fallback support #178

Open ara4n opened 9 years ago

ara4n commented 9 years ago

To quote from #vector: "a quick feedback: Registration went well (as you can see), I just had to figure out that I not only have to switch on js for vector.im but also for matrix.org. Both is not shown. The page is just plain blank without."

resynth1943 commented 3 years ago

What's the status on this?

Element technically has a <noscript>, but it's pretty bad:

image

How about we create a static page (blue gradient background) with more instructions? Then again, that would play havoc with translation; I've no idea how that would work.

jryans commented 3 years ago

Well, I'm not really sure what kind of fallback @ara4n had in mind in 2015... It does at least present a simple message now, but agreed it could be better styled.

resynth1943 commented 3 years ago

Hmm, yeah that's understandable. I'd vote for a static page which explains how to enable JavaScript (probably link to one of those "Enable JavaScript" sites), and that it needs to be enabled for Element to function. 😄

Not 100% sure how that would work without JavaScript, but it seems like a solid baseline.

jryans commented 3 years ago

We have various static pages for e.g. incompatible browsers, so perhaps we could leverage some of that.

t3chguy commented 3 years ago

Is this as simple as putting an iframe inside the noscript?

jryans commented 3 years ago

Hmm, perhaps that would work, worth a try at least. We'd probably want a separate static page to give a clear message instead of just "incompatible" since we know exactly what the issue is in this case.