filesafe/views/_partial/noscript-refresh.njk
Bobby Wibowo 12516032e1
Updated disabled JS warning
Moved <style> tag from <noscript> tag into <head> tag.

Auto-redirect visitors with JS disabled to either No-JS uploader or
No-JS version of album pages after 3 seconds.

Those changes can be found in a new NJK file at the location below:
views/_partial/noscript-refresh.njk

Made the warning a lot more concise.
2020-04-24 01:18:25 +07:00

11 lines
392 B
Plaintext

{#
To conform with standard, put <noscript> for <meta http-equiv> inside <head>.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
And may as well put <style> tag here, just in case.
#}
<noscript>
<style>body > section:not(#noscript) { display: none !important; }</style>
<!-- Redirect after 3 seconds -->
<meta http-equiv="refresh" content="3;url=nojs">
</noscript>