mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
12516032e1
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.
11 lines
392 B
Plaintext
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>
|