eclipse / openvsx

An open-source registry for VS Code extensions
https://open-vsx.org/
Eclipse Public License 2.0
1.25k stars 137 forks source link

Show fallback page if browser version is not supported #246

Open dubiouscript opened 3 years ago

dubiouscript commented 3 years ago

visiting https://open-vsx.org/ ( on firefox 57 ) i see the cookie dialogue

after that the page is blank

in dev console

SyntaxError: invalid regexp group bundle.js:2:390859

spoenemann commented 3 years ago

Why don't you update your Firefox?

We should display a fallback page with a helpful message in such a case.

dubiouscript commented 3 years ago

Why don't you update ..

xD well yes ideally *( not exactly practical while : booting some random old.distro iso and surfing ),

that said the things to update list is long ( potentially endless! )

see also : https://github.com/kelseyhightower/nocode ;}

--edit--

ffs* i just had to update , so i could edit this comment ^.^ on hub.webui

We should display a fallback page with a helpful message in such a case.

sounds reasonable , this appears surprisingly common issue with modern/current web build|process =S

Why dont open-vsx.org ( or whatever deps the site pullsin) support TEXTMODE browsers ;)

... usually disabling script , gets to some usable info(plaintext) / links !.. .><

spoenemann commented 3 years ago

If anyone would like to pick this up: The html documents for development and production are in different repositories.

Development (here): https://github.com/eclipse/openvsx/blob/master/webui/static/index.html

Production (https://open-vsx.org/): https://github.com/EclipseFdn/open-vsx.org/blob/master/website/static/index.html