Skip to content

Instantly share code, notes, and snippets.

@mjarpitanand
Last active August 23, 2017 09:06
Show Gist options
  • Save mjarpitanand/3b535e490ccaf1cf3bd1299193d82ab1 to your computer and use it in GitHub Desktop.
Save mjarpitanand/3b535e490ccaf1cf3bd1299193d82ab1 to your computer and use it in GitHub Desktop.
<noscript>
<style type="text/css">
.pagecontainer {display:none;}
</style>
<div class="noscriptmsg">
<p>You don't have javascript enabled. Good luck with that.</p>
</div>
</noscript>
@mjarpitanand
Copy link
Author

It checks whether or not your js is working, if it is disabled hide all your page content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment